View Full Version : how to separate header 1 and 2 ads
ketanco
08-14-2015, 04:24 AM
I would like to separate the google ad and banner ad at header 1 and 2. how can i do that?
i tried putting them in div and padding or margin but it did not work
Lynne
08-14-2015, 07:40 PM
Can you please post a link so we can see the problem.
TheLastSuperman
08-14-2015, 09:08 PM
^ Please post a link as Lynne asked. On a side note though, some forum designs meaning... if you have to 728x90 banners and you want one on the left, and one on the right w/ a little spacing between them without realizing that their forum is a fixed width at 980px - this won't ever happen! So make sure that you're either using a fluid style or that your set site width is large enough to actually hold both ads if you have them side-by-side.
980px-728px=252px minus any padding or margin settings to play with.
^ Very rough example but you should get the idea, if simply stacking ads top to bottom it shouldn't matter unless you just don't take it into consideration.
ketanco
08-15-2015, 05:23 AM
ok sure,
my site is
constructforum.com
look at the very top at home page
the google ad in header 1, and my own banner ad in header 2 are touching each other. how can i separate?
also i want to bring them a little down if possible they are touching to top of screen , which i dont want....
thanks a lot
cellarius
08-15-2015, 05:38 AM
Add this to your additional.css:
#ad_global_header1 {
margin-right: 5px;
}
Of course, you can set the margin as you like.
Lynne
08-15-2015, 07:32 PM
to get a top margin, just add to what Cellarius wrote:
#ad_global_header1 {
margin-right: 5px;
margin-top: 10px;
}
#ad_global_header2 {
margin-top: 10px;
}
Of course, change those margins to whatever you want.
cellarius
08-16-2015, 03:45 AM
Ah. I missed the part about the top margin...
RichieBoy67
08-16-2015, 07:30 AM
A simple way to separate them is just too add a couple between them.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.