Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: White space in header under adsense add  (Read 2363 times)

0 Members and 1 Guest are viewing this topic.

Jackson McGinley

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 2
    • Twixlar - Fishing the Laguna Madre
White space in header under adsense add
« on: September 21, 2013, 06:43:24 am »

Can't find answer - I didn't have any problems adding adsense adds to the header on my site but I can't control the white space under the add  and the table I added.  I changed the css width form10 to 0 and that helped but every time I add something the white area expands. Can someone tell me how to control this.

 twixlar.com/cpg/
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: White space in header under adsense add
« Reply #1 on: September 21, 2013, 04:21:35 pm »

I am guessing that you mean the white space under the ads? If so open style.css line 157 and edit the height setting in the code below as required.

Code: [Select]
.menuheight {
    height: 95px;
    width: 1px;
}
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: White space in header under adsense add
« Reply #2 on: September 21, 2013, 04:57:08 pm »

In addition Jackson, you should change in your template (twice):

Code: [Select]
<br> </br>and replace
Code: [Select]
<br />
first time after
Code: [Select]
<!-- start of add -->
second time before first "hr noshade"
Code: [Select]
<hr noshade align="center" size="5" Width="50%">


Regards.
Logged

Jackson McGinley

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 2
    • Twixlar - Fishing the Laguna Madre
Re: White space in header under adsense add
« Reply #3 on: September 21, 2013, 05:02:36 pm »

You guys rule -  I spent hours last night trying to figure this out.  Now it's work exactly like I want it to work.  I new at this and some of the directions I've found online leave a lot to be desired for a newbie.  Thanks one again

Jackson
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.