Forums

[resolved] Kubric Header Spacing Issue (9 posts)

  1. rarerborealis
    Member
    Posted 2 years ago #

    Hello all,

    I recently fixed my Kubrick header at http://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!

  2. doc4
    Member
    Posted 2 years ago #

    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;
      }
  3. rarerborealis
    Member
    Posted 2 years ago #

    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:

    http://mishkanyc.com/bloglin/

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

  4. doc4
    Member
    Posted 2 years ago #

    rarerborealis,

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

  5. rarerborealis
    Member
    Posted 2 years ago #

    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 http://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.

  6. rarerborealis
    Member
    Posted 2 years ago #

    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.

  7. rarerborealis
    Member
    Posted 2 years ago #

    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!

  8. rarerborealis
    Member
    Posted 2 years ago #


  9. doc4
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic