Styles breaking ‘background-attachment: fixed’
-
I have confirmed there are styles set by this plugin which can break the
background-attachment: fixedCSS property. This means if you want to assign a parallax background on blocks, it will not work on the front end if you have this plugin activated.File:
/off-canvas-sidebars/slidebars/slidebars.cssLines 120-123:
[data-canvas], [data-off-canvas] { -webkit-transform: translate( 0px, 0px ); -ms-transform: translate( 0px, 0px ); transform: translate( 0px, 0px );These lines cause the CSS property
background-attachment: fixedto stop working.When the lines are removed or overridden, everything works as expected:
[data-canvas], [data-off-canvas] { -webkit-transform: none !important; -ms-transform: none !important; transform: none !important; }I am not sure if these are actually required to have the Slidebars menu working — when I apply the overrides, the side menu and everything else still works fine for me.
I hope this is helpful for other users who have run into this problem.
Hopefully a fix for this can be released soon.
Thanks!
The topic ‘Styles breaking ‘background-attachment: fixed’’ is closed to new replies.