• Resolved dontknowmuch

    (@dontknowmuch)


    Hi guys,

    Can anyone tell me how i can hide de title in the static page? Now the text is over the headerimage. I suppose i have to add “display: none;” to the code? Can anyone tell me where exactly i can find the title in the code? thnx a lot guys!

Viewing 7 replies - 1 through 7 (of 7 total)
  • If you are using Chrome, right click on the text you want to hide and ‘Inspect element’. New box will open up on the side with the id and class of the text you want to hide. For ex. #title-text.

    You then open up your css file in cpanel via the code editor option and write this:

    #title-text {
    display: none;
    }

    That should hide it.

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Best way is to use a plugin like Hide Title or one of the others like WP Hide Title. This adds a setting to the editor page when you have it open…usually the setting box is near the Featured Image box. IT lets you hide titles on pages and posts individually….however, you can also do the display none method via CSS as mentioned.

    If you need to hide it only for a specific page, you will need to look at the source code for the page and get the body’s page ID or class and then do something like this example:

    .page-id-22 .entry-title {
    display: none;
    }

    But if you plan to do this for more than one page, then the plugin method might be the better solution.

    Thread Starter dontknowmuch

    (@dontknowmuch)

    thnx a lot guys, that are comments i can work with! Could you maybe tell me if i change the code what will happen with an update of wp? thnx in advance!

    Theme Author Shaped Pixels

    (@shaped-pixels)

    If you modify anything directly with any theme file, then when an update for the theme comes along, you will lose the changes made. For modifying CSS or creating new CSS, it’s best to do that from a plugin like Simple Custom CSS which keeps it separate from the theme (therefore allowing for theme updates).

    If you modify other theme files, it’s best to use a child theme so that if there are updates to the theme, you won’t lose the modifications.

    Regarding WordPress updates, you should be fine.

    Thread Starter dontknowmuch

    (@dontknowmuch)

    thnx again! I think i’m going for the child theme as i will be fine regardless of what i modify

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Good choice… the child theme method gives you more options if later you decide to modify other things in the theme. The sooner you create and activate a child theme before you do all your theme option settings, the better. When you activate a child theme, WordPress sees it as a new theme, so you would have to redo your option settings again.

    Did you have any further questions relating to the hide title topic or is it safe to set this one as “resolved”?

    Thread Starter dontknowmuch

    (@dontknowmuch)

    Resolved, for sure! Thnx a lot guys, i’m gonna start with the child theme before building.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘hide title’ is closed to new replies.