• within a couple of weeks i want to launch our website,
    just now im in the test periode, and found a little issue on the webpage.
    Does someone know if there is a way to hide the page title only on the homepage?

    link to my webpage

    the page title is just under the slider

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi,

    Add this css to your style.css .

    #page-id-1274 .page-title{
    display:none;
    }
    Thread Starter reclamespullen

    (@reclamespullen)

    Thanks CMSHelpLive but unfortunately that didnt solve the problem for me,
    i know i can leave the page title empty (then the page title doesnt show up)
    but i want to do it the clean way..

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    CMSHelpLive is fairly close; Try changing the # to . or using:

    .home .page-title {
        display: none;
    }
    Thread Starter reclamespullen

    (@reclamespullen)

    both of them didnt do the job

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You can talk to your theme’s vendors for the correct place to put CSS modifications.

    Thread Starter reclamespullen

    (@reclamespullen)

    why? can’t someone here figure it out with element inspect or something?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    They’ve already figured the correct CSS for you, the issue is implementing it in your theme.

    @reclamespullen
    There is a parse error at line 449 in your homepage markup. A color is not specified. A parse error causes subsequent css statements to be not read. If you had put the recommended css after the parse error point, that would explain why it had no effect.

    You can copy and paste your custom css into the direct input tab in this service:
    https://jigsaw.w3.org/css-validator/
    Tweak the css until it gets a clean bill of health.

    I can’t find the recommended css anywhere, so maybe you took it out when it didn’t work, or maybe its not showing up because of the parse error. If you don’t get it working, ensure its back in to allow the problem to be diagnosed.

    worked for me with twenty-fourteen, but changed .page-title to .entry-title, like this:

    .home .entry-title {display: none;}

    You can do it with plugin Hide Singular Title. Open page of your homepage and tick hide title.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘how can i hide page title in homepage only?’ is closed to new replies.