Home Forums WoodMart support forum Hello, how can I shorten the name of a product to 1 line? in widget

Hello, how can I shorten the name of a product to 1 line? in widget

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #189378

    adio060693@mail.ru
    Participant

    Hello, how can I shorten the name of a product to 1 line? in widget

    Attachments:
    You must be logged in to view attached files.
    #189403

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    I saw the screenshot you attached to limit the product title in the widget on the main page. You need to add the following Custom CSS in the Custom CSS for desktop area under Theme Settings >> Custom CSS.

    .product_list_widget a {
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    }

    Best Regards.

    #189405

    adio060693@mail.ru
    Participant

    Great, now you need to raise the price and the text under the name …

    Attachments:
    You must be logged in to view attached files.
    #189417

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    I saw the screenshot you attached. To move the Price and text aside the image you need to add the following Custom CSS in the Custom CSS for Desktop area under Theme Settings >> Custom CSS.

    .product_list_widget .woocommerce-Price-amount {
    position: absolute;
    margin-left: 78px;
    margin-top: -50px;
    }
    .product_list_widget .time-left {
    position: absolute;
    margin-left: 78px;
    margin-top: -30px;
    }

    Best Regards.

Viewing 4 posts - 1 through 4 (of 4 total)