Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

css help - I need to move header image down from top of the page

  • 27-09-2010 09:56PM
    #1
    Registered Users, Registered Users 2 Posts: 168 ✭✭


    Hello again :D

    I got some great help here last week with a css issue. http://www.boards.ie/vbulletin/showthread.php?t=2056040456 But now I'm back again in need of a little guidance.
    The website in question is : http://www.monorail.ie

    I need to push the header.png image down from the top of the page, so that I have a view of the background wood-panel at the top of my site. Once I have this figured out in the code I will then reconnect my header and wrapper images again, and generally clean up this area.

    I have pasted code from my template.css file and I'm pretty sure the change/extra code must be added to the header section. Can anyone help me with this please?


    /*****************************************/
    /*** Template specific layout elements ***/
    /*****************************************/
    #page_bg {
    padding: 0;
    background: url(../images/bodybg.jpg) top left repeat;
    /* background: url(../images/monorail_image.jpg) top left repeat; */
    /* this image is now the wood panel background */
    }

    div.center {
    text-align: center;
    margin: 0 auto;
    padding: 0;
    width: 954px;
    }

    div#wrapper {
    margin: 0 auto;
    width: 954px;
    text-align: left;
    /* background: url(../images/content.jpg) top center repeat-y; */
    background: url(../images/monorail_image.png) top center repeat-y;
    /* this imiage is the original monorail black and white photo */
    }

    #header {
    height: 300px;
    /* this is the distant between the top of the screen and the black/white image */
    /* background: url(../images/header.jpg) top center no-repeat; */
    margin: 0 auto;
    width: 954px;
    text-align: left;
    background: url(../images/header1.png) top center no-repeat;
    /* this my new header image that was stripped from the top of our main picture */
    }

    #content {
    height:1100px;
    /* this height figure is to keep the full monorail poster without the wrapper resizing itself */
    width: 900px;
    margin: 0 auto;
    padding: 0 42px 14px 14px;
    overflow: hidden;
    }


Comments

  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    Setting margin-top of #header should do the trick for you


  • Registered Users, Registered Users 2 Posts: 168 ✭✭the_god_swan


    Liam Byrne wrote: »
    Setting margin-top of #header should do the trick for you

    Success ;) Cheers lad.


Advertisement