WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Shift start of blog down (7 posts)

  1. Shabby D
    Member
    Posted 3 years ago #

    How do I shift the start of my blog (basically the header/menu) down by a certain amount, mainly in order to show the background image. An example of what I am looking to do can be seen here:

    http://darkchild.com/

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    By editing your theme's CSS.

  3. Shabby D
    Member
    Posted 3 years ago #

    I figured it would require some CSS editing, I'm new to coding so I was hoping someone could help me out with the code?

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    I'd suggest using Firefox and the Firebug add-on.

  5. Shabby D
    Member
    Posted 3 years ago #

    Ok I've tried analysing the page with Firebug, I've removed certain elements to see if they have an effect but it has all been to no avail. Can anyone provide any more help please?

  6. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    either try to add some top padding to the style of body:
    body { padding-top:500px; }
    or to restrict it to the front page:
    body.home { padding-top:500px; }

    or a top margin to the style of #page-wrap:
    #page-wrap{ margin-top:500px; }
    or to restrict it to the front page:
    .home #page-wrap{ margin-top:500px; }

  7. Shabby D
    Member
    Posted 3 years ago #

    Thank you very much, that helped fix my issue.

Topic Closed

This topic has been closed to new replies.

About this Topic