YotuWP Plugin: Custom CSS

1 year ago

3 min read

Posted by:

Focus

Subscribe to newsletter

By subscribing you agree to with our Privacy Policy.

Share

Go to Dashboard > Appearance > Customize and add this custom CSS.

LIGHT MODE CSS

/* YOTUWP CAROUSEL CSS - LIGHT MODE */

@media only screen
and (max-device-width: 1200px)
{
	div.yotu-lightbox .yotu-lightbox-overlay  {
		background: rgba(0,0,0,0)
	}}

@media only screen
and (min-device-width: 1200px)
{
	div.yotu-lightbox .yotu-lightbox-overlay  {
		background: rgba(0,0,0,0.75)
	}}


@media only screen
and (max-device-width: 1200px)
{
	div.yotu-lightbox .yotu-lightbox-body {
    position: absolute;
    top: 0%;
		max-height: 0vh;
	}}

	div.yotu-playlist {
	padding: 0px 0px !important;
}

.yotu-videos {
	padding: 0px 0px !important;
}

.yotuicon-close {
	display: none
}

@media only screen
and (min-device-width: 1200px)
{
div.yotu-wrapper-player {
	width: 75vw;
	height: auto-flow;
	overflow-x: visible
	}}

@media only screen
and (min-device-width: 1200px)
{
div.yotu-lightbox .yotu-lightbox-body {
    position: absolute;
    top: ;
		max-height: 100vh;
}
}

.yotu-thumb-169 .yotu-video-thumb-wrp>div, .yotu-thumb-169.yotu-thumbnails.owl-carousel .owl-item>div {
	border-radius: 3px
}

div.yotu-videos .yotu-video h3 {
	font-family: roboto;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4em!important;
	padding-right: 10px;
	margin: 5px 0 0;
}

body div.yotu-videos .yotu-video .yotu-video-title {
	color: #000000!important;
	text-decoration: none;
}

div.yotu-videos .yotu-video h3
{
	display: block; /* Fallback for non-webkit */
  display: -webkit-box;
  height: 3em; /* Fallback for non-webkit, line-height * 2 */
  line-height: 1.5em;
  -webkit-line-clamp: 2; /* if you change this, make sure to change the fallback line-height and height */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}



/* (END) YOTUWP CAROUSEL CSS - LIGHT MODE */


DARK MODE CSS

/* YOTUWP CAROUSEL CSS - DARK MODE */


@media only screen
and (max-device-width: 1200px)
{
	div.yotu-lightbox .yotu-lightbox-overlay  {
		background: rgba(0,0,0,0)
	}}

@media only screen
and (min-device-width: 1200px)
{
	div.yotu-lightbox .yotu-lightbox-overlay  {
		background: rgba(0,0,0,0.75)
	}}


@media only screen
and (max-device-width: 1200px)
{
	div.yotu-lightbox .yotu-lightbox-body {
    position: absolute;
    top: 0%;
		max-height: 0vh;
	}}

	div.yotu-playlist {
	padding: 0px 0px !important;
}

.yotu-videos {
	padding: 0px 0px !important;
}

.yotuicon-close {
	display: none
}

@media only screen
and (min-device-width: 1200px)
{
div.yotu-wrapper-player {
	width: 75vw;
	height: auto-flow;
	overflow-x: visible
	}}

@media only screen
and (min-device-width: 1200px)
{
div.yotu-lightbox .yotu-lightbox-body {
    position: absolute;
    top: ;
		max-height: 100vh;
}
}

.yotu-thumb-169 .yotu-video-thumb-wrp>div, .yotu-thumb-169.yotu-thumbnails.owl-carousel .owl-item>div {
	border-radius: 3px
}

div.yotu-videos .yotu-video h3 {
	font-family: roboto;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4em!important;
	padding-right: 10px;
	margin: 5px 0 0;
}

body div.yotu-videos .yotu-video .yotu-video-title {
	color: #FFFFFF!important;
	text-decoration: none;
}

div.yotu-videos .yotu-video h3
{
	display: block; /* Fallback for non-webkit */
  display: -webkit-box;
  height: 3em; /* Fallback for non-webkit, line-height * 2 */
  line-height: 1.5em;
  -webkit-line-clamp: 2; /* if you change this, make sure to change the fallback line-height and height */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* (END) YOTUWP CAROUSEL CSS - DARK MODE */

Read more

PHP

< 1 min read

Maximize PHP Settings Manually on Plesk

Go to ‘File Manager’, edit .htaccess, and add this code after # END WordPress

Read more

Breakpoints

< 1 min read

CSS Media Rule Based on Screen Sizes

This is very helpful for limiting custom CSS to certain breakpoints. Usage examples are Scrollbar, Offset Slides and Offset Carousel

Read more

Global

3 min read

Improve the Quality of the Scrolling Experience with Custom CSS Scrollbars

Hello guys! Have you ever thought about how to improve the appearance of the scrollbar on your website page? A good scrollbar

Read more

Container

< 1 min read

Make Container Scrollable

Add this on the column’s custom CSS panel. Adjust the ‘max-height’ to your needs.

Read more

See How It Works

Create better websites, faster.

Download the Entire Library

Adaptative, neutrally designed components.

Customer Service

Focus Website

Today, March 12

Hi, there 👋

How can I help you?

Start Chat with:

We use cookie to improve your experience on our site. By using our site you consent cookies.