Hi Guys
I'm looking for some advice on how i could add a small horizontal image to the right hand side of the Top Menu.
Here is an example of what i would like to do.
Any help is much appreciated.
Thanks
Hudbarnett
Edit catalog/view/your theme/template/common/header.php
Depends what theme you have but, assuming it's default, around line 66 you should have
before the </ul> put
Depends what theme you have but, assuming it's default, around line 66 you should have
Code: Select all
<li><a href="<?php echo $checkout; ?>" title="<?php echo $text_checkout; ?>"><i class="fa fa-share"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $text_checkout; ?></span></a></li>
</ul>
Code: Select all
<li><img src"whatever.jpg"></li>
Hi
I tried adding the image in but it pushed it into the top of the page and not into the menu bar.
I tried adding it else where within the div tags but it didn't work.
Thanks
I tried adding the image in but it pushed it into the top of the page and not into the menu bar.
I tried adding it else where within the div tags but it didn't work.
Thanks
I thought you wanted it in the top menu? If you want it in the main menu then look for
and before </ul> add
Code: Select all
<?php } else { ?>
<li><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a></li>
<?php } ?>
<?php } ?>
</ul>
Code: Select all
<li><img src"whatever.jpg"></li>
Thanks for your help. I managed to get the image in the menu but when i create a hyperlink it adds padding around the image. Here is an image showing you.
Do you know how i can remove the padding?
Thanks
Hudbarnett
Do you know how i can remove the padding?
Thanks
Hudbarnett
Who is online
Users browsing this forum: No registered users and 243 guests