Home Forums WoodMart support forum Horizontal outline for the Variable products on Mobile view

Horizontal outline for the Variable products on Mobile view

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #101052

    Schuifdeurexpert
    Participant

    Hi,

    On the product pages I would like to outline the product variables or swatches horizontal instead of vertical and place them right below the variable title. (see image)

    Is there a way to do this?

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

    Hello,

    Please add this code to the Theme Settings > Custom CSS > in all the devices

    .variations_form .variations tr {
            display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
        margin-bottom: 10px;
    }
    .variations_form .variations tr:last-child {
        margin-bottom: 0;
    }
    body .variations_form .variations td {
        padding-bottom: 0;
        margin-bottom: 10px;
    }

    Best Regards

    #101677

    Schuifdeurexpert
    Participant

    Perfect! thank you 🙂

    #101680

    Schuifdeurexpert
    Participant

    I also would like to change the size of the Swatch/Variable titles (see image)
    Any idea how to do this?

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

    Hello,

    Add this code to the Theme Settings > Custom CSS > Global:

    .variations_form .variations label {
        font-size:18px;
    }

    Set the font-size as per your needs.

    Best Regards

    #101863

    Schuifdeurexpert
    Participant

    thanks again!

    #101870

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

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