Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Padding issues on line block on mobile view


Question

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:

image.thumb.png.e77f202974c2b26a22a423adbfb629a5.png

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.

image.png.d5bb2040cdb0617cbb12020eda33e5d2.png

Edited by MMCwebsitebuilder
Link to post
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Posts

Edit your code to @media screen and (min-width:641px) { sqs-block-horizontalrule {margin-top:-25px !important; margin-bottom:-25px !important;} }  

Posted Images

3 answers to this question

Recommended Posts

  • 0
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.

Link to post
  • 0
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;} 
}

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...