Osclass Support Forums

Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: Darwazo on October 21, 2019, 03:21:11 AM

Title: how to remove Adsense from IMAGE BOX
Post by: Darwazo on October 21, 2019, 03:21:11 AM
Dear Support Team,

Kindly help me on this......

how to remove Adsense ad from IMAGE BOX ..(as attached).

I didn't put ad ...i guess its auto ?



May be I can fix with 2 options.......

1 - Adjust Image Box Size , so that image and ad is visible?
2 - Remove Ad.


Pls. help me .....as usual thanks
Title: Re: how to remove Adsense from IMAGE BOX
Post by: MB Themes on October 21, 2019, 10:10:46 AM
Try something like:
Code: [Select]
body.content_only .my_adsense_wrap_class {display:none!important;}
or if you use banners from theme setting:
Code: [Select]
body.content_only .banner-theme {display:none!important;}
Title: Re: how to remove Adsense from IMAGE BOX
Post by: Darwazo on October 22, 2019, 12:22:23 AM
Thank you for the reply !

Didnt work for me :(

tried both in style !
Title: Re: how to remove Adsense from IMAGE BOX
Post by: MB Themes on October 22, 2019, 11:17:16 AM
I hope you've replaced my_adsense_wrap_class  with your class.
Title: Re: how to remove Adsense from IMAGE BOX
Post by: Darwazo on October 22, 2019, 11:58:34 PM
Thank you again for the reply ...
i tried but couldnt fix........ :( i am still learning in bits & pieces....

May be I couldn't find the correct Adsense wrap class.
Pls.check darwazo.com
& thanks again
Title: Re: how to remove Adsense from IMAGE BOX
Post by: MB Themes on October 23, 2019, 10:35:37 AM
@Darwazo
You have broken stylesheet.
Title: Re: how to remove Adsense from IMAGE BOX
Post by: Darwazo on October 25, 2019, 02:59:26 AM
Ops ... thank you
I didn’t get problem earlier until I cleared cache today n fixed it.

Thank you again

Title: Re: how to remove Adsense from IMAGE BOX
Post by: MB Themes on May 25, 2021, 07:55:21 AM
@rzv
As mentioned above, body in that box will have class "content_only".
So you can hide anything via CSS.
Code: [Select]
body.content_only .some-of-my-div {display:none;}
Title: Re: how to remove Adsense from IMAGE BOX
Post by: MB Themes on May 28, 2021, 08:36:10 AM
@rzv
You add this line to style.css of theme:
Code: [Select]
body.content_only .banner-theme {display:none!important;}
Title: Re: how to remove Adsense from IMAGE BOX
Post by: rzv on May 28, 2021, 10:51:53 PM
It doesn t work. Maybe i have to modify/add something here /* ITEM IMAGE BX-SLIDER */ in style.css from theme.
I clear cache also. ( image galery doesn t work in mobile view, images doesn t slide )
Title: Re: how to remove Adsense from IMAGE BOX
Post by: MB Themes on May 31, 2021, 08:20:46 PM
@rzv
Your question was: "how to remove Adsense ad from IMAGE BOX "
Your question now is: "image galery doesn t work in mobile view, images doesn t slide"

If your original question was solved, please do not hijack this thread and create new one.
Title: Re: how to remove Adsense from IMAGE BOX
Post by: rzv on June 01, 2021, 04:03:50 PM
No it wasn t solved. Ok i will make a new thread.

@rzv
Your question was: "how to remove Adsense ad from IMAGE BOX "
Your question now is: "image galery doesn t work in mobile view, images doesn t slide"

If your original question was solved, please do not hijack this thread and create new one.