Shopify themes, liquid, logos, and UX
Please see image. The font color in the drop down "add to cart" is a faded white color and very hard to see. I would like the color to be #F5F5F5, so it matches the rest of the font color on my website.
If someone could tell me what code is needed and where to paste it would be awesome.
Solved! Go to the solution
This is an accepted solution.
Hello @Trentoss,
To change the font color of the "add to cart" text in the dropdown to #F5F5F5, you'll likely need to modify your theme's CSS. Here's how you can do it:
Identify the CSS selector for the "add to cart" text in the dropdown. You can use your browser's developer tools (usually accessible via right-click -> Inspect) to find the appropriate selector.
Once you've identified the selector, you can add a CSS rule to change the color to #F5F5F5.
Here's an example of what the CSS code might look like:
/* Change font color of "add to cart" text in dropdown */
.dropdown-selector .add-to-cart-button {
color: #F5F5F5 !important;
}
After you've identified the selector and added the CSS rule, you'll need to paste it into your theme's CSS file. You can usually access this file through your Shopify admin dashboard under "Online Store" -> "Themes" -> "Actions" -> "Edit code" -> "Assets" -> "theme.css" or a similarly named file.
Once you've located the CSS file, paste the CSS rule at the end of the file or in the appropriate section based on your theme's organization.
Save the changes, and the font color of the "add to cart" text in the dropdown should now be #F5F5F5.
Make sure to test the changes on your live site to ensure they have the desired effect. If you encounter any issues or need further assistance, feel free to ask!
This is an accepted solution.
Hello @Trentoss,
To change the font color of the "add to cart" text in the dropdown to #F5F5F5, you'll likely need to modify your theme's CSS. Here's how you can do it:
Identify the CSS selector for the "add to cart" text in the dropdown. You can use your browser's developer tools (usually accessible via right-click -> Inspect) to find the appropriate selector.
Once you've identified the selector, you can add a CSS rule to change the color to #F5F5F5.
Here's an example of what the CSS code might look like:
/* Change font color of "add to cart" text in dropdown */
.dropdown-selector .add-to-cart-button {
color: #F5F5F5 !important;
}
After you've identified the selector and added the CSS rule, you'll need to paste it into your theme's CSS file. You can usually access this file through your Shopify admin dashboard under "Online Store" -> "Themes" -> "Actions" -> "Edit code" -> "Assets" -> "theme.css" or a similarly named file.
Once you've located the CSS file, paste the CSS rule at the end of the file or in the appropriate section based on your theme's organization.
Save the changes, and the font color of the "add to cart" text in the dropdown should now be #F5F5F5.
Make sure to test the changes on your live site to ensure they have the desired effect. If you encounter any issues or need further assistance, feel free to ask!
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024