WordPress.org

Support

Support » Themes and Templates » [Resolved] site-title moves on posts

[Resolved] site-title moves on posts

Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi
    Forum Moderator

    @esmi

    Did you use a child theme?

    Andrew Nevins
    Forum moderator

    @anevins

    It’s not a <h1> element on the Post page, unlike the Home page.

    patricksunset
    Member

    @patricksunset

    Thanks, but the only CSS I can find for this is the site-title class. That’s how I styled it on the home page. I don’t understand what CSS is styling it on posts.

    patricksunset
    Member

    @patricksunset

    I meant ID, not class. Anyway, if I go:

    #site-title h1 {
    padding-top:0;
    }

    for the post site-title, it does not change:

    #site-title {
    padding-top:65px;
    }

    for the site-title on the home page. I must be missing something.

    Andrew Nevins
    Forum moderator

    @anevins

    Clear your browser’s cache.

    patricksunset
    Member

    @patricksunset

    I always clear my cache, but thanks.
    I figured it out, the problem was I had to write the CSS THIS way:

    h1#site-title {
    padding-top:20px;
    }

    NOT the way in my previous post. Duhhh.

    And then I have this for the site-title div:

    #site-title {
    padding-top:60px;
    }

    Thanks! Your H1 / non-H1 tip helped me figure it out.

    patricksunset
    Member

    @patricksunset

    … except to make it perfect, it’s more like 68px, not 60px…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] site-title moves on posts’ is closed to new replies.