AbanteCart Community
AbanteCart Development => Customization help => Topic started by: flyn on July 30, 2014, 05:24:23 PM
-
http://www.hygienics.com/store/index.php?rt=content/contact
This is my contact us page. I have looked at manual and all .css code but cant figure out how to center the form, address, telephone and fax. That is all I went to do here.
I dont know why by default it is left aligned. I think in a form it should all be centered
-
Hi,please take a look at the code that handles the form element :
https://github.com/abantecart/abantecart-src/tree/master/public_html/storefront/view/default_html5/template/form (https://github.com/abantecart/abantecart-src/tree/master/public_html/storefront/view/default_html5/template/form)
For example that handles the contact form is :
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default_html5/template/form/form_no_group.tpl (https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default_html5/template/form/form_no_group.tpl)
Change the css or add new css attribute to suit your need.Hopefully it helps and good luck. :)