I want to add two rich text buttons to my home page, but I want them aligned horizontally with a bit of space in between them.
I’m able to align them side by side but I can’t get the space in between them.
Hey @jmwages17 .
Thanks for reaching out.
Could you let us know which theme you are using for your online store?
If you are unsure about which theme is live in your store, you can navigate to the Theme Editor and select the three dots that are appearing towards the top left of the page. I took a screenshot from my test store to show you the section I am referring to:
Looking forward to your response.
Hi @jmwages17 , Can you kindly share the details of your problem (link page) with us? We will check it and suggest you a solution if possible.
Hey @BSSCommerce-HDL !
Here is the link to the page: https://jmadisonandco.com/
I am using Dawn 13.0.1
Hi @jmwages17 ,
You can try this code by following these steps:
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file base.css, theme.css or styles.css
Step 3: Insert the below code at the bottom of the file → Save
.rich-text__blocks {
margin-left: -10px !important;
}
.rich-text__blocks .rich-text__buttons {
margin-left: 10px !important;
}
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you ![]()