WordPress.org

Forums

Magazine Basic
[resolved] Removing header from static homepage (again) (13 posts)

  1. MartyYoung
    Member
    Posted 1 year ago #

    Sorry for asking this question again but I read the replies on this page: http://wordpress.org/support/topic/remove-entry-title-from-static-front-page-only?replies=5 and the answers went right over my head. I'm a bit of a dunce when it comes to this type of thing!

    I'd like to remove the Home title on my static homepage, but keep all other page titles. Could you please let me know how to do this? You might have to spell it out a bit for me...

    Oh, and I'm using Magazine Basic v2.7.9 (and yes, I know I need to upgrade).

    http://wordpress.org/extend/themes/magazine-basic/

  2. c.bavota
    Member
    Theme Author

    Posted 1 year ago #

    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; }

  3. marcmathews
    Member
    Posted 1 year ago #

    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

  4. MartyYoung
    Member
    Posted 1 year ago #

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

  5. WPyogi
    Forum Moderator
    Posted 1 year ago #

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

    .home #leftcontent h1 {
       display: none;
    }
  6. WPyogi
    Forum Moderator
    Posted 1 year ago #

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

  7. MartyYoung
    Member
    Posted 1 year ago #

    That worked! A huge thank you :)

  8. WPyogi
    Forum Moderator
    Posted 1 year ago #

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

  9. marcmathews
    Member
    Posted 1 year ago #

    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?

  10. WPyogi
    Forum Moderator
    Posted 1 year ago #

    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.

  11. marcmathews
    Member
    Posted 1 year ago #

    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?

  12. WPyogi
    Forum Moderator
    Posted 1 year ago #

    See if this works:

    #leftcontent h1:first-child {
       display: none;
    }
  13. marcmathews
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic