• Resolved rarerborealis

    (@rarerborealis)


    Hello all,

    I recently fixed my Kubrick header at https://www.yrfriendmatthew.com to be a neato rotating image banner using the ‘dynamic-headers’ plugin. It looks great, but I noticed the space usually between the top of the page and the banner is gone, and I can’t replace it!

    I’d deleted the header-img.php, and putting it back did nothing, nor did any of the following:

    Changing the margin size for #header in the stylesheet

    Changing the margin size for #header img in the stylesheet

    moving the code for the rotating header plugin around in the header php

    If anyone could suggest a reason or solution why this happened, I’d appreciate it.

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • doc4

    (@doc4)

    rarerborealis,

    You might try the following change to your style sheet – specifically the margin:

    #page {
      background-color: white;
      border: 1px solid #959596;
      margin: 20px auto 0;
      padding: 0;
      width: 760px;
      }
    Thread Starter rarerborealis

    (@rarerborealis)

    Unfortunately that didn’t change anything. I did notice if I turn off the dynamic header plugin it seems to screw up the whole page leaving this message and part of the header:

    Fatal error: Call to undefined function show_media_header() in /home/yrfriend/public_html/wp-content/themes/yrfriendmatthew/header.php on line

    I doubt if that has anything to do with anything. I was attempting to base the layout on this site’s layout, but they appear to use a form of javascript and I’m not sure how to implement it:

    https://mishkanyc.com/bloglin/

    I’m also now sure if working it in would help fix the problem. Any thoughts?

    doc4

    (@doc4)

    rarerborealis,

    Maybe I am misunderstanding then, can you explain the what you are looking to do again?

    Thread Starter rarerborealis

    (@rarerborealis)

    I was attempting to create a small space between the top of my header and the top of the page; currently the header hits the very top of the page with no space between it. I’d like a small space between the top of the page and the header, similar to that seen on https://mishkanyc.com/bloglin/. They also have a banner above their header, but I don’t want to implement that- just the space at the top of it that’s lacking in my page.

    I utilized their stylesheet for layout and changed colors, but I think I put in a different rotating header code, and that may be part of the problem, or not, I’m not sure.

    Thread Starter rarerborealis

    (@rarerborealis)

    On a whim I replaced the stylesheet with an older version- all of a sudden the problem is solved. The footer seems to have disappeared now…huh.

    Thread Starter rarerborealis

    (@rarerborealis)

    Awesome! I compared the ORIGINAL stylesheet with the header spacing done well, and the NEW stylesheet with the footer ok, and voila. Hooray! Thanks for your help!

    Thread Starter rarerborealis

    (@rarerborealis)

    rarerborealis,

    It’s always good to hear when someone solves the problem by themselves. Congrats you’re on your way to a btter understanding of both WordPress and CSS.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Kubric Header Spacing Issue’ is closed to new replies.