Change search field size ?

Support for Template related issues
Post Reply
ds_robert
Posts: 41
Joined: Fri Mar 01, 2013 5:26 am

Change search field size ?

Post by ds_robert » Wed Mar 06, 2013 5:48 am

I am customizing one of the colored themes to blend in with our website standards.

Is it possible to change the default search box size (i.e. width) that appears in the header? If so, how should I go about it?

I am learning quite a bit about how AlegroCart fits together, but this one has got me stumped :?:

User avatar
leo
admin
Posts: 4263
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Change search field size ?

Post by leo » Wed Mar 06, 2013 6:56 am

In the colour css (e.g. black2.css) about line 945 add width: XXX px; to .search input{}

ds_robert
Posts: 41
Joined: Fri Mar 01, 2013 5:26 am

Re: Change search field size ?

Post by ds_robert » Fri Mar 08, 2013 2:36 am

Many thanks for that leo :D

User avatar
Brent
Site Admin
Posts: 4419
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Change search field size ?

Post by Brent » Tue Mar 21, 2017 4:35 pm

If you are starting with a thumb nail size image, it won't resize larger very well. In admin, you can set the size of the image and it will be displayed at that size. If you click the image button, the original thumb nail size will be displayed.
The best prctice is to get an image that is larger and it wil be reduced to the module display size. then when you click the enlarge button, the larger image will be displayed.

Post Reply