Ford Doctor Posted September 25, 2017 Posted September 25, 2017 How can I make some text display on a page being viewed on a mobile screen but not on a desk top screen?
Pete T Posted September 25, 2017 Posted September 25, 2017 52 minutes ago, Ford Doctor said: How can I make some text display on a page being viewed on a mobile screen but not on a desk top screen? is post text or item within the suite ?
Ford Doctor Posted September 25, 2017 Author Posted September 25, 2017 Within the suite - footer template to be exact.
-FP Posted September 25, 2017 Posted September 25, 2017 <div class='ipsResponsive_hideDesktop'> Content for tablets and phones only. </div> https://invisioncommunity.com/4guides/themes-and-customizations/css-framework/responsiveness-r250/
Ford Doctor Posted September 30, 2017 Author Posted September 30, 2017 Thank you for the answer AND the link to the guides which enlightened me a lot. This does work just fine as it should. I am trying to force better alignment/appearance of my copyright line which includes a page hit counter. The counter creates a new problem because if I place it in both versions of my copyright line it increments the counter twice on every page load. Just because the text is not displayed the counter is still triggered. I tried to use the code to add line breaks between the text where I would want it to break on mobile screens but for some reason it did not work quite right. I think it's because of the <div> tags. I need to fiddle with it some more to make it work.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.