Reputation: 13323
In my WordPress menu I want different images for different menus with text as well. Here is the image reference. I want my menu should be like this.I am using WordPress 3.4.2. Any help and suggestions are highly appreciable.
Update
The screen options image
Upvotes: 0
Views: 270
Reputation: 808
Here are two ways on how you could add custom classes to your menu items, so that you could style them with CSS.
When on the Appearance > Menus
page in Wordpress admin panel, click on Screen
Options
at the top-right of the page. A slide-out menu appears and
allows you to check an option labeled CSS Classes
. If you enable
this option, you will be able to add a custom class to each menu
item, the same way as you add its title.
You can customize the Walker
class to add an incremental class name
to each (top-level) element. To see how the Walker class works,
please take a look at the following article:
http://wp.tutsplus.com/tutorials/creative-coding/understanding-the-walker-class/
Upvotes: 3
Reputation: 2348
<li>
itemUpvotes: 0