Setting Default Display for Paragraphs in Cwicly: Achieving 'Flex' Instead of 'Block

Is it possible to set a default display for paragraphs in Cwicly? I am using the Pricing Table recommended in a tutorial ’ Interactions: Pricing - Thursday Theme Day #11 - WordPress Gutenberg’. However, when the display property for a block is initially set to “none” and then undone, it defaults to “Block” instead of “Flex”.
Unfortunately, this doesn’t align with my requirements as I need it to be set to “Flex”. Could you please assist me in resolving this issue?

Hi @weedor,

Thank you for bringing this to our attention.

Indeed, I have been able to reproduce this behaviour.
We will be reviewing this when possible, to avoid this from happening.

For the time being, I would suggest to wrap your paragraph in a div, so that the display property gets added at the div level and not affect your paragraph.
Make sure to remove the data-cc-pricing-attribute from the paragraph and add it to the div instead.

Please let me know if this helps!

1 Like

Thank you @Araminta
The solution you proposed runs super fine.


1 Like