Gomlers Posted September 16, 2016 Share Posted September 16, 2016 I would like to show small labels on top of some of the horizontal topmenu-items in my shop. Much like this: Anyone want to share some ideas on how I can do this? Link to comment Share on other sites More sharing options...
modprestashop Posted September 16, 2016 Share Posted September 16, 2016 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now