nickhydeviolin Posted May 9, 2022 Share Posted May 9, 2022 (edited) 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 Edited May 9, 2022 by nickhydeviolin Image Added Link to comment
Beyondspace Posted May 9, 2022 Share Posted May 9, 2022 (edited) 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 Can you share your site with the protected password so we can easily take a look? Edited May 9, 2022 by bangank36 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
nickhydeviolin Posted May 9, 2022 Author Share Posted May 9, 2022 I discovered margin-left with a negative value works in shifting objects to the right. That seems to be the solution here. Beyondspace 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment