You have bookmarked items
Jump To:
Viewing Topic "Centre the Search box"

3 Item(s)     Sort:  Newest Oldest

per page
 
  Post
Posted By: David Oldham
Total Posts: 17
Joined Date: Oct 16, 2015

Hi, I have installed the system along with the J-Directory template, I have added the search box to the header but at the moment it appears slightly off to the left, if I add another search criteria such as "regions" it appears more centered but the search button appears underneath the options, I am looking to centre the search box so it is always centered no matter how many search criteria I add, of you look at https://assessor,.directory you will see what I mean, any help greatly appreciated

Posted : Mar 9, 2017
Posted By: George Bara
Total Posts: 1240
Joined Date: Jun 17, 2013

Hi,

 

Please add the following code on template css

#site-map-search #searchform {
    margin: 0 auto;
    max-width: 100%;
    width: 780px;
}
Posted : Mar 12, 2017
Posted By: Andy Greig
Total Posts: 8
Joined Date: Feb 22, 2017

This was annoying me on my site too, but the fix works perfectly. Thank you Laughing

Posted : Mar 18, 2017

3 Item(s)     Sort:  Newest Oldest

per page
 

Viewing Topic "Centre the Search box"



      You have bookmarked items
Jump To:

Who is online

 
Users browsing this topic 1 logged customers:: 0 and guest 1 (based on users active over the past 5 minutes)