Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • tzic Friend
    #195782

    Hello

    I am having difficulties using the additional class in Parameters (JA Extended) of a text separator in mega menu. In mega.css I type this code

    .red { color: #F00 !important;}

    then in the additional class I type “red” (without quotes) but the text remains GREY. Inspecting the elements with fire bug I get this

    <div class="group">
    <div class="group-title">
    <a id="menu513" class="mega red" title="πανες υποσεντονα" href="#">
    <span class="menu-title">πανες υποσεντονα</span>
    </a>
    </div>

    My problem is that the additional class I made refers to <a id=”menu513″ class=”mega red” title=”πανες υποσεντονα” href=”#”> and not to the SPAN class and the color does not change. If I change the class of the SPAN (using firebug) the color changes as it should. Any ideas on how to fix that?

    my website

    thank you in advance

    swissa Friend
    #526741

    Hi

    Sorry, I can’t understand your site – all looks Greek to me 😉

    But….

    a quick check of your css reveals a problem with your added code. You’ve made this code

    .red { color: #F00; !important;}

    when it should be

    .red { color: #F00 !important;}
    i.e. no < ; > between color and < !important; >

    and also if you add .red to the css then when you add the class to the menu it should be ” red” – note the leading space first.

    Maybe that helps!

    tzic Friend
    #526742

    thank you very much for the reply. I made the changes you suggested but still no luck. The problem is that the “additional class” in Parameters (JA Extended) refers to the previous div/span in the hierarchy and not to the final element as it should (or so I believe).

    Any other ideas?

    swissa Friend
    #526744

    Because I’m not support and don’t speak or understand Greek, it’s probably best to wait for someone like @pascm, who is support and Greek, to help. Sorry!

    Css Magician Friend
    #526941

    @tzic, when you add a class via “additional class” option, it should has css rule as follows:


    .red { color: #F00 !important;}

    It works fine with almost menu item except for active menu and menu group title. In this case, you wish to add class color for menu group title, thus it does not work. You should add this CSS rule instead:


    .red, .red > .menu-title { color: #F00 !important;}

    Manos Moderator
    #527640

    Is this solved ?

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

This topic contains 6 replies, has 4 voices, and was last updated by  Manos 10 years, 8 months ago.

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