Archived topic
Remove background from Convert Kit form side bar widget
7 replies · Started by Christopher on October 4, 2021
I am using a convert kit sidebar form to collect email addresses. However, rather than the form just displaying in the sidebar, it sits in a widget block with a bunch of border space around it. Is there a way to have the form sit in the sidebar and fill the entire space, rather than having the widget block background?
Hi there,
try adding this CSS to remove the padding:
.sidebar .widget_convertkit_form {
padding: 0;
}
Added it but it did not do anything.
Hi Christopher,
I don't see David's code has been added to your site yet, can you clear cache after changes are made?
If after clearing cache it still doesn't work, can you disable your cache plugin to test?
Let me know :)
Hi,
Oh, that's because I removed the code when it did not work. I added it back, cleared cache, and also tested with WP Rocket deactivated, and it still didn't seem to do anything. The code should still be there for you to see.
In the Customizer Additional CSS you have a . before the CSS i provided. Remove that as its breaking the CSS below it.
That worked. Thanks!
Glad to hear that!