Hiding gallery description on mobile
RobDaviesImages
Registered Users Posts: 3 Big grins
Hi, I have used Denise's script .sm-gallery-cover-description { display: none; } to hide the gallery description on my gallery pages, and it works great on desktop.
However, on mobile, the first few words still show up, with an invitation to "read more" that goes to a blank page. I'm guessing that the initial snippet that shows is controlled by a different element, but I have not been able to tell what it is by looking at the page source on my computer.
Is there an additional script I could use?
Thank you!
Rob
However, on mobile, the first few words still show up, with an invitation to "read more" that goes to a blank page. I'm guessing that the initial snippet that shows is controlled by a different element, but I have not been able to tell what it is by looking at the page source on my computer.
Is there an additional script I could use?
Thank you!
Rob
0
Comments
Hey Rob, please post a link to your SmugMug website so we can take a look at your setup.
The website is www.robdaviesimages.com.
Thanks for taking a look!
Hey Rob, please remove your previous code and replace it with this one:
.sm-user-ui .sm-gallery-cover-description, .sm-user-ui .sm-gallery-cover-readmore { display: none !important; }