Adsense

Phoca modules - support for all Phoca modules except Phoca Gallery modules
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Adsense

Post by Jan »

Hi, you can add some css class there or you can add it into module or you can try to set it direct into your code, e.g.:

Code: Select all

<div style="text-align:center">
... your adsense code
</div>
or

Code: Select all

<center>
... your adsense code
</center>
Jan
If you find Phoca extensions useful, please support the project
dougabc123
Phoca Member
Phoca Member
Posts: 12
Joined: 10 Apr 2009, 03:38

Re: Adsense

Post by dougabc123 »

Greetings,

Adsense Module Positioning Question:

Using the rhuk_milkyway template, and it is set to template width fluid (full page width).

The Phoca Adsense module (mod_phoca_google_adsense) is set to appear on the top position.

The Phoca Adsense module appears too far to the left, and I'd like to aligned to the far right, so that the Adsense ad display gives symmetry (balanced appearance) to the web site. Right now every thing looks pushed to the left.

How can the module be configured to position the ad to the far right, in the top position on this template?
Last edited by dougabc123 on 06 Jun 2009, 04:34, edited 1 time in total.
dougabc123
Phoca Member
Phoca Member
Posts: 12
Joined: 10 Apr 2009, 03:38

Re: Adsense

Post by dougabc123 »

ANSWER: in the module > Parameters > Advanced Parameters > Module CSS Style > type:

float:right

This will position the module to the right.

If you want center or left, just type left or center - after the 'colon' :

float:left
float:center
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Adsense

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply