Hi Everyone, just wondering if I can get some quick CSS help. It seems that the color is going around my button shape for some reason. I’m just trying to change the main color without that background rectangle. Also what is the code for changing the angle of the corners? Apologies ahead of time I did search on here but wasn’t able to find the specific answer. Here is a screenshot:
Would you mind to explain farther what are you trying to achieve? You want a rounded corners or rectangle? Do you like to take of the rectangle shape on the buttons? And would you mind to share your store URL? Thanks!
Sorry, should have explained this a bit better. The background color that I want the button to be (#0f52a3) is only applying to outside and around the button and makes it a sort of rectangle. I just want that outside color applied to the inside of the button so that it is a regular rounded button in that color. Then I was looking to see how I can alter the roundedness of the corners of the button.
Thank you so much. When I go to inspect page and check what element it is, I’m pretty sure that I applied the CSS language to the most specific aspect of the button. Would you be able to help me determine if I have that correct? Really appreciate the help!
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code: