• Resolved tthach2

    (@tthach2)


    WordPress: Version 4.2
    Customizr: Version 3.3.20
    Site: giantfox.com

    Goals:
    1. Site Title: hide
    Page Titles: hide
    Post Tiles: display

    2. Search engine search results should display in the format:
    Site Title | Tagline for main site landing page
    Page Title | Tagline for all pages
    Post Title | Tagline for all posts

    ISSUE
    I can’t hide the site/page titles under my logo. I do want to display the Tagline in the upper right corner of all pages.

    What I have tried in child theme’s style.css from searching other posts to see any type of change at all, not seeing any changes:

    1. .page .entry-title.format-icon {
    display: none;
    }

    2. .page-id-12 .entry-title.format-icon {
    display: none;}

    3. .page .site-title {
    display: none;
    }

    3. .page .entry-title {
    display: none;
    }

    4. .page .entry-header {
    display: none;
    }

    5. .blog .site-title {
    display: none;
    }

    6. Cleared cache & disabled cache plugins
    7. I made some other changes to .carousel-caption to make sure my child themes changes are being picked up successfully and everything looks ok
    8. Add css changes to: WordPress Dashboard > Appearance > Customize > Advanced Options > Custom CSS

    Setup Performed

    1. A child theme has been setup.
    2. Site Title & Tagline have been setup at:
    Wordpress Dashboard > Appearance > Customize > Global Settings > Site Title & Tagline
    3. Logo has been setup at:
    Wordpress Dashboard > Appearance > Customize > Global Settings > Logo & Favicon

Viewing 4 replies - 1 through 4 (of 4 total)
  • Site title is different from the “page title”, there’s a little of confusion here, could you share a link to a page of your site explaining what exactly you want to hide?

    Thread Starter tthach2

    (@tthach2)

    Thanks for the response d4z_c0nf. Site: https://giantfox.com

    I’m trying to remove text “Giant Fox” under my logo on all pages.

    I think is something you have in your child-theme, maybe in your child-theme functions.php?
    Normally if you have a logo the title isn’t printed.
    Anyway if you cannot find the “culprit” code then hide it with css:

    header .brand .site-title {
        display: none;
    }

    or

    header .brand h1 {
        display: none;
    }

    Thread Starter tthach2

    (@tthach2)

    Thank you. d4z_c0nf you are the man! You were absolutely right. I had forgotten that I added this code for some testing of displaying both the logo and title in the header. I removed the code and it works now.

    add_action( ‘__after_logo’ , ‘display_my_site_title’);
    function display_my_site_title() {
    //first checks if there is a logo uploaded
    $logo_src = esc_url ( tc__f( ‘__get_option’ , ‘tc_logo_upload’) ) ;
    if ( empty($logo_src) )
    return;

    //then print the site title after
    printf(‘<h1>%4$s</h1>’,
    esc_url( home_url( ‘/’ ) ),
    esc_attr( get_bloginfo( ‘name’) ),
    esc_attr( get_bloginfo( ‘description’ ) ),
    esc_attr( get_bloginfo( ‘name’) )
    );
    }

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Customizr: hide title on all pages not working’ is closed to new replies.