Support » Fixing WordPress » Background image above header

  • Resolved campersand


    I’ve searched and searched and haven’t been able to find a solution to this. I’m using Pagelines free theme and I can’t figure out how to get my background image to cover the margin above my header. My site:

    I want the space with the purple stripe to be background image. Thanks for any help! In case it helps, here’s all my custom css:

    p { font-size: 14.5px; }
    #menu-nav a:hover { background-color: #53618a !important; }
    .main_nav li a { background-color: #12122e; }
    .current_page_ancestor a, .children { background-color:#3d4a73 !important; }
    div.scolumn-pad { background-color: #2A2A3A; }
    h5 { font-style: italic; }
    .wpcf7-form p input, .wpcf7-form p textarea { background-color: #ffffff; }
    #page-canvas{width: 920px; background-color: #12122e; }
    body #page{margin-top: 50px !important;}
Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael


    Forum Moderator

    who added this line to the custom styles:

    body #page{margin-top: 50px !important;} ?

    try to use padding

    help with basic formatting is not within the scope of this WordPress forum – please use a tool such as Firefox’ add-on Firebug to investigate the involved styles.

    I added that.



    Forum Moderator

    I edited my reply (bad habit) – see above.

    Thanks alchymyth, padding worked, I can’t believe it was something that simple. I searched for hours last night and this morning and couldn’t find anything that helped so I figured posting a question was appropriate.

    I have Firebug and tried to use it to figure out what to do to no avail. I’m not a coder, I just know some basic html and css, so what’s basic to you isn’t so basic to me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Background image above header’ is closed to new replies.