How to put images between menu items
I scoured the forums for an answer I could live with, but I didn't find one.
After over an hour of trial and error, I have figured it out and thought I would share my newly acquired abilities. Lord knows if i've got/had this problem someone else has too. The trick is to make it your background image on the links within the menu. Getting the positioning can be a little tedious, but that's just the way she goes. This is the CSS for my menu: HTML Code:
div#menu1 { http://www.montgomerytrees.org/wp-co...4.11.47-PM.png You have to make sure that both the active AND hover link states are included in the CSS with the background image otherwise said image will disappear on hover. I hope this helps someone! |
You could also use a WP custom menu, add some dummy entries (img1 img2 etc) and set the link to '#'. Then find the menu ID name for each and use something like this
HTML Code:
#menu-item-1329 a span, |
The menu item for the blog page does not behave the same way as the other page items. The pages behave correctly with respect to margin or padding. The menu item for the blog page does not respond to margin or padding and the background image overlaps the text. I have had the same result using border-right:, where the blog page does not respond.
|
All times are GMT -6. The time now is 12:56 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.