sticky header and vertical scroll touch device problem on Elementor - css

I'm using Elementor Pro and the plugin Sticky Header Effects for Elementor.
I made a transparent sticky header. On scroll, the background header and the color logo are change by the plugin Sticky ....
To change the menu color, I use this code :
.elementor-sticky--effects a,
.elementor-sticky--effects i{
color: black !important;
}
.elementor-sticky--effects a:hover,
.elementor-sticky--effects i:hover{
color: #F7CA00 !important;
}
.elementor-sticky--effects .sub-menu a:hover,
.elementor-sticky--effects .sub-menu i:hover{
color: #F7CA00 !important;
}
It works perfectly except on a touch device.
If I scroll at once, it works, but if I scroll at several times, the menu stay white, not black.
Here is the URL : https://dev.thomasgibot-blanc.elodieherault.fr/conferences/
For the moment, it is a development site that I must deploy soon.
In advance, thank you for your help !

Related

How To Change The Header Background Color On Wordpress Website

I'm trying to change the entire header background color of my wordpress website by using the "additional css", what would I need to enter in to achieve this? I'd like the entire header to be black.
I've tried various things but I can't seem to get anything to work.
This is the css for black header
.main-header-bar {
background: #000 !important;
}
In addition, you also may like this, White logo >>
.site-title a, .site-title a:focus, .site-title a:hover, .site-title a:visited {
color: #f3f4f5;
}
White Menu color >>
.main-header-menu a, .ast-header-custom-item a {
color: #f3f4f5;
}

WP Twentyseventeen Menu Color Change Not Working

I've almost successfully changed the default white text and gray background menu color in the TwentySeventeen theme for WordPress by adding the lines below to a childtheme style.css stylesheet.
Menu ScreenShot
However, the menu still very briefly displays the default menu color as I mouse off any given selection in the sub-menus. I'm a hack when it comes to CSS and have spent hours trying to find a solution on line. Any suggestions? Thank you very much.
/*Change Drop Down Menu and Sub-Menu Hover and Text Color */
.menu a:hover,
.menu li:hover>a {
background-color: rgb(220, 225, 200) !important;
/* light green */
color: #000000 !important;
}
Seems like that because that there are 2 backgrounds, one on the li
and second on the a
The grey background is on the li so you just need to "reset" it
.main-navigation li li:hover,
.main-navigation li li.focus {
background: none;
}

How to change color of hover on sub-menu

I'm trying to change the hover color of my sub-menu in the top navigation of my site but nothing seems to work. It appears to be picking up the grey color used in my footer but nowhere else as the hover color. This is the code I've been using to get it to work:
.navbar-inverse .dropdown-menu, a:hover {
color: #cc3300;
border-bottom-color: #cc3300;
border-bottom-width: 5px;
}
It could be something else in my other navbar and dropdown menu css codes that's overwriting it but I can't figure out where it is. Theoretically, this should work but it doesn't.
Any suggestions?
partyfavorz.com
Here this should help, you need to add the "!" tag as shown below for background and color:
.navbar-inverse .dropdown-menu a:hover {
background: #CC3300 !important;
color: #fff !important; }
Best regards! Edited to change the hover to red and keep the font to white.

How to Change main menu color?

i have a issue with menu that i cant change text color in mini fixed meni in this site
I tryed to add this CSS to custom CSS:
.classic-menu .menu-item a {
color: #000;
}
but when set color to #000 then color in main menu is turn black. So i want color in main menu to be white in black background, and in mini fixed menu when scroll down, to be white background with black font color. How to do this?
Thanks.
Do this in your CSS:
.classic-menu .menu-item a {
color: #fff;
}
.mini .menu-item a {
color: #000;
}
.classic-menu is basically the regular state of your menu (when the background is black)
.mini-active is basically when the mini menu is activated, this way you'll get black for the mini menu and white for the regular one.
Hope that helps!
Try this
write this code for your main menu, I think this is your main menu class
.classic-menu .menu-item a
{
background-color:#000;
color:#fff;
}
write this code for your sticky menu or scroll menu class, i don't know your scroll menu class
{
background-color:#fff;
color:#000;
}
to override this class use !important

How to change background colour of left menu in Inspinia

The Inspinia AngularJS framework has a demo here for those who don't use it.
For the life of me, I cannot see how to change the background colour of the navigation menu on the left. It should be simple, but I just can't find it, even using the Chrome developer console.
[Update] I want to change the color programmatically from AngularJS, what's the best way to do that? Maybe add an Id to the background div?
Make some changes, according to the images below:
I hope to have helped in some way
i guess this will help u
body{
background-color: #F44336;
}
.nav-header{
background-color: #F44336;
background-image: none;
}
.nav > li.active{
background: #c7635b;
}
.navbar-default .nav > li > a:hover, .navbar-default .nav > li > a:focus{
background-color: red;
}
.nav-header and other elements in your sidebar use background-image and those images are opaque, not showing the background color. You need to check (and reset) background-image property of items in your sidebar for this.
Example:
.nav-header {
background-image: unset;
}
#side-menu {
background-color: #933;
}
.nav > li.active {
background-color: #833;
}
Keep inspecting your elements until you find what rule sets the backgorund-image, background-color or background (shorthand) for the element, copy the selector of the currently applying rule and place it in your own stylesheet, changing the value of the property. Make sure you load it after the rest of your stylesheets.
There is no background-color defined in sidebar, its the background-color of body, and the middle content section has light grey bg color, so change the body-color and sidebar color will be changed.

Resources