How to center content in Top2 Module position

GK User
Fri Aug 19, 2016 3:42 am
I can´t figure out how to center NSP and banner contents in top2 module position. Please advice.
http://www.juntospormexico.mx/
User avatar
Fresh Boarder

teitbite
Mon Aug 22, 2016 11:56 am
Hi

Actualy module is waiting for 2 more news boxes to be shown so if You are planning to show more elements there than it will work just fine. If it's for this one news only than just override it with css:

Code: Select all
#gkTop2 .box {
    float: none;
    margin: auto;
}
User avatar
Moderator

GK User
Thu Aug 25, 2016 12:51 am
Excellent... this one solved NSP centered issue.
What about the banner? same Top2 position, how to center?
User avatar
Fresh Boarder

teitbite
Fri Aug 26, 2016 11:03 am
Hi

Try with:

Code: Select all
.advert {
text-align: center;
}
User avatar
Moderator

GK User
Sun Sep 04, 2016 1:24 am
That worked! Thanks!
User avatar
Fresh Boarder

teitbite
Wed Sep 07, 2016 10:10 am
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.