Hi @namestolen ,
To adjust the background color and add a border to this cart popup on your Shopify store, you can add custom CSS to the theme.
Follow these steps:
-
Online Store > Themes > Edit Code
-
Find the theme.scss.liquid or theme.css file (depending on your theme setup).
-
Add the following CSS at the bottom of the file:
/* Style for the cart popup */
.cart-popup {
background-color: #333333; /* Adjust the color to your preference */
border: 2px solid #FFD700; /* Change the border color and width as needed */
border-radius: 8px; /* Optional: add rounded corners */
padding: 10px; /* Adjust padding for spacing */
}
/* Adjust font color inside the popup */
.cart-popup * {
color: #FFFFFF; /* Choose a color that stands out against the background */
}
Replace #333333 with the background color you prefer and #FFD700 with your desired border color. Adjust the padding and border-radiusvalues if you want more spacing or rounded corners.
This code targets the popup and applies a new background and border, making it stand out from the rest of your website. Let me know if you need further customization!
If I was able to help you, please don’t forget to Like and mark it as the Solution!
Best Regard,
Rajat Sharma