Frame around button

Topic summary

A user seeks help adding a border/frame around a button on their Shopify store’s homepage.

Solution provided:

  • Navigate to Online Store > Themes > Edit Code > base.css
  • Add CSS code targeting the button element (.button.button--primary or .image-with-text .button.button--primary)
  • Apply border styling using properties like border: 2px solid black; or border: 1px solid #000;

Key details:

  • Multiple contributors offered similar CSS-based solutions
  • The fix involves adding custom CSS to the theme’s base.css file
  • Code snippets and screenshots were shared to illustrate the implementation

Status: Solution provided but not confirmed as implemented by the original poster.

Summarized with AI on November 10. AI used: claude-sonnet-4-5-20250929.

Hello, how can I make a frame around this button on the home page?

Send URL please

https://bx4azzsaolikak58-86580068677.shopifypreview.com

Add This css in your edit Code > base.css File

.image-with-text__content a.button.button--primary {
    border: 1px solid #000;
}

go to online store > themes > edit code > find base.css file
add to the given code at the bottom of the file base.css
.button button–primary{

border: 2px solid black;
}