Post by eduguido » Fri Sep 21, 2018 5:33 am

Hi,
I´m using the default theme of opencart 3.0.2.0. When I add two banners one upon the other,
there´s a (big) blank space between them; I´d like to reduce this space editing the margin-top, margin-bottom

Anyone know the files I should edit, and how?

Thanks ;)

Newbie

Posts

Joined
Fri Sep 21, 2018 5:01 am

Post by IP_CAM » Fri Sep 21, 2018 11:42 pm

Why not just show an URL, if you expect anyone to be able to assist ? :-\
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by eduguido » Sat Sep 22, 2018 5:49 am

Hi Ernie,
I´m still on localhost, would you have any idea on what files should I edit to reduce the distance between these banners?
Thanks

Newbie

Posts

Joined
Fri Sep 21, 2018 5:01 am

Post by IP_CAM » Sat Sep 22, 2018 7:09 am

Well, then tell us at least, if you use 'regular' Banners, created by the
OC Default Admin Banner Module, and used by the OC Default Theme ?!
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by eduguido » Wed Sep 26, 2018 12:51 am

Hi Ernie,
Sorry for the late reply; Yes, I'm using the Opencart default admin banner module.
I created 2 banners using this module, added both to Home, one upon the other, but I would like to edit the distance between them.
I'm still learning about Opencart, so if you have any idea what files should I look it would be a great help. :)
Thanks

Newbie

Posts

Joined
Fri Sep 21, 2018 5:01 am

Post by eduguido » Wed Sep 26, 2018 1:46 am

One additional information that might be helpful: I added the banner in the same place and size occupied initially by the slider of the default Opencart theme.
Then I added another banner right bellow it. The problem is that there's now a big blank space between the two banners. The blank space between the banners is around the same size if the slider was there, with the two bullet buttoms of the slider, despite the fact that the slider was replaced by the banner.

Newbie

Posts

Joined
Fri Sep 21, 2018 5:01 am

Post by IP_CAM » Wed Sep 26, 2018 1:47 am

Could possibly be this Value, to be changed from 60px to ~ 20px, I assume...
untested, but I did not find anything else, related with this. Good Luck! ;)
Ernie
PS: Clean out all CACHE, before testing, or it won't change display!
---
Image

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by eduguido » Wed Sep 26, 2018 1:55 am

Thank you very much Ernie, I'll try that

Newbie

Posts

Joined
Fri Sep 21, 2018 5:01 am

Post by eduguido » Thu Sep 27, 2018 1:47 am

Worked fine, thanks ;) :)

Newbie

Posts

Joined
Fri Sep 21, 2018 5:01 am

Post by IP_CAM » Thu Sep 27, 2018 2:59 am

Good for you! ;)

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: Majestic-12 [Bot], SohBH, trixiemay and 253 guests