Change Text Colors in Shopify Boundless Theme

Published on Jun 14, 2024

By Michael Chen

#Shopify#Customization#Boundless Theme
Woman in White Dress Standing in Front of White Wooden Desk

Introduction

Customizing your Shopify store’s appearance is crucial for creating a unique and engaging user experience. One common challenge many store owners face is changing text colors in various sections of their theme. In this guide, we’ll focus on the Boundless theme and explore how to modify text colors in different areas, including the cart page, newsletter section, and more.

Understanding the Boundless Theme

What is the Boundless Theme?

The Boundless theme is a popular Shopify theme known for its clean and modern design. It offers a range of customization options, but sometimes store owners need to dive into the code to achieve specific visual effects.

Why Customizing Text Colors Matters

Proper color contrast is essential for readability and accessibility. When text and background colors are too similar, it can make it difficult for customers to navigate your store and complete purchases.

Common Areas Requiring Color Adjustments

Several areas in the Boundless theme often need color adjustments:

  1. Cart page quantity text
  2. Newsletter subscription input
  3. Blog comment forms
  4. Checkout page elements

Changing Text Colors in the Cart Page

The Quantity Text Issue

Many store owners using the Boundless theme have noticed that the “quantity” text on the cart page can be difficult to read when it’s white on a white background.

Solution for Quantity Text Color

To change the color of the “quantity” text to black, you’ll need to modify your theme’s SCSS file. Here’s the most effective solution:

input, textarea, select {
  color: #000000;
}

Add this code to your assets/theme.scss.liquid file. This will change the color of input text, including the quantity field, to black.

Additional Cart Page Customizations

You may also want to adjust the color of the plus and minus signs in the quantity selector. To do this, add the following code:

#your-shopping-cart .js-qty__adjust {
  background-color: #000 !important;
}

This will change the background color of the quantity adjustment buttons to black, making the plus and minus signs more visible.

Modifying Newsletter Section Text Color

The Email Address Placeholder Issue

Another common problem is the color of the “email address” placeholder text in the newsletter subscription form.

Changing Newsletter Input Text Color

To change the color of the input text and placeholder in the newsletter section, add this code to your SCSS file:

.input-group__field {
  color: #000000;
}

input::placeholder, textarea::placeholder {
  color: #000000;
  opacity: 1;
}

This will change both the entered text and the placeholder text to black.

Ensuring Consistency Across Devices

It’s important to test these changes across different devices and browsers to ensure consistency in appearance.

Customizing Blog Comment Section

Improving Comment Form Readability

The blog comment section is another area where text color adjustments can improve user experience.

Modifying Comment Form Input Colors

To change the text color in the blog comment form, add this code to your SCSS file:

.form-vertical input,
.form-vertical select,
.form-vertical textarea {
  color: #000000;
}

This will ensure that all input fields in the comment form have black text.

Enhancing Overall Blog Aesthetics

Consider the overall color scheme of your blog when making these changes to maintain visual coherence.

Additional Theme Customization Tips

Using Theme Settings

Before diving into code, check your theme’s built-in customization options in the Shopify admin panel. Some color changes can be made without editing code.

Testing Changes in Theme Editor

Always use the theme editor to preview changes before publishing. This helps avoid unexpected visual issues on your live site.

Keeping a Backup of Your Theme

Before making any code changes, create a duplicate of your theme as a backup. This allows you to revert changes if needed.

Troubleshooting Common Issues

Text Color Not Changing

If your text color isn’t changing after adding the CSS, try clearing your browser cache or viewing the site in an incognito window.

Conflicts with Existing Styles

Sometimes, existing theme styles may override your custom CSS. In these cases, you may need to use !important declarations, but use these sparingly.

Responsive Design Considerations

Ensure your color changes look good on all device sizes. Some elements may require different styling for mobile and desktop views.

By following these guidelines and using the provided code snippets, you should be able to successfully change text colors in various sections of your Shopify store using the Boundless theme. Remember to always test your changes thoroughly before pushing them live to ensure a seamless shopping experience for your customers.

Take Our Quick Quiz:

Which primary product image do you think has the highest conversion rate?