Turn off transition
-
Hey Armin,
I have different background-colors for most of my projects. When I click on the project it feels like a little delay and then the background-color changes. But it´s to slow and cheesy.
Is there an option for turning off the transition of the background-color? I already tried css, but it won´t work.
The code I tried:
.body {
-webkit-transition: none !important;
-moz-transition: none !important;
-o-transition: none !important;
-ms-transition: none !important;
transition: none !important;
}I hope you have a better idea to solve this problem.
Thx a lot,
Chris -
Your css looks right, but there shouldn't be a dot in front of body.
That should work:body { -webkit-transition: none !important; transition: none !important; }
There will still be a slight delay though cause the project needs to be fetched from the server before the background color is applied.
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it