Fix to z-index for heavy themes
-
Hello, I’m a happy user of this plugin. But it has a small problem on some heavy themes: the progress line does not show properly.
I solved it by adding this rule to .pace .pace-progress, .pace .pace-activity:
z-index:999999;
That will ensure you are able to always see the line, no matter what.
Not to mention that if you implement it on a WooCommerce site, where uses with rcustomer role cannot see the admin bar in the frontend, it may look weirdo if your theme does not have a secondary menu with the same exact height than the admin bar. Anyway, this may be fixed by adding a rule to the if and don’t augment the margin-top if the user is logged-in BUT his role is “customer”. Don’t know if there is some hook to detect whereas the user has access to the admin bar or not, but if so, could help in other scenarios, like Groups, subscribers, learning sites, etc.
Best regards!
- The topic ‘Fix to z-index for heavy themes’ is closed to new replies.