MMCwebsitebuilder Posted June 17, 2020 Posted June 17, 2020 Hello, I reduced the padding of the line block using the following code: . sqs-block-horizontalrule {margin-top:-50px !important; margin-bottom:-50px !important;} To achieve the following look: However, when I checked the mobile view, this is what it ends up looking like. Does anyone know a way to fix how it looks on the mobile view?? Thank you.
tuanphan Posted June 17, 2020 Posted June 17, 2020 Edit your code to @media screen and (min-width:641px) { sqs-block-horizontalrule {margin-top:-25px !important; margin-bottom:-25px !important;} } 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!)
MMCwebsitebuilder Posted June 17, 2020 Author Posted June 17, 2020 54 minutes ago, tuanphan said: Edit your code to @media screen and (min-width:641px) { sqs-block-horizontalrule {margin-top:-25px !important; margin-bottom:-25px !important;} } I copied the code - but it doesn't seem to work on the PC view. Also, my mistake I meant to type -50px.
MMCwebsitebuilder Posted June 17, 2020 Author Posted June 17, 2020 59 minutes ago, tuanphan said: Edit your code to @media screen and (min-width:641px) { sqs-block-horizontalrule {margin-top:-25px !important; margin-bottom:-25px !important;} } Never mind!! It work!! Thank you so much! The code was just missing a "." So the code I used is: @media screen and (min-width:641px) { .sqs-block-horizontalrule {margin-top:-50px !important; margin-bottom:-50px !important;} }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.