• Resolved Conroy Bagpipe

    (@conroy-bagpipe)


    using Neve theme and want to sick top menu bar, but it hasn’t unique identifier. Can I use more complex selector like “#some-id div.some-class” to point sticky element?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes, you can.

    Have you tried using #header-grid or #header-grid .header-main yet?

    Thread Starter Conroy Bagpipe

    (@conroy-bagpipe)

    Ok, I tried you variants
    #header-grid is working, but #header-grid .header-main not.
    And I also tried #header-grid .header-top and .site-header .header-top.
    Not working.

    I would suggest to use #header-grid, as this will make the entire header sticky.

    If you only want the white strip sticky, you can try #header-grid .header-main:nth-of-type(1). This will only make it sticky on desktops, though.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Advanced element selector’ is closed to new replies.