News:

AbanteCart v1.4.2.1 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

Alignment of "Banner Bottom" block

Started by iron, April 12, 2016, 10:45:45 AM

Previous topic - Next topic

iron

There  are 4 graphic banners in Main bottom banners group. I will use only 3 of them. But they arranged with alignment "Left". How to arrange them evenly inside their block?

pakfones

i am not sure because i am not a developer but i have seen if we exceed the banner width it increased to left to right. so the default size is 280x150 you can try with this method i hope it will work.

280*4=1120  now 1120 / 3 = 373.33 so you can make an banner 373.33x150


iron

Quote from: pakfones on April 12, 2016, 05:41:34 PM
i am not sure because i am not a developer but i have seen if we exceed the banner width it increased to left to right. so the default size is 280x150 you can try with this method i hope it will work.

280*4=1120  now 1120 / 3 = 373.33 so you can make an banner 373.33x150
Thank you. It works, but not correct, if screen resolution changing, banners are not aligned. I mean is it possible to justify them?

Basara


iron

#4
Quote from: Basara on April 14, 2016, 01:40:50 AM
Hi.
This issue already fixed please see this commit style.css

hmmm... Things going strange. Did it, and after it the site don't open. I understand, it's couldn't be the reason, but now see only white screen. After undo this change - same white screen. I've checked permissions in /storefront/view/default/stylesheet/, all *.css files were 644 or 755, I make them all 755, but anyway get only white screen. Absolutely have no idea what's wrong  :-\
I have saved copy of few days ago, checked it - workable, so it's not a catastrophe, but don't understand what it was?

Basara


iron

I've find a reason - the directory /storefront/controller was removed. Restored it. But banners still not justified, only left aligned even after /storefront/view/default/stylesheet/style.css correcting.

Forum Rules Code of conduct
AbanteCart.com 2010 -