Classes added to Text element are being output twice
Dear support,
I spotted a bug when adding classes to a text element. On each page I have a global section that contains the page title (Text element). I added a few classes to this text element so it has a white background and box shadow so the page title stands out more.
However my classes are being output twice. There are two elements containing my text element that both have these classes although I only put it in the text element.
This happens at https://minekefoundation.org/, but since the website is under construction, you can only view it when logging in.
Here is a copy of the html that is being output for this element.
So the classes I added to the text element are:
• be-page-heading
• be-with-divider
• left
As you can see below it gets shown twice and cleared my Browser and Website cache multiple times.
— — —
<div class="brz-css-pityy brz-wrapper be-page-heading be-with-divider left">
<div class="brz-d-xs-flex brz-css-wvjyd be-page-heading be-with-divider left">
<div class="brz-rich-text brz-css-wkgey" data-custom-id="axifnfooyu">
<h1 class="brz-tp-heading1">
<span class="brz-cp-color1">
<span data-population="brizy_dc_post_title">
Ons verhaal
</span>
</span>
</h1>
</div>
</div>
</div>
— — —
Please let me know for whom I can create an admin account so you can check this out yourselves.
At the moment of writing I have the latest Brizy(2.0.12), Brizy Pro(2.0.6) and Wordpress 5.5.1 (Note the bug was already there before I updated to the latest Brizy and Wordpress).
Best regards,
Christiaan
-
Hi Christiaan,
Thanks for the message.
I'm switching this conversation into a private mode. We need to take a look on the page.
Regards, Natalia
0 -
Same issue. The class applied to the element is also being applied to the wrapper generated for the element. This prevents you from being able to apply styles only to the element with the class, as they are also applied to the elements wrapper. Gonna figure out a workaround for now, but this is a huge issue when it comes to customization. I've enjoyed everything else that I've experienced thus far with Brizy.
0 -
Hi,
Just want to let you know that this is on the to-do list and one of our developers will look into it.
0
Please sign in to leave a comment.
Comments
3 comments