Navigation Menu
Support Area › Forums › Progress › Navigation Menu
Tagged: Menu, Navigation
- This topic has 8 replies, 3 voices, and was last updated 11 years, 9 months ago by Bill Robbins.
-
AuthorPosts
-
May 20, 2012 at 22:40 #6070Philippine SevenParticipant
Hi Bill,
Is it possible to add background boxes in the navigation menu (Progress Theme)? Just like in the media theme? Thanks.
May 21, 2012 at 14:34 #6076Bill RobbinsModeratorIt is possible to do that. You can paste this into the box for Custom CSS:
.primary a { padding: 4px 5px 2px; } .primary nav a:hover, .primary .current-menu-item a, .primary .current-post-parent a, .primary .current_page_ancestor a { color: #ccc; background-color: #000; }
That will add a bit of padding to each menu item and set the background color to black and the text to silver. You can change the colors to fit your needs.
If you have trouble let me know.
Have a great week,
BillMay 21, 2012 at 19:51 #6082Philippine SevenParticipantHi Bill,
It’s working fine. Thanks.
I’d just like to ask if the menu boxes could have circular corners? Like in your page?
May 21, 2012 at 20:07 #6083Philippine SevenParticipantHi Bill,
I’m really sorry for asking too much. Kindly disregard my previous question. Here’s what I’m thinking. Is it possible to have a navigation menu (for the Progress Theme) similar to that of the Agency Theme? In which there is a transparent background box for the entire menu and sub-menu. I’m really sorry. Thanks.
May 22, 2012 at 13:50 #6091Bill RobbinsModeratorYou’ll need to test this in Internet Explorer 8 to make sure the semi-transparent background works properly, but here’s the code you could use to achieve something similar to the Agency Theme:
header.primary nav { background-color: rgba(0,0,0,0.3); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00000030,endColorstr=#009000030); zoom: 1; padding: 3px 10px 3px 0; } header.primary nav a, header.primary nav a:visited { padding: 3px 7px 5px 8px; color: #fff; } .primary nav a:hover, .primary .current-menu-item a, .primary .current-post-parent a, .primary .current_page_ancestor a { color: #fff; background-color: #000; -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; } .primary nav li li a, .primary nav li li a:hover, .primary nav li li a:visited { color: #fff; } .primary nav li ul { background-color: rgba(0,0,0,0.3); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00000030,endColorstr=#009000030); zoom: 1; padding-right: 15px; }
May 29, 2012 at 04:47 #6175Philippine SevenParticipantHI Bill,
Thanks for this. Hmm, I also would like to ask how to make the corners of the boxes of the widgets and slide show circular, similar to that of the menu boxes? Thanks.
May 29, 2012 at 09:13 #6176Bill RobbinsModeratorGreat question. You can do this to make the corners of the widgets round:
.widget {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
}The slideshow however is a bit tricky. Firefox won’t round the slideshow images, but Chrome and Safari can. Here’s how to use that for them:
#slideshow {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
}I hope that helps out,
BillJuly 16, 2012 at 05:35 #6771Jerome StoelParticipantHi Bill,
I have two questions about the navigation menu1. Is it possible, and how to set the width of roll-down menu, so I can get longer names on one line?
2. Can you add sub-sub-menu’s to the navigation menu? I couldn’t find the option to set itThanks!
JeromeJuly 16, 2012 at 09:52 #6777Bill RobbinsModeratorJerome,
Great questions. You can change the width of the drop-down menu items. Here’s how:
- Go to the theme options page and select the styling tab.
- At the top of the page select “yes” to include custom styling.
- Scroll down to the very bottom until you see a box labeled “Custom CSS.”
- Paste this into that box:
.primary nav li ul { width: 180px; } .primary nav ul.menu li li:hover ul, .primary nav ul.menu li li.sfHover ul { width: 180px; left: 180px; top: -20px; } .primary nav ul.menu li li li:hover ul, .primary nav ul.menu li li li.sfHover ul { left: 180px; top: 0; }
- Upadte your settings.
See if that doesn’t make the drop-down menu wider. If you need more space, you can change the 180 each spot above to a larger number and that will increase the width more.
Add sub-sub-menu items.
Basically these work just like the first level drop downs work. Just drag the item you’d like to make a drop down to the right and WordPress will indent it for you which will make it a sub-sub menu.Here’s a quick screenshot of what that can look like:
There is a quick screencast in our video section that walks trough the menu section in case you have any trouble with that.
If you have any questions or trouble, let me know.
Thanks,
Bill -
AuthorPosts
- The topic ‘Navigation Menu’ is closed to new replies.