Home>Support>Menu Shadow and icon

Menu Shadow and icon

Hi,
I have two questins:
1. How to make a shadow around my promary menu? This is the css3 code I want to implement:
box-shadow: 2px 2px 7px 3px rgba(119, 119, 119, 0.1);
-moz-box-shadow: 2px 2px 7px 3px rgba(119, 119, 119, 0.1);
-webkit-box-shadow: 2px 2px 7px 3px rgba(119, 119, 119, 0.1);
2. I want to add a small icon arrow at the right on these menu tabs, which have sub menus. can I do this?
Thank you,

URL: http://www.luga.bg

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 11 months ago ngrudev

    I forgot to mention that I want the shadowa around my sub menus. Thank you.

  2. 8 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    Hi ngrudev

    The arrow can be added to parent menu items, even if they are Custom Links, using:

    https://wordpress.org/plugins/menu-icons/

    .main-navigation
    

    is the selector to use:

    .main-navigation {
    box-shadow: 2px 2px 7px 3px rgba(119, 119, 119, 0.1);
    -moz-box-shadow: 2px 2px 7px 3px rgba(119, 119, 119, 0.1);
    -webkit-box-shadow: 2px 2px 7px 3px rgba(119, 119, 119, 0.1);
    }
    
  3. 8 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    Ahh, sorry, didn’t read further.

    To target sub-menus try something like:

    .main-navigation ul ul {
    box-shadow: 2px 2px 7px 3px rgba(119, 119, 119, 0.1);
    -moz-box-shadow: 2px 2px 7px 3px rgba(119, 119, 119, 0.1);
    -webkit-box-shadow: 2px 2px 7px 3px rgba(119, 119, 119, 0.1);
    }
    
  4. 8 years, 11 months ago ngrudev

    Works great ! :))

  5. 8 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    Super, glad that helped.

    All the best.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More