woody Well-known member Feb 6, 2019 #1 I've tried a dozen setups, and none work....is there an easy trigger to display content ONLY on desktop? Thank you!
I've tried a dozen setups, and none work....is there an easy trigger to display content ONLY on desktop? Thank you!
Russ Well-known member Feb 6, 2019 #2 Just need a media query: Code: @media (max-width:@xf-responsiveWide) { .divName { display: none; } } This will hide it at the wide width (Style properties -> Page setup) Upvote 0 Downvote
Just need a media query: Code: @media (max-width:@xf-responsiveWide) { .divName { display: none; } } This will hide it at the wide width (Style properties -> Page setup)
woody Well-known member Feb 6, 2019 #3 I tried something similar, didn't work for DFP. per: https://xenforo.com/community/threa...nly-show-on-pc-or-only-show-on-mobile.139134/ DID find a workaround using sizeMapping within the DFP codes. Not ideal, but it does do what I need (display desktop, hide mobile) Tkx for the response Russ Upvote 0 Downvote
I tried something similar, didn't work for DFP. per: https://xenforo.com/community/threa...nly-show-on-pc-or-only-show-on-mobile.139134/ DID find a workaround using sizeMapping within the DFP codes. Not ideal, but it does do what I need (display desktop, hide mobile) Tkx for the response Russ
woody Well-known member Feb 6, 2019 #4 And, I sit corrected....the light/dark priority of my Styles created a conflict....once I resolved that, the break point setup works as expected. It's been a long week...lol Upvote 0 Downvote
And, I sit corrected....the light/dark priority of my Styles created a conflict....once I resolved that, the break point setup works as expected. It's been a long week...lol