nicolestone Posted August 18, 2019 Share 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? Link to comment
tuanphan Posted August 18, 2019 Share 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
nicolestone Posted August 20, 2019 Author Share Posted August 20, 2019 Hey there! Thanks for the input, however, it didn't seem to change anything? Link to comment
tuanphan Posted August 20, 2019 Share 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.