Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Css code on Videos main stream

9 years 4 months ago
Licenses:
JomSocial Active Socialize Expired

I added this code in a way to incease the size of the thumbails on my site.
.joms-media--video, .joms-media--album {
max-width: 800px;
}
.joms-media__thumbnail {
height: 200px;
width: 250px;
}

As you see, the Thumb is bigger and also the description cover the width and look good.
My question is:
Wich code can i modify or wich is the code for when i press PLAY the "box" where the video is running looks covering just the video without black borders?
BTW: Dirty Dancing is a classic, please! Jajajajajaja!
Thank you!!!!!!!!!!!!!!!!!!!!!!!
Have an Amazing day ;-)
J.C.

Attachments:
9 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

Please you use this css code :

.joms-media__thumbnail > iframe {
    width: 100%;
    height: 601px;
}

thank you!

9 years 4 months ago
Licenses:
JomSocial Active Socialize Expired

Im sorry Dimas, just one thing about the code.
The code you give me works perfect, for me is very big the video ones press play so i modify just a little the code:
.joms-media__thumbnail > iframe {
width: 100%;
height: 401px;
}


.joms-media--video, .joms-media--album {
max-width: 800px;
}

.joms-media__thumbnail {
height: 150px;
width: 250px;
}
401px insted 601px that you give me...
Now i have two black frames.
I tried to "touch" the with but doesnt stay centered...
Miss i something?
Thank you and sorry to bother...
J.C.

Attachments:
9 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

you only can change the width and height, make sure the video size is fit for you, I am sure you able to do it right? :)

well, that is responsive matter.. on some small browser the video size can be different

thank you

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW