Skip to Content Skip to Menu

[SOLVED] Gallery

  • krileon
  • krileon
  • ONLINE
  • Posts: 48424
  • Thanks: 8274
  • Karma: 1443
2 years 1 month ago #330704 by krileon
Replied by krileon on topic Gallery

How can I change the black border to white? 

The background of the media container is not black unless that has already been changed by your CSS. It's likely the black box bars for the video as videos aren't squared while the container is. Where are these videos coming from? YouTube or uploaded?

And is it possible to add the video title? The title only comes up when you hover the mouse over it.  

The title is displayed via hover. Use CSS to get rid of the hover behavior and always display it if you want it always displayed.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

2 years 1 month ago #330721 by karloshull
Replied by karloshull on topic Gallery
Hi,

The videos are coming from youtube, so what can I do with the black borders?

I have just beeen looking  at the css for the video title.

Do I need to change this line of coding?
.cb_template .galleryModalDisplay:hover .galleryModalInfo {
    display: block !important;
}

If so, do I change it in user.css? 

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48424
  • Thanks: 8274
  • Karma: 1443
2 years 1 month ago #330726 by krileon
Replied by krileon on topic Gallery
Can't do anything about them. That's the thumbnail YouTube provided. The black bars are a part of the image itself.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

2 years 1 month ago #330727 by karloshull
Replied by karloshull on topic Gallery
ok, what about my second question?


I have just beeen looking at the css for the video title.

Do I need to change this line of coding?
.cb_template .galleryModalDisplay:hover .galleryModalInfo {
display: block !important;
}

If so, do I change it in user.css?

Karl

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48424
  • Thanks: 8274
  • Karma: 1443
2 years 1 month ago #330729 by krileon
Replied by krileon on topic Gallery
It uses opacity to show/hide. The footer has the cbCanvasLayoutFooter class on it in addition to cbCanvasLayoutHoverShow. Review the CSS applied and adjust the opacity in your own custom CSS to force opacity back to 1. You can then add your custom CSS to CB using CSS overrides feature shown below.

www.joomlapolis.com/blog/kyle/18711-template-css-overrides-made-easy


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

2 years 1 month ago #330741 by karloshull
Replied by karloshull on topic Gallery
Hi,

in the overrides I wrote

.cbCanvasLayoutFooter
{
opacity: 1 !important;
}

But it doesn't work. Please will you help me with the CSS.

The website is an online community website for disabled people, where we can chat and help each other by sharing our experiences. This network of disabled people is 100% free and run and controlled by disabled people.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum