• Hi,

    I am trying to remove the title from the static front page of my site elevatedeyes.org.

    I have currently hidden the title – As you can see there is no title. But it is still there in the flow, there is a gap for it. IS there anyway of customizing the CSS to remove it. I have tried a few different options but nothing seems to be working.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello haddron,

    => Put below css code into Additional CSS textarea (Dashboard >> Apperance >> Customize) then click on Save & Publish button.
    => If there is no Additional CSS option then put below css code into your current theme’s style.css file located at wp-content/themes/your_current_theme/ folder.


    body.home .post-header h1.post-title {
    display: none;
    }

    Hope this will helps you.

    Thread Starter haddron

    (@haddron)

    Hi Saurabh.dhariwai,

    I copied that code into the additional css section, it hides the title but there is still a space where the title should be, this therefore pushes the other elements of the page further down. Do you know how I can remove that space and move the other elements up.

    Thanks for your reply.
    Andy

    Hello haddron,

    Try below css.


    body.home .post-content {
    margin-top: -124px;
    }
    @media only screen and (max-width: 768px) {
    body.home .post-content {
    margin-top: -50px;
    }
    }

    Hope this will helps you.

    sabuk013

    (@sabuk013)

    Thanks for this code below.
    It works on static front page, yes!
    But is there any other code to remove the page title on each page?
    Hope for help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing TITLE from Static Front Page’ is closed to new replies.