MB Views in Woocommerce product description
- This topic has 8 replies, 2 voices, and was last updated 4 years, 4 months ago by
Trejka.
-
AuthorPosts
-
June 30, 2021 at 10:18 PM #29224
Trejka
ParticipantHi, I have a problem with text formating in Woocommerce product description. I have add a custom filed in the product decription. The decription field is divided into two columns: left column (2/3 width) is the original Woo decription filed and the right column (1/3 width) is my custom METABOX field.
The test link
http://tredemos.xyz/tsklep2/produkt/oceanwp-motyw-wordpress/The problem is that all formating spaces are gone in the left column. The paragraphs are merged in one long text.
Here are the screenshoot of the text inside the admin dashboard
http://tredemos.xyz/tsklep2/wp-content/uploads/2021/06/zrzut_002-1.jpgWhat am I doing wrong? Please help.
My layout code in the Views:
<div class="flex"> <div class="flex-1"> {{ post.content }}</div> <div class="flex-2"> {{ post.wysiwyg_zi2yg9vvg5h }} </div> </div>and the css settings:
@media only screen and (min-width: 761px) { .flex-1 { width:65%; margin-right: 30px; float:left;} .flex-2 {width:30%; float:right;} } @media only screen and (max-width: 760px) { .flex-1 { width:100%; margin-right: 0px; float:none;} .flex-2 {width:100%; float:none;} }July 1, 2021 at 2:16 PM #29230Long Nguyen
ModeratorHi,
Thank you for reaching out.
I do not see the
<p>tag (paragraph) on the product description, screenshot https://share.getcloudapp.com/4gun4q0zCan you please check the tab Text of the description when editing the product?
July 1, 2021 at 2:46 PM #29231Trejka
ParticipantHi,
Yess you are right. But when I'm turning off the Metabox plugin <p> tag is back! It's like the plugin is cutting off all tags.
The same link
http://tredemos.xyz/tsklep2/produkt/oceanwp-motyw-wordpress/
without the Metabox pluginJuly 2, 2021 at 6:24 AM #29242Long Nguyen
ModeratorHi,
Please share your site credentials via this contact form https://metabox.io/contact/. I will help you to check the issue.
July 2, 2021 at 11:47 AM #29249Trejka
ParticipantDone
July 2, 2021 at 10:33 PM #29254Long Nguyen
ModeratorHi,
Thank you for your additional information.
Even deactivate the plugin Meta Box, the
<p>tags are not inserted into your paragraphs when switching to the tab Text. Screenshot https://share.getcloudapp.com/z8uOGylyYou can manually add the
<p>or<div>tags to separate paragraphs.July 3, 2021 at 12:22 AM #29255Trejka
ParticipantHi,
For a test I changed the theme and the issue is the same. So the Woocommerce plugin not adding any <p> or <div> to the product description. Am I right?July 3, 2021 at 8:34 AM #29261Long Nguyen
ModeratorHi Trejka,
I also experience this issue with WooCommerce when using the default theme Twenty TwentyOne. You can try to contact Woo support to get more info.
July 3, 2021 at 1:57 PM #29265Trejka
ParticipantThank you
-
AuthorPosts
- You must be logged in to reply to this topic.