• Resolved elibrarian27

    (@elibrarian27)


    How do I keep the words “Home” from appearing on my Home page, and “About” from appearing on the About page? Any way to prevent what’s on the nav bar from appearing on the pages?

    Thank you,

    Emily

Viewing 9 replies - 1 through 9 (of 9 total)
  • can you post a link to your site?

    generally, you would add display:none; to the appropriate tag

    Thread Starter elibrarian27

    (@elibrarian27)

    Thanks Devora. The URL is http://emilynedelltuck.com/

    I discovered that with the other pages, like About, I can select a page template to remove the page titles, but I can ony choose this option if I go full width so the sidebar doesn’t show. I want to have the sidebar on my home page. Not sure I get rid of the word “Home” on the home page. It’s generated automatically by the program.

    Thread Starter elibrarian27

    (@elibrarian27)

    Devora (or anyone): Do you know what the page titles are in the CSS?

    I have not found a work around to getting my home page to not say in big black letters: HOME. The template copies the words in the Menu/nav bar and makes that appear at the top of the page. Anyone know of a solution? http://emilynedelltuck.com/
    Thanks!!

    Emily

    Hi Emily,

    Try paste this into the bottom of your style.css file:

    .entry-title, .page-title {
        display: none;
    }
    Thread Starter elibrarian27

    (@elibrarian27)

    Thank you, but it didn’t work; I got adventurous and tried both of these. Didn’t seem to make a difference at all.

    .entry-header, .page-header {
    text-align: center;
    display: none;

    }
    .entry-title, .page-title {
    font-size: 1.5em;
    margin: 0;
    display: none;

    Thread Starter elibrarian27

    (@elibrarian27)

    Oh, yes, and I also tried the first instruction, just pasting .entry-title, .page-title {
    display: none;
    }

    at the very bottom of the style sheet and saving.

    Thank you for your advice, very much appreciated, though. It would be helpful if the CSS were commented better. . .

    Yeah, placing it at the bottom of the document will override or compliment the initial style. CSS somewhat rarely tends to come commented as it is more focused on presentation rather than logic. I agree it is always helpful to have some comments though.

    I see you are learning to develop WordPress. That is cool. I recommend you check out Google Dev Tools to speed up design and aesthetic presentation.

    Thread Starter elibrarian27

    (@elibrarian27)

    You know what, when I logged in just now the HOME did indeed go away! I guess the page didn’t update immediately–when I made the changes and looked right after updating the CSS it looked like nothing had changed. Thank you so much for your help. Problem solved!

    Hey elibrarian27,

    No problem. Glad I was able to help. In future when you make changes to any css be sure to do a hard window refresh or empty the browsers cache.

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘prevent page titles (e.g. "Home") from appearing on pages’ is closed to new replies.