Guest Posted September 25, 2019 Posted September 25, 2019 Hi, How can I add padding to the top on some pages? (screen attached): https://imgur.com/NpJhmkX And is it possible to add to the side? (Screen attached): https://imgur.com/xHDBnhO website: https://marigold-onion-dm3a.squarespace.com Regards
tuanphan Posted September 26, 2019 Posted September 26, 2019 @Campcamp Question 1 /* Privacy Page */ @media screen and (max-width:640px) { div#block-yui_3_17_2_19_1444829626444_5333 .sqs-block-content p:first-child { display: none; } div#block-yui_3_17_2_19_1444829626444_5333 .sqs-block-content p:nth-child(2) { display: none; } div#block-yui_3_17_2_19_1444829626444_5333 .sqs-block-content p:nth-child(3) { display: none; } } /* Support Page */ @media screen and (max-width:640px) { div#block-5d3608ab42b5000001a111b5 .sqs-block-content p:first-child { display: none; } div#block-5d3608ab42b5000001a111b5 .sqs-block-content p:nth-child(2) { display: none; } div#block-5d3608ab42b5000001a111b5 .sqs-block-content p:nth-child(3) { display: none; } } /* Terms Page */ @media screen and (max-width:640px) { div#block-5d371994355b4100011f5cfd .sqs-block-content p:first-child { display: none; } div#block-5d371994355b4100011f5cfd .sqs-block-content p:nth-child(2) { display: none; } div#block-5d371994355b4100011f5cfd .sqs-block-content p:nth-child(3) { display: none; } } /* Mailing Page */ @media screen and (max-width:640px) { div#block-yui_3_17_2_1_1564069303547_4247 .sqs-block-content p:first-child { display: none; } div#block-yui_3_17_2_1_1564069303547_4247 .sqs-block-content p:nth-child(2) { display: none; } div#block-yui_3_17_2_1_1564069303547_4247 .sqs-block-content p:nth-child(3) { display: none; } } Question 2. Seems fine here. Try checking in your phone, not SS editor. 15 minutes: check & found the solution. 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!)
Guest Posted September 26, 2019 Posted September 26, 2019 Hi, thanks for replying but this code does not seem to work, I've check on mobile as well. Is that code for padding on the top of the content of support, terms, privacy and newsletter pages? @tuanphan
tuanphan Posted September 27, 2019 Posted September 27, 2019 @Campcamp I updated the coded for pages. 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.