Modify alignment, size and order of variation swatches, product name, price and add to cart in store

9 replies2 participantsUpdated by Luca Rossi

  • Avatar: LVRB Love's Rebel
    LVRB
    Participant

    Hello! I need to modify the alignment, size and order of variation swatches, product name, price and add to cart in store to make it more organized.

    I need to align the text to the left, have the product name come first, then the price and under the price the variations. Can adding to cart only be with a “+” sign or can the size be changed to be more minimalist?

    I am attaching an image of what it looks like on my site and one of an example site of how I want it to look.

    Can you send me a code to make these modifications please.

    Thank you

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.

    9 Answers

    Avatar: Justin
    Luca Rossi
    Support staff

    Dear @LVRB,

    We hope this message finds you well.

    Please accept our apologies for the delayed response, as our team was out of office over the weekend.

    We kindly request that you temporarily disable all firewalls so that our team can access your website for further investigation and support.

    For your reference, please see the following screenshot:
    https://prnt.sc/UfKHGg4_MTga

    Thank you for your cooperation. Should you have any questions or concerns, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: LVRB Love's Rebel
    LVRB
    Participant

    Please send me the IP from where you will access so I can add it to the cloudflare whitelist so they can enter.

    Avatar: Justin
    Luca Rossi
    Support staff

    Dear @LVRB,

    Please check the Private Content Area.

    Thank you!

    Please contact administrator
    for this information.
    Avatar: LVRB Love's Rebel
    LVRB
    Participant

    that’s it ok! Please check

    Avatar: Justin
    Luca Rossi
    Support staff

    Dear @LVRB,

    We would like to inform you that our IP address has recently changed. Could you please add the following IP address to your system: 171.247.106.135?

    We appreciate your assistance and thank you in advance for your support.

    Best regards,
    The 8Theme Team

    Avatar: LVRB Love's Rebel
    LVRB
    Participant

    that’s it ok new IP!

    Avatar: Justin
    Luca Rossi
    Support staff

    Dear @LVRB,

    To align the product details to the left, kindly add the following custom CSS under:

    XStore > Theme Options > Theme Custom CSS > Global CSS:

    
    body .text-center.product-details {
        text-align: left;
        padding: 0 15px 15px;
    }
    

    Please note that it is not possible to replace the “Add to Cart” button with a “+” icon. However, you do have the option to remove the quantity field next to the cart button, as shown in the following screenshot: https://prnt.sc/O916ITqSAF1-

    Should you have any further questions, feel free to reach out.

    Kind regards,
    The 8Theme Team

    Avatar: LVRB Love's Rebel
    LVRB
    Participant

    I need a code to change the view order of product details. I need them to be seen in this order:

    1. product name
    2. price product
    3. variations
    4 add to cart

    I also need a code to change the size of the add to cart button please.

    Avatar: Justin
    Luca Rossi
    Support staff

    Dear @LVRB,

    Kindly try adding the following custom CSS under XStore > Theme Options > Theme Custom CSS > Global CSS:

    
    body .text-center.product-details {
        display: flex;
        flex-direction: column;
    }
    
    body .content-product .product-title {
        order: 0;
    }
    
    body .content-product .price {
        order: 1;
    }
    
    body .content-product .quantity-wrapper {
        order: 3;
    }
    
    body .st-swatch-in-loop {
        order: 2;
    }
    
    body .content-product .add_to_cart_button {
        padding: 8px 10px !important;
    }
    

    Additionally, could you please disable the quantity field so that the CSS can be properly applied to the “Add to Cart” button?

    Should you have any questions or need further assistance, please do not hesitate to reach out.

    Kind regards,
    The 8Theme Team

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register