Hostinger Website Builder: How to Change Text Color in the Online Store

Learn how to change the text color in the online store using Hostinger Website Builder

Updated 2 weeks ago

Learn how to change text color in the following areas of your online store:

  • Product List Section

    • Ribbon Color

    • “Add to Bag” Button Color

    • Change the Product Title Color Individually

    • Change the Pagination Color Individually

  • Single Product Section and/or Product Page

    • Product Description Color

    • “Add to Bag” Button Color

    • Change the Product Title Color Individually

    • Change the Product Subtitle Color Individually

Product List Section

Click on the product list section, select Edit section, and change the text color in the Style tab:

Online store section settings with the Text color option highlighted in Style settings

Changing the text color in the style settings will affect the product title, price, and pagination buttons. If there’s a sale price, the original price will always be a shade lighter.

Ribbon Color

Click on the product list section, select Edit section, and change the ribbon color in the Ribbons tab:

Hostinger Website Builder section settings with the Ribbons text color option highlighted

NOTE: You can add a ribbon in the product management area

“Add to Bag” Button Color

Click on the product list section, select Edit section, and change the button color in the Add to bag button tab:

Hostinger Website Builder section settings with the Add to bag button style highlighted

Change the Product Title Color Individually

Copy the below code, replace the HEX code with the preferred one, and paste it into the Custom code field in your website’s integrations settings:

<style>
/*Product list: Product title*/
.product-list-item__title {
color: #FF0000 !important;
}
</style>

Online store product names in red text, highlighted in a red box under the product images

Change the Pagination Color Individually

Copy the below code, replace the HEX codes with the preferred ones, and paste it into the Custom code field in your website’s integrations settings:

<style>
/*Product list: Pagination color*/
.pagination__button{
color: #FF0000 !important;
}
/*Product list: Current page number color*/
.pagination__trigger--current{
color: #00FF00 !important;
}
/*Product list: Pagination hover color*/
.pagination__button:hover, .pagination__button:active{
color: #0000FF !important;
}
</style>

Online store pagination with red arrows, green current page number, and blue hover state


Single Product Section and/or Product Page

Click on the product section, select Edit section, and change the color in the Style tab:

  • Text color

  • Arrows color on product images

  • Arrows color in the product gallery

  • Section background color (or set image background)

Classic Cap product page with Section settings open and Text color option highlighted in Style

Changing the text color in the style settings will affect the product title, subtitle, price, product options, and description. If there’s a sale price, the original price will always be a shade lighter.

Product Description Color

In the product management area, find the description field and change the color using text editing tools:

Hostinger store product description editor with formatting toolbar highlighted, including text color option

“Add to Bag” Button Color

Click on the product list section, select Edit section, and change the button color in the Button tab:

Hostinger Website Builder section settings showing primary button styles for an online store product page

Change the Product Title Color Individually

Copy the below code, replace the HEX code with the preferred one, and paste it into the Custom code field in your website’s integrations settings:

<style>
/*Single product: Product title*/
.block-product__title {
color: #FF0000 !important;
}
</style>

Product title “Handmade Bowl ‘Ganbaru’” highlighted on an online store product page

Change the Product Subtitle Color Individually

Copy the below code, replace the HEX code with the preferred one, and paste it into the Custom code field in your website’s integrations settings:

<style>
/*Single product: Product title*/
.block-product__subtitle {
color: #FF0000 !important;
}
</style>

Eco-friendly text highlighted on a product page for Handmade Bowl “Ganbaru”