Jump to content

How to add padding (mobile)? - Brine

Recommended Posts

  • Replies 4
  • Views 781
  • Created
  • Last Reply

@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!)

Link to comment

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

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.