How to edit a message in xstore - by Berindean Calin

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

  • Avatar: Berindean_Calin
    Berindean Calin
    Participant
    January 7, 2021 at 17:20

    Hi, how can I edit the message “Product added” when I choose a product from store ( I want to translate the message ). Also I didn’t find how to translate ” RELATED PRODUCTS ” and i would like if i can align the products from the picture bellow ( the green bar to be at the same level )

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 8, 2021 at 09:17

    Hello,

    Thanks for using our theme. Please post different questions via different topics – https://www.8theme.com/forums/xstore-wordpress-support-forum/

    Follow this article to translate the theme – https://www.8theme.com/documentation/xstore/theme-translation/ , and WooCommerce – https://docs.woocommerce.com/document/woocommerce-localization/ Do not forget about Core plugin. Loco translate > Plugins > XStore Core > New language > Choose a language + Choose a location – System > Start translating.

    Add the next code in Theme Options > Theme custom CSS:

    .main-products-loop .product, .products-loop .product, .carousel-area .product-slide .product {
        display: flex;
        justify-content: center;
    }
    .products-loop .ajax-content, .products-loop {
        display: flex;
        flex-wrap: wrap;
        flex: 1;
    }
    .content-product {
        flex-direction: column;
        justify-content: space-between;
        display: flex;
        flex: 1;
    }
    .content-product .quantity-wrapper {
        margin-right: auto;
        margin-left: auto;
    }
    .swiper-container {
        display: flex;
        align-items: stretch;
    }
    .product-slide .product {
        display: flex;
        height: 100%;
    }
    .swiper-wrapper {
        height: auto;
    }

    Regards

    Avatar: Berindean_Calin
    Berindean Calin
    Participant
    January 8, 2021 at 11:56

    So it’s almost good ( the code for aligment ). But i would like if it’s possible to align the product images and the text description to be under each pose (align) ( to start from the product image bellow )

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 8, 2021 at 13:43

    Add this code also:

    .sale-wrapper {
        position: absolute;
        width: 90px;
    }

    Regards

    Avatar: Berindean_Calin
    Berindean Calin
    Participant
    January 9, 2021 at 10:14

    The images are fixed now but the product text are not align under the pictures, they’re align on “cumpara” green sign. How can i center it bellow images.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 9, 2021 at 18:47

    There is no such possibility, unfortunately. You can make titles shorten via Theme Options > Woocommerce > Shop > Products style > Product Title Chars Limit

    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.