Jump to content

CSS Padding/Margin Unable to Move to the Left

Recommended Posts

I have 3 buttons underneath an image that I want to squeeze together so they're not so spaced apart, cause it looks hella ugly

I figured out how to use CSS to move the buttons, except it seems that only margin-left actually works. margin-right barely moves the button at all. The CSS below leaves the result on the image where the button is still spaced. 

 

#block-b905a0bdd4f1634f8d4b
{
  margin-left: 70px !important;;
}
#block-ea2caa114a028bb4a771
{
  margin-right: 70px !important;;
}



How can I move that button to the left? I'm kinda shocked I can't just do it with the website builder itself, and more shocked that CSS is failing me too

 

 

Screen Shot 2022-05-09 at 4.28.20 PM.png

Screen Shot 2022-05-09 at 4.34.51 PM.png

Edited by nickhydeviolin
Image Added
Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

1 hour ago, nickhydeviolin said:

I have 3 buttons underneath an image that I want to squeeze together so they're not so spaced apart, cause it looks hella ugly

I figured out how to use CSS to move the buttons, except it seems that only margin-left actually works. margin-right barely moves the button at all. The CSS below leaves the result on the image where the button is still spaced. 

 

#block-b905a0bdd4f1634f8d4b
{
  margin-left: 70px !important;;
}
#block-ea2caa114a028bb4a771
{
  margin-right: 70px !important;;
}



How can I move that button to the left? I'm kinda shocked I can't just do it with the website builder itself, and more shocked that CSS is failing me too

 

 

Screen Shot 2022-05-09 at 4.28.20 PM.png

Screen Shot 2022-05-09 at 4.34.51 PM.png

Can you share your site with the protected password so we can easily take a look?

Edited by bangank36

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

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

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