Search in social widget

Best WordPress theme for game news websites, game portals or whatever your preferred subject.
GK User
Mon Nov 24, 2014 8:46 am
I am using the search widget/function in the social widget on my homepage, but i am looking for some changes:

1) Want to have the search box on the right of the widget (now its in the middle of header)
2) Before the search box there stands the text ''search''. I want this gone. People see already they can search.
3) On the input field there stands the text ''Search'' i want to change that to the text ''Vul hier het zwembad in...''
4) The button colour i want to change and also the text on it.
User avatar
Fresh Boarder

GK User
Mon Nov 24, 2014 9:07 am
Hello,

Add the following code fragments into the theme’s css/override.css file (make sure to enable the “Use the override.css file” option in Template options > Advanced in the WordPress backend)

1. Add this code:
Code: Select all
#gk-topbar #searchform {
   float: right;
}


2.
Code: Select all
#gk-topbar #searchform > label {
   display: none;
}


3. Please change it in GameNews/searchform.php file or in the theme language file
4.
Code: Select all
#gk-topbar #searchform #searchsubmit {
   background-color: #aaa;
   color: #333
}

#gk-topbar #searchform #searchsubmit:hover {
   background-color: #333;
   color: #fff;
}
User avatar
Moderator

GK User
Mon Nov 24, 2014 11:33 am
Nice! Works ;)
User avatar
Fresh Boarder


cron