CTA in sidebar display:none – why?
-
I’ve created a CTA, published it, previewed it (it looks OK. It’s just a single image).
I then added the ‘Call to Action Static Widget’ to my sidebar and selected the CTA I just created. I made sure visibility settings was OK.
Saved it, and refreshed front-end. Nothing shows. So I viewed the source, and I can see the CTA HTML, but it includes inline CSS that’s hiding it.
<div id="wp_cta_1844_variation_0" class="inbound-cta-container wp_cta_content wp_cta_variation wp_cta_1844_variation_0" style="overflow: hidden;display:none; margin:auto; width: 225px; height: 200px;" data-variation="0" data-cta-id="1844"><div class="wp-cta-badfocus"> <!-- CTA code here --> </div></div>If I remove that inline CSS from inspector, it displays as expected.
Why is this happening?
I tried previewing a different theme as well, and it as the same thing.
Thanks for your help.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘CTA in sidebar display:none – why?’ is closed to new replies.