HomePage › Forums › Themes Support › Smarthaus – Smarthome Products WooCommerce Theme › Title cho sản phẩm không đồng đều
- This topic has 5 replies, 2 voices, and was last updated 3 years, 1 month ago by Billy Nguyen.
-
AuthorPosts
-
March 17, 2021 at 10:38 am #6915miluki01Support Expired
Chào bạn,
Mình có sử dụng theme thì thấy title của sản phẩm không đều nhau. Bạn có thể giúp mình fix lại cho đều được không, ví dụ sẽ limit thành 2 line, nếu thừa thì sẽ thay bằng dấu …
Kind regards,
HiệpMarch 17, 2021 at 11:02 am #6918Hi Hiep,
Mình không đăng nhập được vào website của bạn để sửa css.
Đoạn code css limit 2 dòng và để … nếu title dài hơn đã có sẵn rồi, mình chỉ fix thêm chiều cao cố định của title để nó đều hơn thôi.Bạn thêm đoạn css này vào file style.css trong child-theme nhé:
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{ height: 45px; }
Nếu cần thêm hỗ trợ thì cho mình biết nhé.
Đừng quên vote 5 sao cho team mình.Cảm ơn bạn!
March 17, 2021 at 11:07 am #6919miluki01Support ExpiredThis reply has been marked as private.March 17, 2021 at 1:22 pm #6921Ko hiểu sao mình thêm css custom trong cả child theme và Customize đều ko nhận css, hiện tại mình fix thẳng vào main theme thì ok rồi.
March 17, 2021 at 2:43 pm #6927miluki01Support ExpiredMình thấy được rồi bạn.
Cảm ơn bạn nhé.March 17, 2021 at 2:54 pm #6929OK bạn,
Phiền bạn vào themeforest.net và đánh giá 5 sao cho team mình nhé.
Cảm ơn bạn rất nhiều!
-
AuthorPosts
You must be logged in to reply to this topic.