Community Forums › Forums › Archived Forums › Design Tips and Tricks › Image above sub-nav
- This topic has 7 replies, 2 voices, and was last updated 13 years, 3 months ago by
Brad Dalton.
-
AuthorPosts
-
April 24, 2013 at 2:01 pm #37455
katymartin
MemberI'm using the Going Green theme and would like to insert a small (33px tall) image BETWEEN the secondary menu nav and the drop-down sub-nav box.
The effect I'm trying to replicate is the torn paper image as seen here: http://www.lauracandler.com/blog/ (notice the torn paper with blue pushpin image above the drop-down)
The dev site I'm looking to add this feature to is: http://netstorepro.com/partners/
http://netstorepro.com/partners/
Any help is appreciated.April 25, 2013 at 12:36 am #37540Brad Dalton
ParticipantI don't understand the location. Can you please take a screenshot and point an arrow to it.
April 25, 2013 at 5:09 am #37595katymartin
MemberHi Brad... sure thing. Thanks for taking a look.
Here's an example of the effect I'm trying to replicate: http://netstorepro.com/partners/wp-content/uploads/2013/04/Example.jpg
* Notice the torn paper image with blue pushpin above the drop-down sub-menu.
Here's a screen shot of my site with an arrow to where I'd like to see my image inserted: http://netstorepro.com/partners/wp-content/uploads/2013/04/Example_How.jpg
April 25, 2013 at 7:24 am #37627Brad Dalton
ParticipantNot sure how to do that to be honest. I do know how to display an image below the nav menu but not in the dropdown unless you use a menu like Mega Menu http://wordpress.org/extend/plugins/jquery-mega-menu/
April 25, 2013 at 1:32 pm #37709katymartin
MemberThe plugin looks cool but doesn't seem to do what I need. I'm wondering if the "drop-down" section (ie. sub-nav) has a css class of it's own? Perhaps I can give it a background image?
April 25, 2013 at 11:23 pm #37783Brad Dalton
ParticipantYeah. All menu items have an i.d and you can also add a class to them as well.
Go to Screen Options > Show advanced menu properties > CSS Classes and add a custom class there
April 28, 2013 at 6:54 pm #38322katymartin
MemberThanks Brad... your notes above jogged my memory on that one. It inspired me to look further at how I could use the CSS classes of the menu to add an image.
For future reference, here's what I did to achieve the look I was after. A bit of a hack, especially if the client moves the menu order around, but it works for now:
.boardmembers:before, .communitybased:before, .seniorpartner:before, .newsletters:before, .events:before {
display: block;
content: "";
width: 220px;
height: 36px;
background: transparent url("http://netstorepro.com/partners/wp-content/uploads/2013/04/nav_tear_top-220.png") no-repeat;
}April 28, 2013 at 11:43 pm #38348Brad Dalton
Participant -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.