Jump to content

Editing Top Horizontal Menu


Recommended Posts

HI

 

I am trying to edit my the top horizontal menu bar for my website, more specifically i am trying to add an image to each heading in the sub-menu,

 

When testing it on Inspect Element in Firefox it works like a charm.

 

However by doing some research to try and find what files need to be edited in order to change it permanently

 

I am pointed towards editing the "BLOCKTOPMENU" .tpl file however in looking in this file i cannot seem to find the code when I was in the Inspect Element in Firefox.

 

Is it a different file????

 

I am currently using the default bootstrap theme. Any help will be greatly appreciated

Link to comment
Share on other sites

contents of block top menu are generated in php file

so in this case it's necessary to alter module .php file

there is no other way to achieve what you expect.

 

you can do some css tricks to add some ::before or ::after images (to <li> elements)

but cases like that needs an inspection of website. it's because it is hard to write universal solution.

Link to comment
Share on other sites

contents of block top menu are generated in php file

so in this case it's necessary to alter module .php file

there is no other way to achieve what you expect.

 

you can do some css tricks to add some ::before or ::after images (to <li> elements)

but cases like that needs an inspection of website. it's because it is hard to write universal solution.

Hi under the web/module/blocktopmenu/blocktopmenu.php file what section would i have to look under

Link to comment
Share on other sites

hello,

i have a issue with top horizontal menu. i can´t see any more product categories in menu. I can add them, but it´s not showing up on page. it was fine, but due to something i can see only 2 headlines not related to product categories.

Any good idea?

 

shop: www.pearlstory.eu

Seems it´s able to add only CMS headlines. NOt product categories.

Link to comment
Share on other sites

×
×
  • Create New...