Site logo

Archived topic

CSS specificity issue in main.css

3 replies · Started by Jake on August 25, 2022

Viewing posts 1–4 of 4

Hi,

I am currently building a widget to place in the off-canvas widget area that involves a multi-depth <ul> as a product filter. Unfortunately there is some CSS in the generatepress/assets/css/main.min.css which hides .main-navigation ul ul. I think this CSS should be more specific to target only navigation <ul> elements. Forgive me if I have misunderstood/am misusing, but hope this is helpful if not.

Thanks,
Jake.

Hi there,

yeah we are aware of that, it's a hard one to change without potentially affecting sites that may be fine with their widget area / hooked content inheriting those styles.

For now it means treating the affected widget with some additional CSS - do you need a hand with that ?

Ah, that makes sense - understood. No I'm fine with overriding the CSS thanks, just wanted to let you know.

Thanks a lot - loving your work as always.

Thanks for taking the time go give feedback and for the kind words - it is much appreciated

This archived topic is closed to new replies.