Background color and outline of classic button

I have 3 classic buttons in a 3-box classic grid. I was able to change the background color of the button to the blue I want, but it has a red border that I wanted to remove.

When I added the CSS to remove the border, the border was gone but the button changed back to default orange.

How can I change the background color to blue and keep the border set to none?

I should also say the website is www.pumphoists.com

Hi There,

The style attribute of button shortcode should have only one. So the style attribute should be like this:

style="background-color: rgb(17, 7, 197); border: none;"

For more example, please take a look at this link: http://demo.theme.co/integrity-1/shortcodes/buttons/.

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Hope this helps!

Thanks so much! These videos are a great help, too. Cheers!

Glad we were able to help :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.