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

    Hi
    Is there a way, in cart page and only on mobile devices portrait · width: 375px (iPhone 6s), to align the product description to the left (currently it is aligned to the center) ???

    I try this CSS by unfortunately it’s don’t work:
    ———————————————————————————
    @media only screen and (max-width: 480px) {
    .responsive #top.woocommerce-cart table .product-name {
    text-align: left;
    }}
    ———————————————————————————
    Thanks

    #1010768

    Hey giorgio_betagrafic,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    
    @media only screen and (max-width: 480px) {
        .product-name a, dl.variation p {
            width: 100%;
            display: block;
            text-align: left;
            padding: 5px;
        }
        .tm-cart-edit-options {
            margin-left: 0px;
        }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1010818

    Hi,
    Thank you,
    I tried on iPhone 6s, but unfortunately it only works for Firefox App but it does not work with Safari.
    :-(

    #1010893

    Hi giorgio_betagrafic,

    Well, Safari has its own user styles, please try the code like this

    
    
    @media only screen and (max-width: 480px) {
        .product-name a, dl.variation p {
            width: 100%;
            display: block;
            text-align: left;
            padding: 5px;
        }
        .tm-cart-edit-options {
            margin-left: 0px;
        }
    }
    @media only screen and (max-width: 990px) {
        dd {
            -webkit-margin-start: 0px;
        }
        dd p {
            -webkit-margin-before: 0em;
            -webkit-margin-after: 0em;
            -webkit-margin-start: 0px;
        }
    }

    Best regards,
    Victoria

    #1011368

    Thanks, but unfortunately it does not work.

    #1011414

    Hi giorgio_betagrafic,

    Hm…. one more try:

    
    @media only screen and (max-width: 990px) {
        dl.variation p {
            margin: 0;
            padding: 0;
            text-align: left;
        }
    }
    

    Best regards,
    Victoria

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