• I was able to hide the name of the page title on my site (using TwentyEleven Theme) but I want to only hide the name of the homepage, not my events page.

    https://vintageconsignor.com/

    I used this code to hide the title.
    #site-title {display: none;}

    How can I hide individual page name titles?

    Is there anyway to also move the content up once the title is hidden?

    Thank you……

Viewing 9 replies - 1 through 9 (of 9 total)
  • Try using Firefox with the Firebug add-on for this kind of CSS work.
    https://getfirebug.com/

    Thread Starter edaddy

    (@edaddy)

    I have firebug. All I’m trying to do is hide the title on my homepage, not events.

    How does firebug assist me in doing that?

    It will help you to isolate the classes and/or ids that you can use to specifically hide the title on your home page. Other than that, it is beyond the scope of these forums to deal with basic CSS issues. Try a dedicated CSS resource such as https://www.css-discuss.org/ instead.

    I don’t think the author is looking for CSS help. He is looking for a way to hide the page title in WordPress on specific pages. I am looking to do the same thing. What is the best way to handle that?

    Thanks,
    Steve

    Using CSS. ??

    exactly what esmi said, use firebug to find the proper class, then do what he did to hide the site-title. https://zeaks.org/how-to-firebug/

    If what you want to hide are the titles of WordPress pages, you can try something like to wrap around the part where the title of the post/page is displayed in the template. You can also use is_home() instead if that is what you need.

    <?php if (!is_front_page()): ?>
      ...existing code to display title in the template...
    <?php endif; ?>

    So CSS illiterate folks just starting, is there a way to do this?

    I know zero about CSS right now. I just want “HOME” to no longer show on the static front page. Like eDaddy I am using the 2011 theme.

    Please post your own topic.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘TwentyEleven – Hide Page Title on specific pages’ is closed to new replies.