Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Navigation menu box shadow confusion

  • This topic is empty.
Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #133191
    simpletwist
    Participant

    @Krish1980

    This is exactly what I was looking for. What is missing is that when a link is clicked that the “white box with drop shadow” doesn’t move to the active state. Please let me know if this makes sense.

    *I’m new to this sort of thing, so forgive my ignorance. I’m trying to figure out what I did correctly and where I failed.

    Thank you for putting it in code. that is an amazing tool.

    #133194
    jurotek
    Participant

    [Here…](http://codepen.io/anon/pen/bzFaA “”) with slight tweak for active hover state

    #133197
    Podders
    Participant

    And [here](http://codepen.io/Podders/pen/ksEce “Here”) with a little JS to handle the “active” class on clicks

    #133201
    simpletwist
    Participant

    Perfect! Many thanks.

    #133361
    simpletwist
    Participant

    At some point I plan on integrating into wordpress. In the mean time, how would i add the js into static html for practice?

    * Are the dropdown in css too (in url provided)?

    #133423
    simpletwist
    Participant

    I think the JS solution is better for the long run. When you are referring to the latest JS library you mean something like;

    #133425
    simpletwist
    Participant

    #133426
    simpletwist
    Participant

    [js library?]( “js link”)

    #133427
    simpletwist
    Participant

    * I can’t seem to paste the code to the latest Google library. Seems to disappear when I add as a link or as code.

Viewing 9 posts - 16 through 24 (of 24 total)
  • The forum ‘CSS’ is closed to new topics and replies.