# How to Center Images and Videos in the Content Area

Source: https://help.itsflourish.com/memberships/how-to-center-images-and-videos-in-the-content-area

This video will show you how to center images and videos in the content area of the membership portal.

```css
Custom CSS:

@media screen and (max-width:500px) {
  iframe {
 max-width:100% !important;
  height:auto !important;
}
}

Embed code for before and after the iframe code:

At the start: <center>

At the end: </center>

```
