All Collections
Personal websites
WordPress: How to remove white spaces (padding) before media
WordPress: How to remove white spaces (padding) before media

One easy fix for WordPress websites

Gregory Claeyssens avatar
Written by Gregory Claeyssens
Updated over a week ago

Videos that we send from StoryChief are responsive. We do this by adding some code to your story. However, it may be that this conflicts with your own personal theme or plugins. This help article will show you how to override this.

Remove padding on WordPress

Step 1. Log in to the backend of your WordPress website

Step 2. In the sidebar, go to "Appearance" ➜ "Customize".

Step 3. Click on "Additional CSS".

Step 4. Add the following CSS styling, and click on "Publish":

figure .embed-container > div {padding-top: 0 !important;}

πŸ”” Note: If you use a caching plugin, make sure to empty its cache. Get in contact with us if the issue persists.

πŸŽ‰ That should take care of it!

Check out the next steps below for more in-depth guides or follow-up actions.

πŸ“š Next steps

Did this answer your question?