News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Center Align Customer Login DIV

Started by hus2020, January 22, 2017, 10:32:08 AM

Previous topic - Next topic

hus2020

Hi I have modified my template a little as so to disable registration of customers as I want to only selectively register customer via backend.

I have managed to hide registration div by commenting <div class="col-sm-6 newcustomer"> from /storefront/view/default/template/pages/account/login.tpl

After doing so, now I want to bring the returning (existing) customer login box to center of page, as currently its aligned to right. Can anyone guide how to do so?

I have attached screenshot to show exactly what I mean.

Thank you.




overdale

style.css:1975

margin-right: 50%;
width: 50%;
margin-left: 25%;

hus2020

Quote from: overdale on January 22, 2017, 09:11:05 PM
style.css:1975

margin-right: 50%;
width: 50%;
margin-left: 25%;
Can you indicate where the css file is located. Sorry I'm not sure about the location

hus2020

Quote from: hus2020 on January 22, 2017, 10:13:35 PM
Quote from: overdale on January 22, 2017, 09:11:05 PM
style.css:1975

margin-right: 50%;
width: 50%;
margin-left: 25%;
Can you indicate where the css file is located. Sorry I'm not sure about the location

Sorry didnt realize you showed me the exact line number in the stylesheet.

The change I did was just one line. The float was to right, I changed it to left as it looks tidier in that spot. Thank you for the helpful guide

float: left;

overdale

i think i may do the same set-up as you

i have developer tools in my browser (palemoon) so i just chose your returning customer block and did what i thought would work
but yours is simpler and probably a better work-around

Forum Rules Code of conduct
AbanteCart.com 2010 -