Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • TomC Moderator
    #656358

    HOW TO REMOVE THE NUMBERS ABOVE THE MAIN NAV MENU ITEMS:

    Look to the following file path —> /templates/ja_charity/local/css/themes/eathisa/megamenu.css

    Beginning at/about line 365, you will see a series of CSS rules that look like this . . . .


    .t3-megamenu > .navbar-nav > li:nth-child(1) > a::before {
    content: "-1-";
    }
    .t3-megamenu > .navbar-nav > li:nth-child(2) > a::before {
    content: "-2-";
    }
    .t3-megamenu > .navbar-nav > li:nth-child(3) > a::before {
    content: "-3-";
    }
    .t3-megamenu > .navbar-nav > li:nth-child(4) > a::before {
    content: "-4-";
    }
    .t3-megamenu > .navbar-nav > li:nth-child(5) > a::before {
    content: "-5-";
    }
    .t3-megamenu > .navbar-nav > li:nth-child(6) > a::before {
    content: "-6-";
    }
    .t3-megamenu > .navbar-nav > li:nth-child(7) > a::before {
    content: "-7-";
    }
    .t3-megamenu > .navbar-nav > li:nth-child(8) > a::before {
    content: "-8-";
    }
    .t3-megamenu > .navbar-nav > li:nth-child(9) > a::before {
    content: "-9-";
    }

    Modify each rule to resemble the below example:


    }
    .t3-megamenu > .navbar-nav > li:nth-child(9) > a::before {
    display: none;
    }

    SAVE CHANGES – CLEAR CACHE – REFRESH PAGE

    There you go, no more numbers. 😎

    Pankaj Sharma Moderator
    #665455

    Use below code in custom.css

    .t3-megamenu > .navbar-nav > li:nth-child(1) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(2) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(3) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(4) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(5) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(6) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(7) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(8) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(9) > a:before{ display: none!important; }

    Pankaj Sharma Moderator
    #746601

    Use below code in custom.css

    .t3-megamenu > .navbar-nav > li:nth-child(1) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(2) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(3) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(4) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(5) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(6) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(7) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(8) > a:before{ display: none!important; }
    .t3-megamenu > .navbar-nav > li:nth-child(9) > a:before{ display: none!important; }

    360admin Friend
    #694039

    thank you, i must be doing something wrong. it didnt work…

    360admin Friend
    #750210

    thank you, i must be doing something wrong. it didnt work…

    gilbertoss Friend
    #938867

    i must be doing something wrong. it didnt work… for me too.

    somebody can help me?

    gilbertoss Friend
    #938869

    i must be doing something wrong. it didnt work… for me too.

    somebody can help me?

    i change ALL files .css where the name was "megamenu" in to /templates/ja_charity.

    it dont work…

    why?

    gilbertoss Friend
    #938870

    i must be doing something wrong. it didnt work… for me too.

    somebody can help me?

    i change ALL files .css where the name was "megamenu" in to /templates/ja_charity.

    it dont work…

    why?

    gilbertoss Friend
    #938871

    i must be doing something wrong. it didnt work… for me too.

    somebody can help me?

    i change ALL files .css where the name was "megamenu" in to /templates/ja_charity.

    i clear cache on server, on site, on browser…

    it dont work…

    why?

    gilbertoss Friend
    #938875

    founded solution.

    go to… ./t3-assets/dev/templates.ja_charity.less.megamenu.less.css

    i did…

    .t3-megamenu > .navbar-nav > li > a:before {
    color: #000000;
    font-size: 14px;
    margin-top: 3px;
    font-weight: normal;
    font-style: italic;
    text-align: center;
    display: block;
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    /content: "-1-";/
    }
    .t3-megamenu > .navbar-nav > li:nth-child(1) > a:before {
    display: none;
    }
    .t3-megamenu > .navbar-nav > li:nth-child(2) > a:before {
    display: none;
    }
    .t3-megamenu > .navbar-nav > li:nth-child(3) > a:before {
    display: none;
    }
    .t3-megamenu > .navbar-nav > li:nth-child(4) > a:before {
    display: none;
    }
    .t3-megamenu > .navbar-nav > li:nth-child(5) > a:before {
    display: none;
    }
    .t3-megamenu > .navbar-nav > li:nth-child(6) > a:before {
    display: none;
    }
    .t3-megamenu > .navbar-nav > li:nth-child(7) > a:before {
    display: none;
    }
    .t3-megamenu > .navbar-nav > li:nth-child(8) > a:before {
    display: none;
    }
    .t3-megamenu > .navbar-nav > li:nth-child(9) > a:before {
    display: none;
    }

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 9 replies, has 4 voices, and was last updated by  gilbertoss 8 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum