Welcome! To use this support forum, please Login or Join Today!

   

Mobile Theme Setting - How to Eliminate Teaser Widget

{name}
Rank

Total Posts: 27

Joined 2011-10-20

PM

 

My theme Home page uses a large photo in the Teaser Widget under the header/logo image. Is there a way to eliminate that Teaser in the Mobile Theme?
One thought—I use Dynamic Widgets to determine what widgets show up on specific pages. (On other sites I use Widget Logic.) Could this work in some way with the Teaser Widget? I don’t know how to distinguish the Mobile Theme.

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

It’s difficult to say without seeing firsthand. The teaser may have a unique ID. If it is on the home page, something like this might do the trick:


@media only screen and (max-width: 767px) {

 body.home #teaser {display:none;visibility:hidden;}

}
{name}
Rank

Total Posts: 27

Joined 2011-10-20

PM

 

Yes that worked. Thank you very much.