• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Need help adjusting banner and nav.

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 May-30-2012, 11:12 AM
#1
MelGattis is offline MelGattis OP
New Professional
MelGattis's Avatar
Need help adjusting banner and nav.
My apologies as I know this has been asked before but I did search for the info and was unable to find adequate info. I'd like to simply move my banner left and my navbar to the right but all on one line. Could someone please tell me what to add to css to do this. Thank you. www.melgattis.com

Mel
__________________
www.melgattis.com

Old May-30-2012, 03:34 PM
#2
Allen is online now Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by MelGattis View Post
My apologies as I know this has been asked before but I did search for the info and was unable to find adequate info. I'd like to simply move my banner left and my navbar to the right but all on one line. Could someone please tell me what to add to css to do this. Thank you. www.melgattis.com

Mel
Are you using SMUGSEARCH in your header? Like this?
<div>SMUGSEARCH</div>

While I'm looking into the code fix things like below.

You can not have text in your CSS without comment tags around it. Here's some I found, might be
more. Add the /* */ tags.

/* GUESTBOOK CODE */
/* PRICING CODE */
/* SITEWIDE (easiest!) */
/* ABOUT ME CODE */
/* SITEWIDE (easiest!) */
Old May-30-2012, 03:48 PM
#3
Allen is online now Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by MelGattis View Post
...move my banner left and my navbar to the right but all on one line...
In your header move the banner down to this location.
Code:
<div id="navcontainer">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/Other/About-me/18956464_Q5BF2h">About Me</a></li>
<li><a href="/galleries">Galleries</a></li>
<li><a href="/Private">Private Galleries</a></li>
<li><a href="/" onclick="return false;" class="customContactButton">Contact Me</a></li>
<li><a href="http://www.facebook.com/pages/Mel-Gattis-Photography/135199949882461">Facebook</a></li>
<li><a href="http://blog.melgattis.com">Blog</a></li>
</ul>
</div>

<div id="my_banner"><a href="http://www.melgattis.com"><img src="/img/spacer.gif" border="0" height="60" width="486"></a></div> 

<div style="clear: both;"></div>
...
...
Change/add the red in your CSS
Code:
#my_banner {
float:left;
width: 486px;
height: 60px;
margin: 0;
background: url(http://www.melgattis.com/photos/i-tJWfqvB/0/L/i-tJWfqvB-O.png) no-repeat;
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingmethod=image,src='http://www.melgattis.com/photos/i-tJWfqvB/0/L/i-tJWfqvB-O.png');
}

#navcontainer {
   float:right;
   margin-top: 33px;
   margin-right: 10px;
}


/* search box */
#mysearch {
position: relative;
top: -10px;
left: -50px;
text-align: right;
}
Old May-30-2012, 04:00 PM
#4
MelGattis is offline MelGattis OP
New Professional
MelGattis's Avatar
THANK YOU ALLEN. I'll start working on it RIGHT NOW!!!
__________________
www.melgattis.com

Old May-30-2012, 04:40 PM
#5
MelGattis is offline MelGattis OP
New Professional
MelGattis's Avatar
Quote:
Originally Posted by MelGattis View Post
THANK YOU ALLEN. I'll start working on it RIGHT NOW!!!
Hey Allen. I'm part of the way but I wanted my Nav Bar across the top of the page like it was, only right justified. I now have a list on the right instead of on the same line as the banner. What should I change? Thanks. Also, should I lose the search box or put it on the footer? I'm not feeling it on the top.
__________________
www.melgattis.com

Old May-30-2012, 04:46 PM
#6
Allen is online now Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by MelGattis View Post
Hey Allen. I'm part of the way but I wanted my Nav Bar across the top of the page like it was, only right justified. I now have a list on the right instead of on the same line as the banner. What should I change? Thanks. Also, should I lose the search box or put it on the footer? I'm not feeling it on the top.
Looks like you lost some of your nav CSS. Here's a start.
Code:
#navcontainer ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
}

#navcontainer ul li {
    display: inline;
}

#navcontainer ul li a {
    text-decoration: none;
    padding: .2em .5em;
    color: #fff;
    background: none;
}

#navcontainer ul li a:hover {
    color: #fff;
    background: none;
}
Old May-30-2012, 05:25 PM
#7
MelGattis is offline MelGattis OP
New Professional
MelGattis's Avatar
I was unsure about that text so I kept it on the clip board. LOL. Just inserted and got the bar back. Now I'd just like the nav bar text to be a smidge bigger and whiter but otherwise looks great and I'm pleased. I'm also wondering if I should leave that search box up top or move it to the footer?
__________________
www.melgattis.com

Old May-30-2012, 05:33 PM
#8
Allen is online now Allen
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by MelGattis View Post
I was unsure about that text so I kept it on the clip board. LOL. Just inserted and got the bar back. Now I'd just like the nav bar text to be a smidge bigger and whiter but otherwise looks great and I'm pleased. I'm also wondering if I should leave that search box up top or move it to the footer?
How's this? Change to the color and size you'd like.
Code:
#navcontainer ul li a {
    text-decoration: none;
    font-size: 12pt;
    padding: .2em .5em;
    color: #fff;
    background-color: none;
}
Search looks find where you got it. If you used SMUGSEARCH, it only works in the header so different
search box code would be needed.
Old May-30-2012, 05:52 PM
#9
MelGattis is offline MelGattis OP
New Professional
MelGattis's Avatar
It is smug search I'm using. But the code is different... <div id="mysearch">SMUGSEARCH</div>. Is the one you gave me... <div>SMUGSEARCH</div> better?
__________________
www.melgattis.com

Old May-30-2012, 06:09 PM
#10
MelGattis is offline MelGattis OP
New Professional
MelGattis's Avatar
Thanks for everything Allen. I'm well on my way.
__________________
www.melgattis.com

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