[Resolved] Shadow effect second nav

Home Forums Support [Resolved] Shadow effect second nav

Home Forums Support Shadow effect second nav

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #226646
    Karim

    Hello Tom,

    I’m having trouble getting a shadow effect on the bottom of the second navigation, which i use as a topbar.

    The box-shadow css i apply works for every element on the site, including the main navigation, but only the second nav is giving me trouble.

    Can you please help?

    Here’s the link:
    http://webshop.primemedia.nl/

    Thanks in advance sir:)

    #226680
    Tom
    Lead Developer
    Lead Developer

    What CSS are you using? I’m not seeing any shadow CSS added to the secondary navigation.

    #226694
    Karim

    Hey Tom,

    I deleted it.

    I tried several. Like these below:

    #secondary-navigation.secondary-navigation{
    -webkit-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.75);
    }

    And i also tried #secondary-navigation alone and .secondary-navigation alone.

    #226697
    Tom
    Lead Developer
    Lead Developer

    Can you re-add it so I can see which part isn’t working?

    #226698
    Karim

    done

    #226700
    Tom
    Lead Developer
    Lead Developer

    Looks like the shadow is hidden behind the header.

    Try adding some margin below the navigation:

    .secondary-navigation {
        margin-bottom: 10px;
    }
    #226701
    Karim

    You are boss!!

    Thanks again;)

    #226705
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

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