Text layout gets fumbled in all text imput fields (visual is fine, result is not)

This topic has 12 replies, 3 voices, and was last updated 2 minutes ago ago by Jack Richardson

  • Avatar: Bas_Kling
    Bas Kling
    Participant
    January 27, 2026 at 11:32

    Hi,

    -The following problem exists throughout the website, in all text editing input boxes-
    When creating text blocks, in any visual editor, the HTML codes are not created to support the desired layout.
    The visual box shows the text just fine (https://imgur.com/mpXIuNo) but the code field doesn’t reflect the paragraph tags (https://imgur.com/4U7jdqJ), so the resulting text block is just unstructured (https://imgur.com/bkt3MZx)

    We’ve disabled multiple plugins to correct the problem, but it persists.
    You can check this within any page, any text editor. In our example, we’ve used the Custom Tab within a product.

    Content is visible for topic creator and
    support staff only.
    11 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 27, 2026 at 15:03

    Hi,

    Thank you for getting in touch with us.

    The behavior described in your question is the default for such fields and, unfortunately, is not affected by the theme you are using. Therefore, it is not something we can modify on our side.

    In your case, we recommend addressing the situation as follows:
    – To add spacing between paragraphs, you can use the
    tag https://www.w3schools.com/tags/tag_br.asp and https://www.geeksforgeeks.org/html/html-nbsp/
    – To create indentation from the left edge for lists, you can apply the CSS code that we will provide.

    .woocommerce-tabs .panel ul {
        padding-left: 50px !important;
    }

    If you notice any other inconsistencies or wish to implement additional styles, please describe the desired outcome, and we will be glad to assist you in achieving it.

    Best regards,
    8Theme Team

    Avatar: Bas_Kling
    Bas Kling
    Participant
    January 27, 2026 at 15:34

    We get that we can use HTML tags. Unfortunately, once we do, we check the text block by switching back to Visual, and then back to Code, only to find that the manually entered HTML tags are removed! To clarify: all visual layouts are also removed (paragraphs)….
    Do you recognize similar issues when trying to edit a text, or is it only on our website?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 28, 2026 at 10:55

    Hello @Bas Kling,

    We have tested the same situation for excerpt field on product using the default theme, and below are the detailed results of the mentioned request:

    1. We created custom content with a paragraph and a heading (https://gyazo.com/841ede5bbcd3182625a0dcce46271612). Indeed, when switching between the Visual and Code tabs, the same issue occurs, as the paragraph tags are removed.
    2. In the Visual Editor, we added a list with items for testing purposes (https://gyazo.com/1ba91870d815609e5a8489386da41009).
    3. We checked the frontend, and any line without a tag is recognized as a paragraph, so such lines are automatically wrapped in a “p” tag (https://prnt.sc/3kfr6L9pVKR6).
    4. The same modification applies to excerpts or any other content added in the WordPress editor when using our XStore theme (https://prnt.sc/tCQeQD6NYxXx).

    Based on the above, please do not worry about the absence of paragraph tags in these areas. However, regarding the specific section within the tabs, there is an issue where empty lines are not wrapped in paragraph tags as in previous excerpt area. We have already implemented a fix in our files, and this improvement will be included in the next theme update. Additionally, we have added the improves in same files on your web-site and also the following lines were added to your “child-theme/functions.php” file:

    add_filter( 'etheme_single_product_tab_content', 'wpautop' );
    add_filter( 'etheme_single_product_custom_tab_01_content_filter', 'wpautop' );

    Please note that we recreated the same content on our local website (https://prnt.sc/lW8Bon-AgxSj), and the solution implemented in “child-theme/functions.php” (https://prnt.sc/Uh4Zwd657m_N) worked successfully on the single product frontend for Single product custom tab content (https://prnt.sc/h7XZO1OMFgrc). However, we still do not see any changes on your website, which might be caused by the use of a CDN. We kindly ask you to clear the caches and check again. If the issue persists, please temporarily disable the CDN so that we can recheck the situation.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: Bas_Kling
    Bas Kling
    Participant
    January 28, 2026 at 12:44

    Hi Jack,

    We’ve cleared all cache, disabled CDN, but it seems the problem persists.
    1) Created a text in code, using tags: https://imgur.com/1VyLM5e
    2) Switched to visual editor: https://imgur.com/l0Z81br
    3) Switched back to code editor, to check editor behavior: https://imgur.com/OjUguRy
    4) Checked output on website, paaragraphs are gone: https://imgur.com/jGDMNl8

    Content is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 28, 2026 at 13:11

    Hello @Bas Kling,

    Thank you for checking. It should work correctly on the frontend; however, as we have already mentioned, such paragraph tags will be lost after switching in your editor.

    We previously asked you to temporarily disable the CDN, but as we can see, it is still active on your website: https://prnt.sc/q5e2PrXyiEkD. If you have any server caching enabled, please disable it as well.

    Additionally, we attempted to log in to your FTP account, but the access details you previously provided were incorrect. We would appreciate it if you could share the correct credentials so that we can verify whether the changes have been properly applied to your files.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: Bas_Kling
    Bas Kling
    Participant
    January 28, 2026 at 14:52

    Hio Jack,

    Apologies, I thought I just needed to clear the CDN. Kinsta allows for these basic tasks in the WordPress backend panel. I will need to take a closer look inside Kinsta’s control panel.

    As for FTP, please see credentials in private

    -EDIT-
    CDN has been disabled

    Content is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 28, 2026 at 16:35

    Hello @Bas Kling,

    Could you please verify whether the access details you provided are correct? We are encountering fatal errors when attempting to connect (please see the attachment in the private area).

    On a positive note, we discovered using the current wp admin access that an additional filter was missing to be added by us in one of the modified files on your website. Since multiple files had been changed, we have now implemented this improvement, and the content is properly wrapped in paragraphs. You can review the result here: https://prnt.sc/zrjoPrVi8z_E.

    Please check and let us know if everything is working correctly.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Content is visible for topic creator and
    support staff only.
    Avatar: Bas_Kling
    Bas Kling
    Participant
    January 28, 2026 at 16:57

    That’s funny, because paragraphs seem to have vanished throughout the entire website, subsequently compacting all of our texts: https://imgur.com/i7Xzj2s

    -EDIT- I noticed that creating a new FTP user also created a new port (in private). Apologies

    -EDIT 2- We’ve checked all blog pages, text pages, products… Nowhere is the paragraph layout visible in the front-end. It seems updating the files didn’t go as planned, or perhaps there’s a conflict with the earlier code-fix in functions.php?

    Content is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 28, 2026 at 17:19

    Hello @Bas Kling,

    The mentioned changes have been applied only to the content within the single product tabs as mentioned filters (https://www.8theme.com/topic/text-layout-gets-fumbled-in-all-text-imput-fields-visual-is-fine-result-is-not/#post-465030) are filtering the content only of tabs and not across pages. Additionally, we have checked several pages, and the paragraphs are displayed correctly on the frontend via web inspector: https://prnt.sc/Q1vudbiLNweH. However, as you can see, there is a custom style that removes the spaces between paragraphs: https://prnt.sc/muWjDR5J190i. This CSS was not added by us but possibly by you or one of your developers, so you can remove it to restore the proper spacing (https://prnt.sc/5hCVJflt_VxL).

    If you experience any issues on specific frontend pages, please provide the corresponding URLs so that we can review them from our side.

    Also, could you please confirm whether the content in the tabs is now displayed correctly with the proper tags?

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: Bas_Kling
    Bas Kling
    Participant
    January 28, 2026 at 17:33

    Hi Jack,

    Thanks for your prompt response. I had to check for a minute, and it seems that the mentioned CSS code was added to minimise the space between the product variations and the stock info. Removing it, solved our problem. Thanks!

    Expecting some push back on our end, can you help us with the right classes to address when we want to minimise that space without fumbling up the paragraph tags?

    On that topic, can you tell us why Xstore’s ‘formcart’ is built the way it’s built? Other than selecting a horizontal layout (with its own layout challenges), there doesn’t seem to be an option to design that part of the product page. In its current format, there’s a LOT of white space that we don’t see in many Shopify pages. Having that stretched layout waters down the buying experience.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 28, 2026 at 17:48

    Hello @Bas Kling,

    To assist you in improving the spacing, please attach an example product and provide screenshots indicating which spaces you would like to reduce. This will allow us to provide you with the correct CSS classes.

    Regarding the form.cart, according to WooCommerce requirements, the product attributes, variation stock and the “Add to Cart” button should be placed within a single html form tag. If you need to reduce the spacing, you can do so using custom CSS, as we provide global types of layouts that can be used on most web-sites but if you need anything more specific you can ajust your design with custom CSS.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

  • Viewing 12 results - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.