• Hey everyone I’ve tried using firebug but cant figure it out…. I would like to know how to remove the page header on my homepage. The text that says “Home” right below the header image. here is the link to that page

    home page

    Then i would like to know how to remove all of the page navigation things on all the pages. It is the little house icon followed by the “>” symbol followed by the page name. Its in between the header image and the page title.. here is a link showing what i mean… for some reason it doesn’t show up on the home page…

    other page

    I am using a child theme by the way i just need to know what to delete or add in the code.

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi there,

    Congrats on getting your child theme setup. Here’s the code I think you’ll need.

    1. Removing the text that says ‘Home’ on the front page:

    #post-7 header h1 {
      display:  none;
    }

    2. Remove the breadcrumbs (little house with > followed by page name)

    .breadcrumb-trail.breadcrumbs.font-secondary {
      display:  none;
    }

    I hope that sorts it for you!

    – Luke

    Thread Starter Crosslinkgt

    (@crosslinkgt)

    Hey thanks for the reply..

    That didn’t fix it however… I just added that code to the bottom of the Style.CSS sheet… Is that right????

    Seeing as it works fine with firebug and chrome inspector my guess is that either its a specificity issue within the CSS or your child theme is not set up correctly.

    To check for specificity you could try this:

    #post-7 header h1 {
      display:  none !important;
    }
    
    .breadcrumb-trail.breadcrumbs.font-secondary {
      display:  none !important;
    }

    This could be due to the fact that you have multiple stylesheets in your child theme – style.css, one-five.css etc.

    When you make you child theme you should only store your changes in your new child theme styles.css file. The parent theme style sheet can be linked using the @import feature. Is this how you did it?

    I hope that helps.

    – Luke

    Thread Starter Crosslinkgt

    (@crosslinkgt)

    Basically what I did was I went into the directories on my host. I went to the themes folder. Made a new folder called stargazer child. Then I copied all the files from the original stargazer theme into the child folder. Then I went into the child folder and edited the style.css. all I did there was add the word child after stargazer in the title section at the top of the css. Then when I’m in WordPress in the child theme it says I’m editing the stargazer child css…

    Is that the wrong way th do it?

    You don’t need to copy all of your files and you don’t need to copy the contents of your style.css file.

    You just need to link up your child theme style.css to your parent theme’s style.css using the @import feature. Then you only need to add the changes to your child theme style.css.

    You can read more about it here, with full instructions – WordPress Codex – Child Themes

    Good luck! ??

    – Luke

    Thread Starter Crosslinkgt

    (@crosslinkgt)

    ok that worked… I read that codex before but i was mis-understanding it. I thought i had to copy all the files. But i did the child theme with the import thing and then added the code to the new style.css and it worked just fine…. Thank you again..

    HI, I also have this problem but I don’t really understand the previous advice. our home page says home on it and I want to remove it. can anyone please describe where to put the code? and what code to use? thanks! my site is https://cadencecompany.net
    I have other WP sites and this is the first time using stargazer.
    thanks!

    anonymized-14251348

    (@anonymized-14251348)

    My issue for Stargazer breadcrumb for remove in home

    Open functions.php

    if ( is_home() ) {
         remove_action( 'breadcrumb-trail', 'breadcrumb-trail', 20, 0);
    }

    My examples:
    https://www.martinpenicka.cz

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Theme: Stargazer] Remove page title and other things’ is closed to new replies.