How to anchor "Superhero"s' sliding header?

  • Author
    Posts
  • #2032104

    modlinesmsv
    Member

    Hello.
    I am trying to anchor the sliding header in the “Superhero” theme. I want it to stay at the top of the blog, not follow the viewer everywhere they go. I could use some help.

    I’ve tried the suggestion listed at https://en.forums.wordpress.com/topic/keep-header-at-top-while-scrolling?replies=10, which did not work for me. The suggestion was

    .container {
    position: relative;
    }

    #header {
    position: fixed;
    }

    .main, #sidebar {
    margin-top: 190px;
    }

    Does the “Superhero” theme use different code for its’ header? Why isn’t the code above working for the “Superhero” theme?

    Thanks in advance for taking the time to read my request. I appreciate it.

    The blog I need help with is blog.monkeysuitvintage.com.

    #2032197

    modlinesmsv
    Member

    This is a duplicate thread – could it be deleted, please?

The topic ‘How to anchor "Superhero"s' sliding header?’ is closed to new replies.