Home Forums WoodMart support forum Show attributes on cart without line break

Show attributes on cart without line break

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #150402

    horny_fungus
    Participant

    Hi, at the moment attributes selected for variable products are shown on cart and checkout pages with line break, like this:

    [attribute 1 name]:
    [selected variation]
    [attribute 2 name]:
    [selected variation]
    

    It takes a lot of space and looks ugly. I want them to be displayed without line break, like this:

    [attribute 1 name]: [selected variation]
    [attribute 2 name]: [selected variation]
    
    #150475

    Hello,

    As you want to display the attributes in one line as they are currently shown after a line break in different places like cart, checkout etc.

    There is no such option to change this behavior. To change this behavior requires customization which is beyond our limitations and support policy.

    Best Regards.

    #150666

    horny_fungus
    Participant

    I was given this CSS code by WooCommerce representatives:

    .woocommerce .product-name .variation dt{
        float: left;
        margin-right: 5px;
        display: block;
    }

    It does the trick for standard themes, but does not work with Woodmart. So your theme overwrites it somehow. Maybe you can provide some solution based on above mentioned CSS?

    #150713

    Hello,

    Thanks for sharing the CSS code but as the CSS code provided by WooCommerce representatives.

    I can’t provide you solution based on the upper CSS code. I have tried this code and modifying it but it does not work even on my test site. As I already described you that it requires customization and this is beyond our limitations and support policy.

    Best Regards.

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