Forum Replies Created
-
AuthorPosts
-
Genesis Developer
Memberadd_action( 'genesis_entry_header', 'paulc_remove_title', 1 ); function paulc_remove_title() { if( ! is_front_page() ) return; remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 ); remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 ); remove_action( 'genesis_entry_header', 'genesis_do_post_title' ); }
Add this code into the functions.php file. Hope that it will help you.
Genesis Developer
MemberGenesis Developer
MemberThere have a filter genesis_register_widget_area_defaults . You can alter the default parameters. Write the custom code into your functions.php file as per your need.
Genesis Developer
MemberAdd this code into your functions.php file
add_filter( 'genesis_footer_creds_text', 'paulc_footer_creds_text' ); function paulc_footer_creds_text( $creds ) { return sprintf( '[footer_copyright before="%s"] · %s', __( 'Copyright', 'text-domain' ), __( 'All Rights Reserved', 'text-domain' ) ); }
Genesis Developer
MemberNext, find the Screen Options tab at the top right of the screen. Click to open the panel, and check the box labelled CSS Classes.
Credit: Source
Genesis Developer
MemberHere is the tutorial.
Genesis Developer
MemberYou will add this CSS
.site-header > .wrap { max-width: 100%; }
Genesis Developer
MemberThis CSS codes are added inside the @media queries
.genesis-nav-menu li { float: none; } .genesis-responsive-menu .wrap { padding: 0; } .genesis-responsive-menu { display: none; position: relative; } .site-header > .wrap > .genesis-responsive-menu { transition: none; } .genesis-skip-link .skip-link-hidden { display: none; visibility: hidden; } .menu-toggle, .sub-menu-toggle { border-width: 0; color: #000; display: block; font-family: Muli, sans-serif; margin: 0 auto; overflow: hidden; text-align: center; visibility: visible; width: auto; } .menu-toggle:focus, .menu-toggle:hover, .sub-menu-toggle:focus, .sub-menu-toggle:hover { background: transparent; border-width: 0; box-shadow: none; color: #06c; } .js .genesis-nav-menu > .menu-item .sub-menu > .menu-item:first-child, .js .genesis-nav-menu > .menu-item > .sub-menu > .menu-item:last-child, .js .genesis-nav-menu .sub-menu a, .js #genesis-mobile-nav-primary { background-color: #fff; color: #000; } #genesis-mobile-nav-primary.activated { border-bottom-color: transparent; } #genesis-mobile-nav-primary:focus, #genesis-mobile-nav-primary:hover { color: #06c; } .menu-toggle { float: right; font-size: 15px; font-weight: 400; line-height: 21px; padding-left: 0; padding-right: 0; position: relative; z-index: 1000; } .menu-toggle::before { font-size: 20px; margin-right: 5px; text-rendering: auto; vertical-align: bottom; } .sub-menu-toggle { background: transparent; float: right; font-size: 14px; padding: 10px; position: absolute; right: 0; top: 2px; z-index: 100; } .sub-menu-toggle::before { display: inline-block; text-rendering: auto; transform: rotate(0); transition: transform 0.25s ease-in-out; } .sub-menu-toggle.activated::before { transform: rotate(180deg); } .genesis-responsive-menu .genesis-nav-menu .menu-item { display: block; float: none; position: relative; text-align: left; } .genesis-responsive-menu .genesis-nav-menu .menu-item:focus, .genesis-responsive-menu .genesis-nav-menu .menu-item:hover { position: relative; } .genesis-responsive-menu .genesis-nav-menu a:focus, .genesis-responsive-menu .genesis-nav-menu a:hover, .genesis-responsive-menu .genesis-nav-menu .sub-menu .menu-item a:focus, .genesis-responsive-menu .genesis-nav-menu .sub-menu .menu-item a:hover, .genesis-responsive-menu.nav-primary .genesis-nav-menu .sub-menu .current-menu-item > a { color: #06c; } .genesis-responsive-menu .genesis-nav-menu .menu-item a, .genesis-responsive-menu .toggle-header-search { border: none; margin-bottom: 1px; padding: 15px 20px; width: 100%; } .genesis-responsive-menu.nav-primary .genesis-nav-menu .sub-menu a { color: #000; } .genesis-nav-menu > .menu-item .sub-menu > .menu-item:first-child { padding-top: 0; } .genesis-nav-menu > .menu-item .sub-menu > .menu-item:last-child { padding-bottom: 5px; } .genesis-responsive-menu .genesis-nav-menu .sub-menu::after, .genesis-responsive-menu .genesis-nav-menu .sub-menu::before, .genesis-responsive-menu .genesis-nav-menu > .menu-item-has-children > a::after { content: none; } .genesis-responsive-menu .genesis-nav-menu .menu-item > a:focus ul.sub-menu, .genesis-responsive-menu .genesis-nav-menu .menu-item > a:focus ul.sub-menu .sub-menu { left: 0; margin-left: 0; } .genesis-responsive-menu .genesis-nav-menu .sub-menu { clear: both; display: none; margin: 0; opacity: 1; padding-left: 15px; position: static; width: 100%; }
You will put them outside of the @media query.
Genesis Developer
MemberYou can write this code into the functions.php file
add_action( 'genesis_footer', 'paulc_site_footer', 1 ); function paulc_site_footer() { if( ! is_front_page() ) remove_action( 'genesis_footer', 'genesis_do_footer' ); }
Hope this helps
Genesis Developer
MemberMay be you will hire a professional web developer for debugging the issue. very tough to provide the correct answer about your issue.
July 22, 2019 at 11:10 pm in reply to: Breakthrough Pro: How to remove the hero title while keeping hero image #492493Genesis Developer
MemberReplace this line
if ( $title || is_active_sidebar( 'hero-section' ) ) {
with
if ( is_active_sidebar( 'hero-section' ) ) {
Next go to
1. Appearance->Widgets page
2. Drag&drop the text/or HTML widget at Hero section sidebar
3. Save the widget without any contentHope that it will work.
July 22, 2019 at 10:37 pm in reply to: Unable to display Manual Post Summaries on Category Archive Pages (Magazine Pro) #492492Genesis Developer
MemberThere have excerpt box below the WP Editor. You can add your manual content here for all posts.
Next you can add this PHP code into Magazine Pro theme's functions.php file
add_action( 'genesis_entry_content', 'paulc_do_post_excerpt', 1 ); function paulc_do_post_excerpt() { if( ! is_category() ) return; //* Removes the default post content action remove_action( 'genesis_entry_content', 'genesis_do_post_content' ); //* Disply the manual excerpt on category archive pages add_action( 'genesis_entry_content', 'paulc_do_cat_post_content' ); } function paulc_do_cat_post_content() { the_excerpt(); }
Genesis Developer
MemberI am pretty sure that it
.siteinner
is a wrong CSS classname. You can try this css.home .site-inner { background-color: #f5f5f5; background-image: url(images/bg.png); background-repeat: repeat-x; border-top: 1px solid #ececec; clear: both; }
Genesis Developer
Memberwhich child theme are you using? Can you share your current code? We shall look it.
Genesis Developer
MemberLooks like you already fixed the issue.
Genesis Developer
MemberWPE/ SiteGround/Kinsta
Genesis Developer
Membertry this CSS. You can put the CSS in Customizer -> Additional CSS text box.
.wp-custom-logo .site-title { display: inline-block!important; text-indent: 0!important; float: left; margin-top: 24px; margin-left: 20px; } .wp-custom-logo .title-area > a { float: left; width: auto!important; }
Genesis Developer
MemberYou can do this two ways:
1. Login to Dashboard. Click on Appearance -> Customize link and add the CSS into Additional CSS box.
2. Login to Dashboard and open the theme editor (Appearance -> Theme Editor). Edit the style.css file
Genesis Developer
MemberTry this CSS
.footer-widgets .footer-widgets-1 { margin-right: 0; width: 100%!important; }
Genesis Developer
Member<section> tag of genesis skip links is creating the issue. It is very strange thing for your site.
-
AuthorPosts