News:

AbanteCart v1.4.2 is released.

Main Menu
support

Floating store front central onscreen

Started by Smash, June 16, 2014, 10:09:29 AM

Previous topic - Next topic

Smash

Hi

I decided to set the width of the storefront width to 1000px in appearance but I found it stays left in window once you have. Is there a way to float it centrally once width is set. Do I have to edit CSS.

Thanks in advance

Smash

eCommerce Core

Do you do this for HTML5 or older template? HTML5 is a responsive template, you should not set fixed width on it.

Smash

Hi Basara

No its in template2. Basically if I set it 100% the slideshow wont reach on larger screens so I wanted to set the width then have the storefront float central on the screen

Thanks

Smash :D

Basara

Quote from: Smash on June 25, 2014, 08:49:23 AM
No its in template2. Basically if I set it 100% the slideshow wont reach on larger screens so I wanted to set the width then have the storefront float central on the screen

Hello. For template2 find extensions\template2\storefront\view\template2\stylesheet\stylesheet.css file about line 50
change
#wrapper {
text-align:center;
}


to 
#wrapper {
text-align:center;
margin: 0 auto;
}

Smash

Brilliant  thats perfect. Thanks Basara. That is a massive help. I thought it might be some CSS. Thanks again

:)

Smash

Smash

Hi Basara

what is it for HTML5

Thanks

Smash

Forum Rules Code of conduct
AbanteCart.com 2010 -