Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • luciffere Friend
    #162493

    I want to change the color for each button from magazine menu. For ex, the first button is linked to a K2 category, and have the id=419 (firebug show this:
    <li class="menu-item1 active"><a title="Sanatate" id="menu419" class="menu-item1 active" href="/jatc_teline_iv/index.php?option=com_k2&view=itemlist&layout=category&task=category&id=261&Itemid=419"><span class="menu-title">Sanatate</span><span class="menu-desc"> </span></a></li>
    )
    Now. In the template.css i inserted the code:

    #menu419 a {color:#ff0000 !important}
    #menu419 a:hover {background:#ff0000 !important; color:#fff !important;}

    but the color for this button not changed. Where i wrong?
    Thank you.

    Ninja Lead Moderator
    #385747

    Change to:


    a#menu419 {color:#ff0000 !important}
    a#menu419:hover {background:#ff0000 !important; color:#fff !important;

    that should help.

    luciffere Friend
    #386368

    Thank you, but i studied the”home” class and i made more menu sufixes class for rest of buttons: Here are the customizations http://www.craiovaplace.ro/ziar (is testing server)

    Ninja Lead Moderator
    #386636

    That is a really good way too :).

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

This topic contains 4 replies, has 2 voices, and was last updated by  Ninja Lead 13 years, 7 months ago.

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