How to align my home page text - by GreenTechBD

This topic has 7 replies, 2 voices, and was last updated 5 years, 4 months ago ago by Rose Tyler

  • Avatar: GreenTechBD
    GreenTechBD
    Participant
    July 19, 2020 at 13:13

    in my home page the product name alignment is not okay, i want to align the product name in same alignment, how do i fix it, thank you null

    6 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 19, 2020 at 13:20

    Hello,

    Add the next code in Theme Options > Theme Custom CSS > Global 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;
    }

    Regards

    Avatar: GreenTechBD
    GreenTechBD
    Participant
    July 19, 2020 at 13:29

    thank you, its working but only few product are okay, slider product are same

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 19, 2020 at 13:38

    Add this code also

    .swiper-container {
        display: flex;
        align-items: stretch;
    }
    .product-slide .product {
        display: flex;
        height: 100%;
    }
    .swiper-wrapper {
        height: auto;
    }

    Regards

    Avatar: GreenTechBD
    GreenTechBD
    Participant
    July 19, 2020 at 14:03

    how do i fixed this

    Avatar: GreenTechBD
    GreenTechBD
    Participant
    July 19, 2020 at 14:07

    Thank you so much Rose
    nice its fixed
    one more question
    if i update the theme the changes is available or not ? or need to make changes again .

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 19, 2020 at 14:16

    You’re welcome!
    After the theme update, all will be fine, custom CSS won’t disappear.

    Regards

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

The issue related to '‘How to align my home page text’' has been successfully resolved, and the topic is now closed for further responses

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