Phoca - GAE Cntrer google adsense

Phoca modules - support for all Phoca modules except Phoca Gallery modules
User avatar
jean-marie60
Phoca Member
Phoca Member
Posts: 30
Joined: 31 Dec 2017, 15:22

Phoca - GAE Cntrer google adsense

Post by jean-marie60 »

Bonjour

J'utilise Phoca - GAE pour mon site https://www.passion-fauneetflore.fr et j'ai mis une pub adsense dans le bas de page mais impossible de centrer l'image, pouvez-vous m'aider ?
Jean-Marie
christine
Phoca Hero
Phoca Hero
Posts: 2723
Joined: 28 Nov 2010, 17:20

Re: Phoca - GAE Cntrer google adsense

Post by christine »

Hi Jean-Marie,

the reason for not centering is:

Image

it means: box 1 and box 3 are empty (with diff. width), ads is in box 2.

I removed temporary the boxes and put foll. code to personal.css:
#bottom .moduletable {
text-align:center;
}
Image

Kind regards
Christine
User avatar
jean-marie60
Phoca Member
Phoca Member
Posts: 30
Joined: 31 Dec 2017, 15:22

Re: Phoca - GAE Cntrer google adsense

Post by jean-marie60 »

Bonjour Christine

Dans quel fichier je dois modifier ce que tu me dis car là, je ne trouve pas, merci de m'éclairer un peu plus ?
J'ai cherché dans personnal.css mais rien trouvé.
christine
Phoca Hero
Phoca Hero
Posts: 2723
Joined: 28 Nov 2010, 17:20

Re: Phoca - GAE Cntrer google adsense

Post by christine »

Hi Jean-Marie,

As you are using beez3, I hv checked the index.php:

Image

box1= 35 %, box 2= 32%, box 3= 27%. Positions: 9, 10 & 11.
Therefore, I removed temporary the boxes and then I added above code into the personal.css

But: You could try, to put your ads (module) to position: 14. Try this first, before we hv to change index.php etc.

Kind regards
Christine
Post Reply