Phoca GAE how to add padding?

Phoca modules - support for all Phoca modules except Phoca Gallery modules
peter3
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 22 Mar 2014, 20:01

Phoca GAE how to add padding?

Post by peter3 »

In Phoca Google Adsense easy module is it possible to add padding?

I have a sidebar adsense ad on the left in a Phoca GAE module, and next to it the joomla content, the article. Unfortunately there is no space beetween the sidebar ad and the content.
I tried several methods, I changed the css, added custom css file, but nothing worked for me.


Is there an easy way to add a 10px margin or padding in the Phoca Adsense GAE module to separate the article content and the Adsense ads?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca GAE how to add padding?

Post by Jan »

Hi, you can set it

- in CSS (the right class needs to be set)
- or directly in the content of the ads, you can add the ads to some div e.g. and such you can stylize - then all the ads code including the div will be pasted to the gae module.

Jan
If you find Phoca extensions useful, please support the project
peter3
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 22 Mar 2014, 20:01

Re: Phoca GAE how to add padding?

Post by peter3 »

Thank you! css worked perfectly.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca GAE how to add padding?

Post by Jan »

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