Skip to main content
All CollectionsPersonal websitesWordPress
WordPress: How to adjust white spaces (padding) before media
WordPress: How to adjust white spaces (padding) before media

One easy fix for WordPress websites

Gregory Claeyssens avatar
Written by Gregory Claeyssens
Updated over 2 months ago

Videos that we send from StoryChief are responsive. We do this by adding some code to your article. 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". To add more whitespace, change the 0 to a higher number so that additional whitespaces gets added (e.g. 5px).

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?