Notifications
Clear all

Script [Closed] Problem with my Amazon Ad banner not centering

5 Posts
3 Users
0 Reactions
464 Views
Posts: 38
Topic starter
(@brozobob)
Trusted Member
Joined: 1 year ago

Having a problem with my Amazon Ad banner not centering over the forum menu.   and there is no padding as well.  I have other ads that do not have this problem.  This is javascript code that I added from Amazon.  What can I do?  I have the Ad Manager Addon.  It is centered on my iphone.  Any thoughts?

4 Replies
Chris
Posts: 3650
(@chris)
Famed Member
Joined: 3 years ago

Hi @brozobob,

How can we see the ad?It's not above wpForo menu

Posts: 38
Topic starter
(@brozobob)
Trusted Member
Joined: 1 year ago

It's there now...I took it down for a while, but put it back so you can see.

 

2 Replies
Tutrix
(@tutrix)
Joined: 4 years ago

Noble Member
Posts: 1303

@brozobob 

I don't see any Amazon ads above the menu, but in the source code I see that you use alignleft

 

Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3650

@brozobob,

Try this Code:

#wpforo #wpforo-wrap .wpforo-ad.wpf-ad-top {
    display: flex !important;
    justify-content: center;
    margin-bottom: 0px;
}