Jump to content

Make HOT | POPULAR | SALE etc. labels on top menu items


Recommended Posts

If you are using default blocktopmenu module then you can't do anything from admin except adding some links. But yes, there is always a way to do things, that is what i like about programming.

First thing you can do it is add static HTML code in blocktopmenu.tpl which is hard because it will be a loop so you can't judge or decide what to add and where to add. But still you can do that is you do some head-hitting.

 

Next and good option is do it by jQuery. Yes make HTML code and append it to menu item via jQuery on document ready event and write desired CSS styles for your HTML. This is easy option if you have default blocktopmenu.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...