|
|
Thread Tools | Display Modes |
|
#1
|
|
|
LR3 Workshops
|
Navbar Banner Question
Hi Guys
I just uploaded a new banner. How I get it to center on the page and be the right size? TIA
__________________
Joe [FONT="]As You Think, So Shall You BE... Rumi, 13th Century Persian Poet Award-Winning Photography, Workshop Instructor, Storyteller, Writer [/FONT][FONT="]Blog: [/FONT][FONT="]Pathways of Light[/FONT] [FONT="] Workshops: Creating Fine Art Magic[/FONT][FONT="] Book: Paths of Light [/FONT] [FONT="]Workshops: 2011 Lightroom 3 Workshops [/FONT][FONT="]Galleries, Bisti Art [/FONT] |
|
|
|
|
#2
|
|
|
Scripting dude-volunteer
|
Change this part of your CSS to this (fix height and width to match your banner and fix the margin):
Code:
#my_banner {
width: 600px;
height: 161px;
margin: 5px auto;
background: url(http://www.smugmug.com/photos/738740781_AeKa3-M.jpg) no-repeat;
}
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
|
#3
|
||
|
LR3 Workshops
|
Thanks jfriend,
Quote:
Your help is appreciated! The image is 1138x306... Should I use those actual dimensions so the image flows above the Drop Downs?
__________________
Joe [FONT="]As You Think, So Shall You BE... Rumi, 13th Century Persian Poet Award-Winning Photography, Workshop Instructor, Storyteller, Writer [/FONT][FONT="]Blog: [/FONT][FONT="]Pathways of Light[/FONT] [FONT="] Workshops: Creating Fine Art Magic[/FONT][FONT="] Book: Paths of Light [/FONT] [FONT="]Workshops: 2011 Lightroom 3 Workshops [/FONT][FONT="]Galleries, Bisti Art [/FONT] |
|
|
|
||
|
#4
|
||
|
Scripting dude-volunteer
|
Quote:
If your dropdowns are having issues then you need to adjust their css.
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question Last edited by jfriend; Dec-12-2009 at 03:26 PM. |
|
|
|
||
|
#5
|
||
|
LR3 Workshops
|
Still Trying...
Quote:
But i have the correct size in the CSS style sheet. Unfortunately, I neither know how to: 1. get the banner the size it is on the Smugmug site nor 2. center the banner nor 3. remove the intervening blank black space between banner and drop downs Here is the current guess work code: #my_banner { width: 1138px; height: 306px; margin: 0px auto; margin-left:50px; margin-top:5px; background: url(http://www.smugmug.com/photos/738740781_AeKa3-M.jpg) no-repeat; } Look forward to your help...
__________________
Joe [FONT="]As You Think, So Shall You BE... Rumi, 13th Century Persian Poet Award-Winning Photography, Workshop Instructor, Storyteller, Writer [/FONT][FONT="]Blog: [/FONT][FONT="]Pathways of Light[/FONT] [FONT="] Workshops: Creating Fine Art Magic[/FONT][FONT="] Book: Paths of Light [/FONT] [FONT="]Workshops: 2011 Lightroom 3 Workshops [/FONT][FONT="]Galleries, Bisti Art [/FONT] |
|
|
|
||
|
#6
|
||
|
Scripting dude-volunteer
|
Quote:
See in your CSS where you have the link: http://www.smugmug.com/photos/738740781_AeKa3-M.jpg That is a link to the medium-sized image (see the -M at the end). That is NOT your original. That medium sized image that is showing in your page is 600 x 161. If you want that image to be centered properly, then change your CSS to these dimensions. I gave you the EXACT CSS to make your image centered in my post #2. Not much else I can do here if you don't want to make that change.
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
|
#7
|
||
|
LR3 Workshops
|
Resolution
Quote:
[FONT="]Sorry for the delayed response; a dear friend has been in the hospital for six weeks. In addition, I have not played with headers in several years. Consequently, I didn't find sufficient clarity in your first e-mail to lead me to today's conclusion.[/FONT] [FONT="]If I use midsize dimensions for the image, paste them exactly into my banners width and height, then I should have the header approximately centered with the right aspect ratio.[/FONT] [FONT="]That was the point I did not know.[/FONT] [FONT="]Its resolution provides me with an appropriate header![/FONT] [FONT="]I did know that I had an image of dimensions 1138x 306. Unfortunately, in searching for clarity, that image size pushed the banner to the upper left portion of the header space, giving it an unnatural look.[/FONT] [FONT="]By being patient, you finally could convey the necessary information to resolve the problem.[/FONT] [FONT="]Thank you...[/FONT]
__________________
Joe [FONT="]As You Think, So Shall You BE... Rumi, 13th Century Persian Poet Award-Winning Photography, Workshop Instructor, Storyteller, Writer [/FONT][FONT="]Blog: [/FONT][FONT="]Pathways of Light[/FONT] [FONT="] Workshops: Creating Fine Art Magic[/FONT][FONT="] Book: Paths of Light [/FONT] [FONT="]Workshops: 2011 Lightroom 3 Workshops [/FONT][FONT="]Galleries, Bisti Art [/FONT] |
|
|
|
||
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|