Hi GP
I have encountered an issue using two separate block elements and the logged in and logged out display conditions.
I’m trying to have some buttons/links hooked into the header change depending on logged in/out state. I can get that part working fine, but I’ve started to notice the styling of the GB button block breaks, usually after being logged out and then loggin in or vice versa. It’s as if the styling for each state is not available if it changes.
I found a support thread here reporting a pretty similar issue using logged in/out display conditions but it was never resolved.
https://generatepress.com/forums/topic/different-site-headers-for-logged-in-and-logged-out-user-and-different-pages/
I’m wondering if there’s anything I need to be aware of here regarding GB styling and the logged in/out state? Regenerating GB’s CSS cache and clearing the caching plugin I use restores the styling of either state but it usually returns again.
Would be grateful of any advice on how to get it working and styling correctly between the two states.
Thanks