z-index and CPT
-
Hi there
What a fantastic, smart plugin! You’re a genius ;D
I encountered a minor issue that is related to a theme I use.
It’s navigation uses a sticky menu that shows up once I start to scroll down a page/post. It consists of the main menu (visible on all pages) and submenu that shows up on some on custom post type (CPT) pages. To display your reading progress bar correctly, I applied the offset value in pixels, and it works all fine on regular post/pages displaying only the main menu.Unfortunately,m when it comes to the CPT pages, the submenu shows up, covering the progress bar. I assume it would be rather difficult to diverse the offset setting for different types on menu combinations, but I’ve got an idea to apply z-index making the progress bar appearing always on top of the submenu.
Could to advise what kind of selector, class or ID I should define in custom css to make it like this? Or maybe there is a way to apply different offset setting for the main menu (offset #1) + the main menu + submenu (offset #2) anyway (the most ideal solution)?
Also, is it possible to apply “Time Commitment” not only to post/pages, but to CPT, just like it’s done for Progress bar’s “Display On”?
One more time, congratulations on the plugin, I really appreciate your work! 5 stars!
- The topic ‘z-index and CPT’ is closed to new replies.