Cart off canvas text formatting with unnecessary linebreaks

Hi there,

I’m using cart off canvas and added “German Market” to WooCommerce to make it legally secure.
The extension adds a paragraph with links to legal pages. The format works fine in the cart but not in the cart off canvas. There are unnecessary linebreaks that I would like to get rid off.

Hi @ArtOfSpring,

Thanks for reaching out.
The content shows inside a table as a row in the Cart page, whereas in the Cart Off Canvas the content shows within the Paragraph which is the reason why the anchors are implemented with the default style and broken into the different line.

To override the default style, you need to add the following custom CSS code into the Customize > Element CSS of the Cart Off Canvas element.

p.jde_hint
{
    width: 100%;
}

p.jde_hint a
{
    width:auto;
    display:inline-block !important;
}

Please remember that the above code will work if copied as it is and doesn’t conflict with any existing style.
Please note that the code provided serves only as a guide to help you get started custom coding on your own if there’s no option offered in our theme or the products we bundle.
We really do not provide support for custom codes that means we can’t fix it in case it conflicts with something on your site nor will we enhance it.

Thanks

thanks a lot! that worked

You are most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.