• how to make the WordPress Dynamic Menu to active. Im using

    this code

    .main-navigation {
    //background:#fff;
    color: #000000;
    background: rgb(250,250,251); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(250,250,251,1) 0%, rgba(210,212,216,1) 100%, rgba(216,208,239,1) 100%, rgba(210,212,216,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(250,250,251,1)), color-stop(100%,rgba(210,212,216,1)), color-stop(100%,rgba(216,208,239,1)), color-stop(100%,rgba(210,212,216,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(250,250,251,1) 0%,rgba(210,212,216,1) 100%,rgba(216,208,239,1) 100%,rgba(210,212,216,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(250,250,251,1) 0%,rgba(210,212,216,1) 100%,rgba(216,208,239,1) 100%,rgba(210,212,216,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(250,250,251,1) 0%,rgba(210,212,216,1) 100%,rgba(216,208,239,1) 100%,rgba(210,212,216,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(250,250,251,1) 0%,rgba(210,212,216,1) 100%,rgba(216,208,239,1) 100%,rgba(210,212,216,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=’#fafafb’, endColorstr=’#d2d4d8′,GradientType=0 ); /* IE6-9 */

    font-size: 15px; /* Font awesome icons */
    margin: 0 -35px -20px -35px;
    height: 45px;

    }

    .main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
    zoom: 1; /* Second level menu items */
    font-family: century gothic;
    }

    .main-navigation ul:before {
    content: ”;
    display: block;
    }

    .main-navigation ul:after {
    clear: both;
    content: ”;
    display: table;
    }

    .main-navigation ul li {
    position: relative;
    color: #000000;
    display: block;
    float: left;
    }

    .main-navigation ul li:hover > a {
    zoom:110%;
    background: #86aecc;
    //background: #00bcff;
    color: #000000;
    }

    .main-navigation ul li:hover > a [class^=”icon-“] {
    //color: #FFFFFF;
    color: #000000;
    }

    .main-navigation ul li a {
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 14px;
    padding-right: 35px;
    padding-bottom: 6px;
    padding-left: 35px;
    -webkit-transition: all 2s ease-out 1s;
    -moz-transition: all 2s ease-out 1s;
    -ms-transition: all 2s ease-out 1s;
    -o-transition: all 2s ease-out 1s;
    transition: all 2s ease-out 1s;
    font-size:14px;}

    .main-navigation ul li a,
    .main-navigation ul li a > * {
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    color: #000000;
    }

    .main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 50%;

    background: #CADDEA;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.15); /* Third Level Items */
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.15); /* Third Level Items */
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    margin-left: -100px; /* Third Level Items */
    opacity: 0;
    pointer-events: none;
    -webkit-transition: all 0.35s ease; /* Third Level Items */
    -moz-transition: all 0.35s ease; /* Third Level Items */
    -o-transition: all 0.35s ease; /* Third Level Items */
    transition: all 0.35s ease;
    visibility: hidden;
    z-index: 99999;
    }

    .main-navigation ul ul a {
    width: 200px;
    font-size:12px;
    padding: 10px 10px;
    }

    .main-navigation ul ul li {
    position: relative;

    }

    .main-navigation ul ul li:hover > a {
    //background:#54607D;
    background:#86AECC;
    color: #000000;
    }

    .main-navigation ul ul ul {
    top: 0;
    left: 100%;

    margin-left: 0;
    }

    .main-navigation ul li:hover > ul {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    }

    .main-navigation a {
    color: #e2e2e2;
    display: block;
    font-weight: bold;
    text-decoration: none;
    }

    .main-navigation.sticky {
    -webkit-box-shadow: 0 2px 1px rgba(0,0,0,0.15);
    -moz-box-shadow: 0 2px 1px rgba(0,0,0,0.15);
    box-shadow: 0 2px 1px rgba(0,0,0,0.15);
    }

    .main-navigation [class^=”icon-“] {
    color: #CCCCCC;
    display: inline-block;
    font-size: 16px;
    line-height: 0.5em;
    margin-right: 15px;
    }

    .mobile-nav-frame [class^=”icon-“] {
    margin-right: 10px;
    }

    #search-icon {
    position: relative;

    float: right;
    }

    #search-icon #search-icon-icon {
    width: 39px;
    height: 43px;
    padding-left:10px;
    background: #303134 url(./images/sprites/search.png) no-repeat;
    border-left: 1px solid #2e2f31;
    cursor: pointer;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
    }

    #search-icon #search-icon-icon:hover {
    background: #00bcff url(./images/sprites/search-white.png) no-repeat;
    }

    #search-icon .searchform {
    position: absolute;
    top: 100%;
    right: 0;
    width: 1080px;

    background: #2d2e31;
    display: none;
    overflow-x: hidden;
    z-index: 10;
    }

    #search-icon .searchform input[name=s] {
    width: 100%;
    height: 42px;

    background: transparent;
    border: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #d1d1d1;
    display: block;
    font-size: 17px;
    font-weight: 200;
    outline: none;
    padding: 0 15px;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘active menu issue’ is closed to new replies.