nicolestone Posted August 18, 2019 Posted August 18, 2019 I added some custom code to change the width of the blog titles to not be so long - but it also affects the width on mobile } .BlogItem-title { margin-left:10%; margin-right:10% }Anyway this code can exclude mobile?
tuanphan Posted August 18, 2019 Posted August 18, 2019 @nicolestone /* Only on Desktop - Tablet */ @media screen and (min-width:641px) { .BlogItem-title { margin-left:10%; margin-right:10% } } Accept Answer and Upvote if it worked. Thanks.Reference: https://beaverhero.com/squarespace-all-css Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
nicolestone Posted August 20, 2019 Author Posted August 20, 2019 Hey there! Thanks for the input, however, it didn't seem to change anything?
tuanphan Posted August 20, 2019 Posted August 20, 2019 @nicolestone If you want to apply for only mobile/desktop/table, use these code /* Mobile */ @media screen and (max-width:640px) { Paste Your Custom Code (CSS) Here } /* Tablet */ @media screen and (min-width:641px) and (max-width:900px) { Paste Your Custom Code (CSS) Here } /* Desktop */ @media screen and (min-width:901px) { Paste Your Custom Code (CSS) Here } /* Tablet - Desktop */ @media screen and (min-width:641px) { Paste Your Custom Code (CSS) Here } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.