Options

Banner doesn't show

akushnirakushnir Registered Users Posts: 30 Big grins
edited June 1, 2007 in SmugMug Support
I believe I did everything correctly. Checked spelling and punctuation in the code. Put code in CSS section and header section. But no banner appears. ??
Thanks for any help.
alan
akushnir.smugmug.com

Comments

  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited June 1, 2007
    akushnir wrote:
    I believe I did everything correctly. Checked spelling and punctuation in the code. Put code in CSS section and header section. But no banner appears. ??
    Thanks for any help.
    alan
    akushnir.smugmug.com
    Remove the s at the start

    s#my_banner {
    width: 750px;
    height: 150px;
    margin: 0 auto;
    background: url(http://akushnir.smugmug.com/photos/158484874-O.jpg) no-repeat;
    }

    If you want your banner centered change the size to the actual image
    as below.

    #my_banner {
    width: 600px;
    height: 120px;
    margin: 0 auto;
    background: url(http://akushnir.smugmug.com/photos/158484874-O.jpg) no-repeat;
    }
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    akushnirakushnir Registered Users Posts: 30 Big grins
    edited June 1, 2007
    Thanks for the quick reply and where the heck the 's' came from I don't know.
    My banner properties say it is 750px x 150px not the dimensions you indicated : 600x120. Why do we measure the jpg differently?
    Allen wrote:
    Remove the s at the start

    s#my_banner {
    width: 750px;
    height: 150px;
    margin: 0 auto;
    background: url(http://akushnir.smugmug.com/photos/158484874-O.jpg) no-repeat;
    }

    If you want your banner centered change the size to the actual image
    as below.

    #my_banner {
    width: 600px;
    height: 120px;
    margin: 0 auto;
    background: url(http://akushnir.smugmug.com/photos/158484874-O.jpg) no-repeat;
    }
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited June 1, 2007
    akushnir wrote:
    Thanks for the quick reply and where the heck the 's' came from I don't know.
    My banner properties say it is 750px x 150px not the dimensions you indicated : 600x120. Why do we measure the jpg differently?
    I got it straight from your page info.

    Click this link then right click photo and pick properters. It show the 600x120
    http://akushnir.smugmug.com/photos/158484874-O.jpg
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    akushnirakushnir Registered Users Posts: 30 Big grins
    edited June 1, 2007
    The original file that I dragged and dropped into the uploader is 750x150, so the one on the site has been reduced by 0.8. Why this would happen is something that experts might understand. Thanks for your help.
    Alan
    Allen wrote:
    I got it straight from your page info.

    Click this link then right click photo and pick properters. It show the 600x120
    http://akushnir.smugmug.com/photos/158484874-O.jpg
Sign In or Register to comment.