embedded video background-color class button

Pitter
66 Posts
Pitter posted this 12 December 2020
Ask a Question

I have a website with a themler template. One page is created with nicepage. All works fine, but when I go on the video with the mouse cursor, the video chenges to a blue rectangle.

videohover.png

Reason is this css-code from themler:
.bd-button:focus, .bd-button:hover, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) button:focus, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) button:hover, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=button]:focus, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=button]:hover, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=submit]:focus, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=submit]:hover, a.bd-button[href]:focus, a.bd-button[href]:hover, button.bd-button:focus, button.bd-button:hover, button:not([class]):focus, button:not([class]):hover, input.bd-button:focus, input.bd-button:hover, input[type=button]:not([class]):focus, input[type=button]:not([class]):hover, input[type=submit]:not([class]):focus, input[type=submit]:not([class]):hover {
background-color: transparent;
text-decoration: none;
color: #fff;
background-image: none;
}

the line 'background-color' is changed by me from blue to transparent for quick solution.

  • What has the nicepage video to to with css button?
  • How can I remove the blue hover background from video and remain buttons with blue hover in themler?

Regards

Peter

I have a website with a themler template. One page is created with nicepage. All works fine, but when I go on the video with the mouse cursor, the video chenges to a blue rectangle. !videohover.png! Reason is this css-code from themler: *.bd-button:focus, .bd-button:hover, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) button:focus, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) button:hover, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=button]:focus, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=button]:hover, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=submit]:focus, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=submit]:hover, a.bd-button[href]:focus, a.bd-button[href]:hover, button.bd-button:focus, button.bd-button:hover, button:not([class]):focus, button:not([class]):hover, input.bd-button:focus, input.bd-button:hover, input[type=button]:not([class]):focus, input[type=button]:not([class]):hover, input[type=submit]:not([class]):focus, input[type=submit]:not([class]):hover { **background-color: transparent;** text-decoration: none; color: #fff; background-image: none; }* the line 'background-color' is changed by me from blue to transparent for quick solution. - What has the nicepage video to to with css button? - How can I remove the blue hover background from video and remain buttons with blue hover in themler? Regards Peter
Vote to pay developers attention to this features or issue.
9 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 14 December 2020

Hi Peter,

The video poster uses an HTML BUTTON element that matches the CSS selector from Themler style. It looks like this is button:not([class]):hover selector. But this is strange because the poster button should have ".u-video-poster" class. You can override the background color for this selector with custom css. It should help.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Peter, The video poster uses an HTML BUTTON element that matches the CSS selector from Themler style. It looks like this is button:not([class]):hover selector. But this is strange because the poster button should have ".u-video-poster" class. You can override the background color for this selector with custom css. It should help. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp

Last edited 14 December 2020 by Support Team

Pitter
66 Posts
Pitter posted this 14 December 2020

I found this code:

u-video-background-color.jpg

I found this code: !u-video-background-color.jpg!
Support Team
Support Team posted this 15 December 2020

Hi,

Yes, this is it.
You need to set background for this element, For example:

.u-video-poster:hover
{
background-color: transparent;
}

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi, Yes, this is it. You need to set background for this element, For example: .u-video-poster:hover { background-color: transparent; } ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Pitter
66 Posts
Pitter posted this 19 December 2020

Hi Olivia!

Unfortunately this does not work. blue rectangle on hover is back when I use code above.

When I add the whole code block it's ok:
/* no Video background */
.bd-button:focus, .bd-button:hover, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) button:focus, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) button:hover, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=button]:focus, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=button]:hover, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=submit]:focus, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=submit]:hover, a.bd-button[href]:focus, a.bd-button[href]:hover, button.bd-button:focus, button.bd-button:hover, button:not([class]):focus, button:not([class]):hover, input.bd-button:focus, input.bd-button:hover, input[type=button]:not([class]):focus, input[type=button]:not([class]):hover, input[type=submit]:not([class]):focus, input[type=submit]:not([class]):hover {
background-color: transparent;
text-decoration: none;
color: #fff;
background-image: none;
}

/* does not work

.u-video-poster:hover
{
background-color: transparent;
}

*/

Sincerely
Peter

Hi Olivia! Unfortunately this does not work. blue rectangle on hover is back when I use code above. When I add the whole code block it's ok: /* no Video background */ .bd-button:focus, .bd-button:hover, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) button:focus, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) button:hover, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=button]:focus, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=button]:hover, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=submit]:focus, .bd-tagstyles:not(.bd-custom-button):not(.shape-only) input[type=submit]:hover, a.bd-button[href]:focus, a.bd-button[href]:hover, button.bd-button:focus, button.bd-button:hover, button:not([class]):focus, button:not([class]):hover, input.bd-button:focus, input.bd-button:hover, input[type=button]:not([class]):focus, input[type=button]:not([class]):hover, input[type=submit]:not([class]):focus, input[type=submit]:not([class]):hover { background-color: transparent; text-decoration: none; color: #fff; background-image: none; } /* does not work .u-video-poster:hover { background-color: transparent; } */ Sincerely Peter
Support Team
Support Team posted this 21 December 2020

Hi Peter,

Could you please provide a link to the page that demonstrates the issue so we can see the source of this video element?

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Peter, Could you please provide a link to the page that demonstrates the issue so we can see the source of this video element? ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Pitter
66 Posts
Pitter posted this 21 December 2020

Hi Olivia,

URL is https://notenfighter.de/ausbildung

Sincerely
Peter

Hi Olivia, URL is https://notenfighter.de/ausbildung Sincerely Peter
Support Team
Support Team posted this 21 December 2020

Hi Peter,

Thank you.
The code is applied but need important rule:

.nicepage-container button.u-video-poster:hover {
    background-color: transparent!important;
}

Please let us know if you have any further questions.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Peter, Thank you. The code is applied but need *important* rule: .nicepage-container button.u-video-poster:hover { background-color: transparent!important; } Please let us know if you have any further questions. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Pitter
66 Posts
Pitter posted this 22 December 2020

Hi Olivia,

great! Thanks a lot for great support.

Wish you Merry Christmas!

Sincerely
Peter

Hi Olivia, great! Thanks a lot for great support. Wish you Merry Christmas! Sincerely Peter
Support Team
Support Team posted this 22 December 2020

Hi Peter,

You're welcome. Please let us know if you have any further questions.

Wish you Merry Christmas and Happy New Year!

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Peter, You're welcome. Please let us know if you have any further questions. Wish you Merry Christmas and Happy New Year! ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments