HomePage › Forums › Themes Support › Technogy – Electronics Store WooCommerce Theme › Change color CSS
- This topic has 10 replies, 2 voices, and was last updated 2 years, 5 months ago by Billy Nguyen.
-
AuthorPosts
-
November 20, 2021 at 9:17 am #17494LucasSupport Expired
Hello, I would like to know how to modify the CSS code of the theme in order to be able to modify this element in photo : https://ibb.co/4W6sJjX
I know that I have to work on the child file, and that I have to duplicate the css file. But I can’t find the tag in the css file that corresponds to the framed place on the picture.
I would like all the products in the store to have a specific color in the background and that the writing of the product is white.
Can you tell me the lines and file indicating this change?
November 20, 2021 at 10:53 am #17526Ok, please copy this css code to file style.css:
ul.products li.product .product-block, ul.products .wc-block-grid__product .product-block, .wc-block-grid__products li.product .product-block, .wc-block-grid__products .wc-block-grid__product .product-block{ background-color: #your-color !important; }
ul.products li.product h2 a, ul.products li.product h3 a, ul.products li.product .woocommerce-loop-product__title a, ul.products li.product .wc-block-grid__product-title a, ul.products .wc-block-grid__product h2 a, ul.products .wc-block-grid__product h3 a, ul.products .wc-block-grid__product .woocommerce-loop-product__title a, ul.products .wc-block-grid__product .wc-block-grid__product-title a, .wc-block-grid__products li.product h2 a, .wc-block-grid__products li.product h3 a, .wc-block-grid__products li.product .woocommerce-loop-product__title a, .wc-block-grid__products li.product .wc-block-grid__product-title a, .wc-block-grid__products .wc-block-grid__product h2 a, .wc-block-grid__products .wc-block-grid__product h3 a, .wc-block-grid__products .wc-block-grid__product .woocommerce-loop-product__title a, .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title a{ color: #your-color !important; }
November 22, 2021 at 8:39 am #17532LucasSupport ExpiredThis reply has been marked as private.November 22, 2021 at 11:04 am #17575Hi,
#1. Please copy this css code to file style.css ( child-theme):
li.product .product-block:hover .content-product-imagin{ background-color: #your-color; }
#2. Change color:
– Category:
ul.products li.product .posted-in a, ul.products .wc-block-grid__product .posted-in a, .wc-block-grid__products li.product .posted-in a, .wc-block-grid__products .wc-block-grid__product .posted-in a{ color: #your-color !important; }
– the number of comments:
ul.products li.product .technocy-count-review, ul.products .wc-block-grid__product .technocy-count-review, .wc-block-grid__products li.product .technocy-count-review, .wc-block-grid__products .wc-block-grid__product .technocy-count-review{ color: #your-color !important; }
– Price:
ul.products li.product .price, ul.products .wc-block-grid__product .price, .wc-block-grid__products li.product .price, .wc-block-grid__products .wc-block-grid__product .price{color: #your-color !important;}
November 23, 2021 at 8:50 am #17600LucasSupport ExpiredPerfect! There is just one small thing left to fix:
The change of color of the price in promotion as on the following screenshot:
https://ibb.co/MMWBS9dAnd the “…” that also appear in the base color of the theme when the title is too big. (https://ibb.co/frgD8Rm)
November 23, 2021 at 11:10 am #17625Hi,
#1. Price sale:
ul.products li.product .price del, ul.products .wc-block-grid__product .price del, .wc-block-grid__products li.product .price del, .wc-block-grid__products .wc-block-grid__product .price del{ color: #your-color !important; }
#2. title:
ul.products li.product h3.woocommerce-loop-product__title{ color: #your-color !important; }
November 23, 2021 at 5:00 pm #17647LucasSupport ExpiredThis reply has been marked as private.November 24, 2021 at 10:32 am #17675Ok,
ul.products li.product .price ins, ul.products .wc-block-grid__product .price ins, .wc-block-grid__products li.product .price ins, .wc-block-grid__products .wc-block-grid__product .price ins{ color: #your-color !important; }
November 24, 2021 at 3:36 pm #17686LucasSupport ExpiredThis reply has been marked as private.November 24, 2021 at 3:48 pm #17688LucasSupport ExpiredThis reply has been marked as private.November 24, 2021 at 4:27 pm #17692Try to use css code:
ul.products li.product .product-caption-bottom, ul.products .wc-block-grid__product .product-caption-bottom, .wc-block-grid__products li.product .product-caption-bottom, .wc-block-grid__products .wc-block-grid__product .product-caption-bottom{ background-color: #your-color !important; }
-
AuthorPosts
You must be logged in to reply to this topic.