How to change CSS of Search module in the top

GK User
Thu Jun 25, 2015 9:32 am
Hi!
How can I change the look and position of search module in the top of the page of Storefront to a basic search input field like my attached image.
I´m glad if you could help.

Regards
User avatar
Senior Boarder

GK User
Thu Jun 25, 2015 2:12 pm
Hi,
officially we cannot help in customizations but I can give you two tips:

1) Search icon , use this code of course with your own image and url inside, this will override demo search icon
.gk-icon-search::before {
content: url(new-search-icon.png) !important;
}

if we talk about padding inside search input field, use
.box .search .inputbox, .box .search #mod-search-searchword {
padding: 4px 10px !important;
}
User avatar
Platinum Boarder

GK User
Thu Jun 25, 2015 2:31 pm
But the main part of appearance request some hard-code:
1) You have to create a new module position before "cart" : templates/gk_storefront/layouts/default.php
2) Publish there any search module you need
3) Create for them new styles and using css fix appearance of other elements on this same row
User avatar
Platinum Boarder

GK User
Fri Jun 26, 2015 1:56 pm
Thanks!
Ok I will try this.

Regards
User avatar
Senior Boarder


cron