Notifications
Clear all

[Solved] Ads wont center  


Jose Perez
Posts: 3
Customer
(@jose-perez)
Member
Joined: 8 months ago

Ads in the Ads Manager plugin are not being centered in the forum. am i doing something wrong? my url is www.keeponreefing.com

4 Replies
Astghik
Posts: 4116
Admin
(@astghik)
Support Team
Joined: 2 years ago

Hi @jose-perez,

Thank you for contacting us.

Please navigate to Dashboard > Forums> Settings > Styles admin page, put the following CSS code, in "Custom CSS code" textarea, save it, delete all caches and check again.

.wpforo-ad {
display: flex;
justify-content: center;
/*I'd also suggest you set some margin-bottom value by using the following CSS rule*/
margin-bottom: 15px !important;
}

Please don't forget to press Ctrl+F5 (twice) on the forum frontend before checking to reload the updated CSS file. 

Jose Perez
Posts: 3
Customer
(@jose-perez)
Member
Joined: 8 months ago

Hi, I've added the code and followed all instructions and still not centered.

1 Reply
Astghik
Admin
(@astghik)
Joined: 2 years ago

Support Team
Posts: 4116

@jose-perez

All is correct, please watch the following video: https://www.screencast.com/t/mbtaQrqAjp

You'll just need to delete the browser caches before checking. Just press Ctrl+F5 (twice) on the forum frontend. 

Jose Perez
Posts: 3
Customer
(@jose-perez)
Member
Joined: 8 months ago

Ok Thank you

Share: