AbanteCart Community

eCommerce construction => General Discussion => Topic started by: Smash on June 16, 2014, 10:09:29 AM

Title: Floating store front central onscreen
Post by: Smash on June 16, 2014, 10:09:29 AM
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
Title: Re: Floating store front central onscreen
Post by: eCommerce Core on June 16, 2014, 10:37:18 PM
Do you do this for HTML5 or older template? HTML5 is a responsive template, you should not set fixed width on it.
Title: Re: Floating store front central onscreen
Post by: Smash on June 25, 2014, 08:49:23 AM
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
Title: Re: Floating store front central onscreen
Post by: Basara on June 25, 2014, 08:57:58 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
Code: [Select]
#wrapper {
text-align:center;
}

to 
Code: [Select]
#wrapper {
text-align:center;
margin: 0 auto;
}
Title: Re: Floating store front central onscreen
Post by: Smash on June 26, 2014, 04:31:45 PM
Brilliant  thats perfect. Thanks Basara. That is a massive help. I thought it might be some CSS. Thanks again

 :)

Smash
Title: Re: Floating store front central onscreen
Post by: Smash on August 25, 2014, 07:01:39 PM
Hi Basara

what is it for HTML5

Thanks

Smash