# RTL mode

**URL:** <https://community.elfsight.com/t/rtl-mode/76460>\
**Category:** YouTube Gallery\
**Created:** [October 18, 2024, 7:38am UTC](https://community.elfsight.com/t/rtl-mode/76460 "2024-10-18T07:38:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [October 18, 2024, 7:38am UTC](https://community.elfsight.com/t/rtl-mode/76460/1 "2024-10-18T07:38:06Z")

</div>

Add this code to the Custom CSS field on the Appearance tab of your [YouTube Gallery](https://elfsight.com/youtube-channel-plugin-yottie/) widget’s settings:

```auto
.global-styles,
.yottie-widget-header-info *,
.yottie-widget-feed-section-search *,
.yottie-widget-video *,
.yottie-popup-video-content * {
direction: rtl !important;
}

.global-styles,
.yottie-popup-video-meta-channel-logo {
margin-right: 0 !important;
margin-left: 16px;
}

.global-styles,
.yottie-popup-video-rating-dislikes-icon,
.yottie-popup-video-rating-likes-icon {
margin-right: 0 !important;
margin-left: 8px;
}

.global-styles,
.yottie-popup-video-comments-item-profile-image {
margin-right: 0 !important;
margin-left: 12px;
}

.global-styles,
.yottie-popup-video-comments-item-name {
margin: 0 0 2px 8px !important;
}

.global-styles,
.yottie-popup-video-share-popover-content-item-icon,
.yottie-popup-video-share-popover-content-item-title {
margin-left: 0 !important;
margin-right: 12px;
}

```
