[Resolved] CSS specificity issue in main.css

Home Forums Support [Resolved] CSS specificity issue in main.css

Home Forums Support CSS specificity issue in main.css

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2323244
    Jake

    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.

    #2323317
    David
    Staff
    Customer Support

    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 ?

    #2323479
    Jake

    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.

    #2323714
    David
    Staff
    Customer Support

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.