Forums

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

Home Forums Other Dropdown Menu Icons

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #208834
    mo_da92
    Participant

    Hello,

    I want to create some icons in my dropdown menu and was wondering how to do this?

    The website is http://www.gadjetsupply.com and here is an example of what I want to do:

    http://www.gadjetsupply.com/wp-content/uploads/2015/09/Yellow-Dropdown-Icons.jpg

    The yellow icons on the right dropdown menu is what I am trying to do.

    Thanks guys!

    #208845
    mo_da92
    Participant

    Thank you for your answer Paulie.

    My problem is not the icons, the above are just examples. The problem I have is actually putting them into the website! At the moment the dropwdown menu just has the text, I want to add icons next to the text.

    Any help on how to add icons on the dropdown menu will be great thanks!

    #208927
    mo_da92
    Participant

    Thanks for the reply Paulie,

    http://codepen.io/anon/pen/XmprLO

    That is css relating to the menu I think.

    Thanks!!

    #209005
    mo_da92
    Participant

    I am not sure how to find the HTML, I am using Divi Theme for WordPress… Is there any way to do it with just css?

    #209387
    mo_da92
    Participant

    If I make a mix of the following two codes I can almost get it how I need it:

    http://codepen.io/anon/pen/PPjNNy

    What they do is put an icon in all the dropdown menus, and I can choose different icons.

    The problem is that I don’t know how to get different icons for different dropdown menus! For example, if I use the current code the first item on every dropdown menu will have the same icon – but I need every icon on every dropdown menu to be different.

    Anything that can be done here?

    #210217
    mo_da92
    Participant

    Bump… if anyone can please help me with this that would be awesome!

    #210219
    Beverleyh
    Participant

    Have you tried targeting the first level li with nth-child() in the same way that you’re targeting li li with nth-child()?

    To be more specific, we need your HTML

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Other’ is closed to new topics and replies.