WordPress.org

Ready to get started?Download WordPress

Forums

How do I suppress the page title from showing in 2011 theme (9 posts)

  1. jbancroftconnors
    Member
    Posted 2 years ago #

    http://itsfunfacepainting.com/

    Using a static home page.

    I don't want "Home" appearing under the header.

    I have tried the Plugins: Page List Plus and Remove Title Attributes. Neither worked.

    I read a blog that recommended removing text from the Pages PHP. There wasn't any of this text in my Pages file.

    My knowledge of PHP and CSS is currently very limited. Any advice given would be appreciated in tiny and easy to understand language.

    Thank you,
    Joel BC

  2. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    You can use the CSS to prevent that from displaying on the page -- add the display: none; code to the following CSS:

    .entry-title {
        clear: both;
        color: #222222;
        display: none;
        font-size: 26px;
        font-weight: bold;
        line-height: 1.5em;
        padding-bottom: 0.3em;
        padding-top: 15px;
    }
  3. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    The above is located in the style.css file on line 722. If you need more help with CSS see this

  4. jbancroftconnors
    Member
    Posted 2 years ago #

    Okay, so to make sure I am getting this right.

    1- Open the Style.css file.
    2- Go to line 722
    3- Insert "Display;none" into the listed CSS code.

    The end result would look like this?

    .entry-title {
    display: none;
    clear: both;
    color: #222222;
    display: none;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.5em;
    padding-bottom: 0.3em;
    padding-top: 15px;
    }

    Thank you

  5. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    Yes, although you have display: none; in there twice -- I'd already put it in the code I posted above. Just be sure you get the colons and semi-colons right -- or the whole thing gets screwed up :- ).

  6. jbancroftconnors
    Member
    Posted 2 years ago #

    Thank you much. Very clear instructions that allowed me to follow along despite my skills still being back in DOS days. :)

  7. Digital Raindrops
    Member
    Posted 2 years ago #

    Hi Joel,
    just a couple of pointers about changing styles in the default theme.

    I see you are using the twenty eleven default theme, when WordPress release an update it is likely the theme will also be updated, this will mean the folder gets deleted and over written.

    WordPress 3.4 is in beta stage, with a possible May release, and there will be a few theme changes you may want, if you update you have lost the changes.

    Creating Child Themes
    Changes you have done will be lost if you upgrade the theme, so to get around this WordPress has a feature called Child Themes, these allow us to make changes without editing the core files, we just create and upload one which is worth doing to protect our changes.

    The second is stylesheets are cascading so rather than editing existing styles, and forgetting just where we changed that style, a good practice is just to add our changes at the end of a stylesheet, easy to find if we need to revert back.

    In this instance in the child theme we would add in the child themes style.css:

    .entry-title {
       display: none;
    }

    HTH

    David

  8. jbancroftconnors
    Member
    Posted 2 years ago #

    Thanks for the reminder, David.

    I read about Child Themes and admit I didn't fully grasp the implementation of them. I've got the problem solved short term, which gives me a chance to learn more about PHP and CSS.

    First I've got to get the gallery going better.

    Thanks to all, great support.

  9. Infoprincess
    Member
    Posted 1 year ago #

    Your information was perfect.... thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic