WordPress.org

Ready to get started?Download WordPress

Forums

Pinboard
[resolved] site-title moves on posts (8 posts)

  1. patricksunset
    Member
    Posted 1 year ago #

    I have modified the Pinboard theme, but I can't figure out why the site-title is moving up on post pages.
    Home: http://www.sunsethcs.com/blog/
    Post: http://www.sunsethcs.com/blog/under-construction/
    Thanks!

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Did you use a child theme?

  3. Andrew
    Forum Moderator
    Posted 1 year ago #

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

  4. patricksunset
    Member
    Posted 1 year ago #

    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.

  5. patricksunset
    Member
    Posted 1 year ago #

    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.

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    Clear your browser's cache.

  7. patricksunset
    Member
    Posted 1 year ago #

    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.

  8. patricksunset
    Member
    Posted 1 year ago #

    ... except to make it perfect, it's more like 68px, not 60px...

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.