Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Codepen Code not working



  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

2 answers to this question

Recommended Posts

  • 0


the situation is more complex in your live site because you have many more elements. The code you've written is working as expected but the layers you want to see are hiding behind other elements drawn by squarespace. 

To remedy this you need to bump up the z-Index of your sub menus. You've got a rule in your site css that looks something like this (which kicks in at wider "desktop" levels). just edit it as below to add a zindex, this is essentially a "bring to front" command.

@media (min-width: 800px)
.main-navigation ul ul {
    display: none;
    position: absolute;
    z-index: 100;

That should answer your question as you posed it.


Dave Hart. Software/Technology Consultant living in London

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...