Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

How to change icon in top2 module position?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: How to change icon in top2 module position?

How to change icon in top2 module position? 10 years ago #21921

Hi.

I want change icon in top2 menu.
I change 3 icon - show notification position, Share button and RSS Button. I cant change search and login button.

Where is? How change of this?


Attachment zrzutekranu38.JPEG not found




Thanks!
Last Edit: 10 years ago by Przemyslaw Pastucha.

Re: How to change icon in top2 module position? 10 years ago #21931

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • Karma: 20
Dear Przemyslaw Pastucha,

We used icon Font Awesome for seach and and login buttons.
You can remove these icons and replace by your images.
Please open file \templates\sj_vinda\html\mod_finder\default.php find this code:

	$button = '<button class="button finder" type="submit"><i class="icon-search icon-white"></i></button>';



- Open file /html/mod_login/default.php find this code:

<a class="login-switch" data-toggle="modal" href="#myLogin" title="<?php JText::_('Login');?>">
               <i class="icon-user"></i>
            </a>


Thanks & regards!
The following user(s) said Thank You: Przemyslaw Pastucha

Re: How to change icon in top2 module position? 10 years ago #21943

Change code :

$button = '<button class="button finder" type="submit"><i class="icon-search icon-white"></i></button>';


to:

$button = '<img style="display: absolute; margin-right: 1px;" src="/new/templates/sj_vinda/images/menu_image/search_icon.png" alt="Search" height="32" width="32">';


And i have empty space. Icon file in folder exist. Where i have error?


EDIT:



Ok, i have icon. But this change position when i point in mouse kursor.

Code, who works:
$button = '<button class="button finder" type="submit"><img style="display: relative;" src="/new/templates/sj_vinda/images/menu_image/search_icon.png" alt="Search" height="32" width="32"></button>';


Please see:


Attachment zrzutekranu40.JPEG not found



And if mouse cursor over icon:

Attachment zrzutekranu41.JPEG not found

Last Edit: 10 years ago by Przemyslaw Pastucha.
  • Page:
  • 1
Time to create page: 0.21 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes