Product (disable description) - by misha

This topic has 6 replies, 2 voices, and was last updated 2 years, 10 months ago ago by Rose Tyler

  • Avatar: misha
    misha
    Participant
    June 19, 2021 at 13:36

    Здраствуйте,

    Подскажите, как убрать описание и сумму в элементе “Product” https://prnt.sc/15xl9ws

    Хотелось оставить только фото и название https://prnt.sc/15xlk6k

    Спасибо!

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 19, 2021 at 14:10

    Hello,

    Custom CSS code can be used to achieve the desired result. Please provide URL of page on your site.
    Do you want to get the same on Shop page?

    Regards

    Avatar: misha
    misha
    Participant
    June 19, 2021 at 14:47

    Сайт еще не запущен. Я оставил данные для входа в Private content area…

    Нет, я хотел бы сделать этот эффект только на домашней странице.

    Спасибо

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 19, 2021 at 15:04
    .home .product-details .st-swatch-in-loop,
    .home .content-product .price,
    .home .content-product .products-page-brands,
    .home .swiper-slide .content-product .product-details .button {
        display: none;
    }

    Regards

    Avatar: misha
    misha
    Participant
    June 19, 2021 at 15:12

    Спасибо!

    Теперь все отлично.
    Подскажите, пожалуйста, как можно сделать полное название (уменьшить шрифт) и выровнять от левого края (сейчас по центру).

    Спасибо, Ваши ответы сильно помогают.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 19, 2021 at 17:26

    Theme Options > WooCommerce > Shop > Product style > Product Title Chars Limit works for all pages of the site, and there is no possibility do not apply it for the Home page only. Try to change “Product Title Limit By” from “Chars” to “Lines” and set 1 line via Theme Options.
    Use this code to change the align:

    .home .content-product .product-title {
        text-align: left;
    }

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.