[Resolved] CSS Styling Issue variantions

Home Forums Support [Resolved] CSS Styling Issue variantions

Home Forums Support CSS Styling Issue variantions

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1655100
    nik9

    Hello,

    I have a styling issue for mobile. How can I adjust (only on that product page) this to this for mobile only? => https://ibb.co/wg1cpSN

    I tried with .variations {text-align-last: center;} but that does not work..

    Cheers

    #1655105
    Ying
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .vi-wpvs-variation-wrap {
        justify-content: center;
        -webkit-justify-content: center;
        -moz-justify-content: center;
    }

    Let me know πŸ™‚

    #1655113
    nik9

    Thanks!

    Now I use this CSS:

    But.. it does not work on iPhone.. safari & chrome tested. Do I have to use for that different options?

    .vi-wpvs-variation-wrap {justify-content: center !important;}
    
    .vi-wpvs-variation-style .vi-wpvs-variation-wrap-wrap {text-align-last: center;}
    
    .woocommerce div.product form.cart .variations td.label {text-align-last: center;}
    
    td.value.vi-wpvs-variation-style-content {text-align-last: center;}
    #1655143
    Ying
    Staff
    Customer Support

    Yea.. that’s browser support issue. Edited CSS here have a try:
    https://generatepress.com/forums/topic/css-styling-issue-variantions/#post-1655105

    #1655341
    nik9

    perfect! thanks! πŸ™‚

    #1656313
    Ying
    Staff
    Customer Support

    No problem πŸ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.