• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Navbar Banner Question

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Dec-12-2009, 12:00 PM
#1
BistiArt is offline BistiArt OP
LR3 Workshops
BistiArt's Avatar
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=&quot]As You Think, So Shall You BE... Rumi, 13th Century Persian Poet

Award-Winning Photography, Workshop Instructor, Storyteller, Writer

[/FONT][FONT=&quot]Blog: [/FONT][FONT=&quot]Pathways of Light[/FONT]
[FONT=&quot] Workshops: Creating Fine Art Magic[/FONT][FONT=&quot]
Book: Paths of Light [/FONT]
[FONT=&quot]Workshops: 2011 Lightroom 3 Workshops
[/FONT][FONT=&quot]Galleries, Bisti Art
[/FONT]
Old Dec-12-2009, 12:10 PM
#2
jfriend is offline jfriend
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
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Dec-12-2009, 01:46 PM
#3
BistiArt is offline BistiArt OP
LR3 Workshops
BistiArt's Avatar
Thanks jfriend,
Quote:
Originally Posted by jfriend
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;
}


Your help is appreciated!

The image is 1138x306...

Should I use those actual dimensions so the image flows above the Drop Downs?
__________________
Joe

[FONT=&quot]As You Think, So Shall You BE... Rumi, 13th Century Persian Poet

Award-Winning Photography, Workshop Instructor, Storyteller, Writer

[/FONT][FONT=&quot]Blog: [/FONT][FONT=&quot]Pathways of Light[/FONT]
[FONT=&quot] Workshops: Creating Fine Art Magic[/FONT][FONT=&quot]
Book: Paths of Light [/FONT]
[FONT=&quot]Workshops: 2011 Lightroom 3 Workshops
[/FONT][FONT=&quot]Galleries, Bisti Art
[/FONT]
Old Dec-12-2009, 02:17 PM
#4
jfriend is offline jfriend
Scripting dude-volunteer
Quote:
Originally Posted by BistiArt
Your help is appreciated!

The image is 1138x306...

Should I use those actual dimensions so the image flows above the Drop Downs?
The size you linked to is the size I put in, not the size you mention. Your css must match the actual linked image size.

If your dropdowns are having issues then you need to adjust their css.
__________________
--John
HomepagePopular
JFriend's javascript customizationsSecrets 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.
Old Dec-14-2009, 08:41 AM
#5
BistiArt is offline BistiArt OP
LR3 Workshops
BistiArt's Avatar
Still Trying...
Quote:
Originally Posted by jfriend
The size you linked to is the size I put in, not the size you mention. Your css must match the actual linked image size.

If your dropdowns are having issues then you need to adjust their css.
Thanks jfriend,

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=&quot]As You Think, So Shall You BE... Rumi, 13th Century Persian Poet

Award-Winning Photography, Workshop Instructor, Storyteller, Writer

[/FONT][FONT=&quot]Blog: [/FONT][FONT=&quot]Pathways of Light[/FONT]
[FONT=&quot] Workshops: Creating Fine Art Magic[/FONT][FONT=&quot]
Book: Paths of Light [/FONT]
[FONT=&quot]Workshops: 2011 Lightroom 3 Workshops
[/FONT][FONT=&quot]Galleries, Bisti Art
[/FONT]
Old Dec-14-2009, 01:35 PM
#6
jfriend is offline jfriend
Scripting dude-volunteer
Quote:
Originally Posted by BistiArt
Thanks jfriend,

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...
I am apparently not making myself clear.

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
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Dec-17-2009, 04:14 AM
#7
BistiArt is offline BistiArt OP
LR3 Workshops
BistiArt's Avatar
Resolution
Quote:
Originally Posted by jfriend

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
[FONT=&quot]jfriend,[/FONT]

[FONT=&quot]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=&quot]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=&quot]That was the point I did not know.[/FONT]
[FONT=&quot]Its resolution provides me with an appropriate header![/FONT]

[FONT=&quot]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=&quot]By being patient, you finally could convey the necessary information to resolve the problem.[/FONT]
[FONT=&quot]Thank you...[/FONT]
__________________
Joe

[FONT=&quot]As You Think, So Shall You BE... Rumi, 13th Century Persian Poet

Award-Winning Photography, Workshop Instructor, Storyteller, Writer

[/FONT][FONT=&quot]Blog: [/FONT][FONT=&quot]Pathways of Light[/FONT]
[FONT=&quot] Workshops: Creating Fine Art Magic[/FONT][FONT=&quot]
Book: Paths of Light [/FONT]
[FONT=&quot]Workshops: 2011 Lightroom 3 Workshops
[/FONT][FONT=&quot]Galleries, Bisti Art
[/FONT]
Tell The World!  

Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump