Title: CSS for spacing
Last modified: January 22, 2021

---

# CSS for spacing

 *  [emlawp](https://wordpress.org/support/users/emlawp/)
 * (@emlawp)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/css-for-spacing/)
 * Is there are reference for the CSS? I’m using this plugin to embed YT videos 
   in a course built with LearnPress. This uses the Classic Editor for posts and
   course layouts. When I include a video using the shortcode there is no space 
   above the video and I can’t find the CSS that I need so that I can set padding
   and margin for the player.

Viewing 1 replies (of 1 total)

 *  Thread Starter [emlawp](https://wordpress.org/support/users/emlawp/)
 * (@emlawp)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/css-for-spacing/#post-13942120)
 * To add to this, I did customise this in CSS but it is not adding space to all
   videos. On some pages it seems to work.
 * /* YT Player */
    .plyr { margin-top: 30px; margin-bottom: 30px; }

Viewing 1 replies (of 1 total)

The topic ‘CSS for spacing’ is closed to new replies.

 * ![](https://ps.w.org/yt-player/assets/icon-128x128.png?rev=3050695)
 * [YT Player – Embed and Customize Video Players](https://wordpress.org/plugins/yt-player/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yt-player/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yt-player/)
 * [Active Topics](https://wordpress.org/support/plugin/yt-player/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yt-player/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yt-player/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 1 reply
 * 1 participant
 * Last reply from: [emlawp](https://wordpress.org/support/users/emlawp/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/css-for-spacing/#post-13942120)
 * Status: not resolved