Change Gallery Title Size on Mobile
arcentoni
Registered Users Posts: 28 Big grins
I'm happy with the size of the title of each gallery on web view, but on mobile it's just too big. How can I go about resizing that?
Tagged:
0
I'm happy with the size of the title of each gallery on web view, but on mobile it's just too big. How can I go about resizing that?
Comments
First off, you have this which is forcing the Gallery Title to 34px.
Never a good idea to use
!important
. If you need to customize something, it's best to prefix it by using.sm-user-ui
. So:.sm-user-ui .sm-gallery-cover-title {font-size: 34px;}
To change the font size for devices smaller than 736px, you need to use a
@media
:Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Ahhh, thank you for the insight. Gonna try it out now.
Update: worked great, thank you!