can't style AdSense module with CSS :(

Phoca modules - support for all Phoca modules except Phoca Gallery modules
canadave
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 Sep 2012, 19:37

can't style AdSense module with CSS :(

Post by canadave »

I have three modules in my left sidebar on my website, the last one being my Phoca AdSense module in Joomla 2.5.7. The overall CSS for the left sidebar includes padding and margins, because those two modules have text that needs inner margins. However, I want to CLEAR those settings for the AdSense module and just allow the Google ad to take up all the space in the left sidebar with no padding/margins.

I went to the AdSense module and added a "Module Class Suffix" to try to style it individually like I've done before, and then remove the padding that way--but it doesn't work. In FireBug, I can't even see that the module class suffix is even visible anywhere in the resulting HTML--it's simply not even going into the code, so any individual styling I'm calling for in my main CSS file isn't able to get put in anywhere.

Is the MOdule Class Suffix not available when using this module?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48535
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: can't style AdSense module with CSS :(

Post by Jan »

Hi, if the module class suffix is not set in the HTML, use the parameter:

CSS Style

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