support

Author Topic: Alignment of "Banner Bottom" block  (Read 8358 times)

Offline iron

  • Newbie
  • *
  • Posts: 19
  • Karma: +4/-0
    • View Profile
Alignment of "Banner Bottom" block
« on: April 12, 2016, 10:45:45 AM »
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?

Offline pakfones

  • Newbie
  • *
  • Posts: 11
  • Karma: +1/-0
    • View Profile
Re: Alignment of "Banner Bottom" block
« Reply #1 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


Offline iron

  • Newbie
  • *
  • Posts: 19
  • Karma: +4/-0
    • View Profile
Re: Alignment of "Banner Bottom" block
« Reply #2 on: April 13, 2016, 04:07:34 AM »
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?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5993
  • Karma: +284/-2
    • View Profile
Re: Alignment of "Banner Bottom" block
« Reply #3 on: April 14, 2016, 01:40:50 AM »
Hi.
This issue already fixed please see this commit style.css
 https://github.com/abantecart/abantecart-src/commit/f9ca0c1c77ced1834118fe5e4251f27d3a815f4f

Offline iron

  • Newbie
  • *
  • Posts: 19
  • Karma: +4/-0
    • View Profile
Re: Alignment of "Banner Bottom" block
« Reply #4 on: April 15, 2016, 02:21:00 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?
« Last Edit: April 15, 2016, 02:32:36 AM by iron »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5993
  • Karma: +284/-2
    • View Profile
Re: Alignment of "Banner Bottom" block
« Reply #5 on: April 15, 2016, 03:02:23 AM »
Please post link to your site.

Offline iron

  • Newbie
  • *
  • Posts: 19
  • Karma: +4/-0
    • View Profile
Re: Alignment of "Banner Bottom" block
« Reply #6 on: April 15, 2016, 05:25:09 AM »
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.

 

Powered by SMFPacks Social Login Mod