WordPress.org

Support

Support » Themes and Templates » Magazine Basic » [Resolved] Removing header from static homepage (again)

[Resolved] Removing header from static homepage (again)

Viewing 12 replies - 1 through 12 (of 12 total)
  • Theme Author c.bavota

    @tinkerpriest

    Do you have a static page set for your home page? You can always use CSS to hide the title only on the home page. Try this:

    .home .page-title { display: none; }

    On the latest release it would be this:

    .home #primary .entry-title { display: none; }

    Hello,
    I just spent a few hours trying to remove the page title from the page body, having gone through countless forum posts and websites. I would like to remove all titles from all pages.
    I managed to remove the title with

    #content .entry-title {
       display: none;

    on another site that I built with 2010 theme, nothing seems to work for my Magazine Basic though. Can you help?

    The site is http://lawofattractionforbrits.com (the law of attraction does not appear to apply to WP :))
    Thanks very much in advance!
    Marc

    I’ve tried all of the above and still cannot remove the title on my home page…

    WPyogi

    @wpyogi

    Forum Moderator

    @marcmathews – try this in your child theme CSS file:

    .home #leftcontent h1 {
       display: none;
    }
    WPyogi

    @wpyogi

    Forum Moderator

    @martyyoung – if the above does not work for you, can you post a link to your site?

    That worked! A huge thank you 🙂

    WPyogi

    @wpyogi

    Forum Moderator

    Glad to hear that :)! You’re welcome too!

    It worked for me too! Thanks so much. Just one more question – what do I need to change if I want to do this for all pages, not just the home page?

    WPyogi

    @wpyogi

    Forum Moderator

    what do I need to change if I want to do this for all pages, not just the home page?

    Just removed the .home from that CSS bit.

    Hi, thanks for that. The code seems to hide all <h1> headers though, which I believe are important in terms of SEO. Any remedy for that?

    WPyogi

    @wpyogi

    Forum Moderator

    See if this works:

    #leftcontent h1:first-child {
       display: none;
    }

    brilliant – that works a treat! Thanks ever so much WPyogi!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Resolved] Removing header from static homepage (again)’ is closed to new replies.
Skip to toolbar