• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Dropdown Navbar help thread

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
Page 125  of  125
Old May-18-2013, 08:28 AM
#2481
FTLImages is offline FTLImages
Big grins
Allen,

Thanks as always for your assistance. That cleaned up most everything. There are three remaining points I would appreciate some help to address:

1. How can I change the right margin of the "menu" container so the links are closer to the right side of the page, similar to how the company name is flush with the left?

2. On mouse hover, my drop down background is becoming black, I would like it white..

3. How can you insert spacers (lines) between each drop down list item?

Thanks very much again.

A

Quote:
Originally Posted by Allen View Post
You are missing this at the bottom of the menu CSS. You can remove the 3rd and 4th levels but need this at the bottom.
Old May-18-2013, 12:31 PM
#2482
FTLImages is offline FTLImages
Big grins
addendum
Massaged the code a bit more. I solved #2 however raises a new question: How do I get the drop down links foreground to change to grey on mouse hover?

Also, I noticed there is not equal spacing between the main level menu links. The inner two are closer together than the outer two.

Thanks kindly.

Quote:
Originally Posted by FTLImages View Post
Allen,

Thanks as always for your assistance. That cleaned up most everything. There are three remaining points I would appreciate some help to address:

1. How can I change the right margin of the "menu" container so the links are closer to the right side of the page, similar to how the company name is flush with the left?

2. On mouse hover, my drop down background is becoming black, I would like it white..

3. How can you insert spacers (lines) between each drop down list item?

Thanks very much again.

A
Old May-18-2013, 07:26 PM
#2483
Allen is offline Allen OP
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by FTLImages View Post
Massaged the code a bit more. I solved #2 however raises a new question: How do I get the drop down links foreground to change to grey on mouse hover?

Also, I noticed there is not equal spacing between the main level menu links. The inner two are closer together than the outer two.

Thanks kindly.
Missing the red rules
Code:
...
      /* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
   color:black;
   background:white;
   height:20px; 
   line-height:20px; 
   width:250px;
}

.menu ul ul :hover > a.drop  {background:#ccc;}   /* 2nd if 3rd level exists */

      /* yet another hack for IE5.5 */
* html .menu ul ul a {width:120px; w\idth:120px;}

      /* 2nd level hover */
.menu ul ul a:hover, .menu ul ul :hover > a {
   color:black;
   background:#ccc;
}

  /* make the 2nd level visible when hover on 1st level */ 
.menu ul :hover ul {visibility:visible;}
Comment out the min-width
Code:
/* style the links for the top level */

.menu a, .menu a:visited {
   display:block;
   text-decoration:none;  /* none, overline, underline */
   color:white;
   background:none;
   font-size:14pt;
   font-variant: small-caps;
   font-family: 'Lucida Handwriting';
   width:auto;         /* Defines the main box dimensions. */
   height:20px;        /* How tall your cells are */
   line-height:20px;   /* vertical text alignment in cell */ 
   padding: 0 10px;    /* top/bottom R/L */
 /*  min-width: 60px; */   /* set to smallest text and use R/L padding above to space out */
}
Old May-18-2013, 08:40 PM
#2484
FTLImages is offline FTLImages
Big grins
Finishing touches
Allen,

Thanks again for your help.

A few finishing touches I could use some help with.

1. Lines (separators) dividing each link in the gallery drop down menu.

2. Where does the CSS for box-shadow get inserted to make a drop shadow?

3. I tried putting in the positioning for the container left: 75px which works great for Chrome. It moves the main level links all the way to the right side where they should be. However, on IE, it moves them so far they are off the screen. Is there an IF statement to be used if the browser detected is IE and therefore do not apply the left rule?


Thanks again very kindly!

Adam
www.ftlimages.com

Quote:
Originally Posted by Allen View Post
Missing the red rules
Comment out the min-width
Old May-19-2013, 05:29 AM
#2485
Allen is offline Allen OP
"tweak 'til it squeaks"
Allen's Avatar
Quote:
Originally Posted by FTLImages View Post
...
1. Lines (separators) dividing each link in the gallery drop down menu....
This red rule adds a top border to each.
Code:
...
  /* make the 2nd level visible when hover on 1st level */ 
.menu ul :hover ul {visibility:visible;}

.menu ul ul li {border-top: 1px solid #ccc;}
Page 125  of  125
Tell The World!  
Tags
customizatation , navbar
Similar Threads Thread Starter Forum Replies Last Post
DropDown NavBar Positioning and Color CerebrusX SmugMug Customization 6 Aug-08-2012 09:42 AM
Please Help About Dropdown Navbar wangyunpeng SmugMug Customization 2 Jul-09-2011 10:51 AM
single dropdown navbar? dogwood SmugMug Customization 33 Jun-21-2010 08:57 PM
Dropdown Navbar juan14888 SmugMug Customization 7 Apr-19-2010 05:34 PM
navbar dropdown code errors? amyparsons SmugMug Customization 20 Jan-09-2009 07:53 AM


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