Jump to content

Insert image in header top menu


Recommended Posts

Hi,

If they're meant to be in the top level bar, then you can edit blocktopmenu.tpl.

 

COpy it in your theme folder/modules/blocktopmenu, then open it and right after {$menu} add a new <li> with your image as content. You can refer to the url in many ways, and if it is in the images folder of your theme, you can user {$img_dir}/imagename.jpg

  • Like 1
Link to comment
Share on other sites

You don't have to further add the css, if you don't want to edit it directly, you can copy the superfish-modified.css file you find in the module's css folder into the theme's css overrides (follow the standards for naming the folders). Then simply edit the css for the class you have applied to the image.

 

OR

 

simply add inline css to the image element

Link to comment
Share on other sites

  • 2 years later...

Hi,

If they're meant to be in the top level bar, then you can edit blocktopmenu.tpl.

 

COpy it in your theme folder/modules/blocktopmenu, then open it and right after {$menu} add a new <li> with your image as content. You can refer to the url in many ways, and if it is in the images folder of your theme, you can user {$img_dir}/imagename.jpg

Is there a way to add image in the drop down ?post-1034618-0-58837100-1439728579_thumb.png

Link to comment
Share on other sites

  • 2 weeks later...
  • 7 months later...
×
×
  • Create New...