[SOLVED] Adsense Module Question?

lookabit
lookabit's picture

Joined: 2013-03-04
Posts: 19
Posted: Tue, 2013-05-28 15:58

Is there a way to change the name of the adsense module? In the module it displays the word "adsense" in the top corner, I would like to remove that or change it. Any ideas? Thanks.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-05-29 15:32

Editing the modules code should work. What have you tried?
The other method is (if the title has a id or class) then you could hide it with CSS.
URL if you want the CSS method.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-05-29 20:37

Sidebar location use the css method:

#g-adsense h2 {
display: none;
}

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
lookabit
lookabit's picture

Joined: 2013-03-04
Posts: 19
Posted: Sat, 2013-06-01 03:14

Not sure where to put the code? I am using the adsense module. There is only one in the gallery I believe. Here are the files in the module below.

admin_adsense.html.php
adsense_block.html.php
adsense_block.php
adsense_theme.php
adsense_event.php
admin_adsense.php

Which file and where in the file would I put the

Quote:
#g-adsense h2 {
display: none;
}

?

I tried just editing the name but it makes the module vanish.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2013-06-01 15:40

URL?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
lookabit
lookabit's picture

Joined: 2013-03-04
Posts: 19
Posted: Sun, 2013-06-02 03:58
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2013-06-02 22:37

Add:

#g-adsense h2 {
display: none;
}

to the bottom of themes/wind/css/screen.css

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
lookabit
lookabit's picture

Joined: 2013-03-04
Posts: 19
Posted: Wed, 2013-06-05 22:01

Awesome. Exactly what I was looking for. ;) Thanks floridave. ;)

http://www.lookabit.com <---Nothing but Memes!