Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • teetide Friend
    #127953

    I’m trying to add some color to the tabs in the menu bar.

    I want the ACTIVE menu tab to have the gray theme like the Home button and gray underline on the demo.

    I want the NON-ACTIVE menu tabs to have an orange background instead of white. Click on the Technology tab in the demo template and you’ll see what I’m talking about. I want all the NON-ACTIVE tabs to look like the orange Technology tab.

    How do I do this?

    Thanks.
    TeeTide

    unixboymd Friend
    #246973

    What version Joomla! 1.5 or 1.0?

    For 1.0 look in your template directory in the ja_menu sub-folder. You’ll need to edit the css file that is appropriate for whatever menu you have configured.

    kashxo Friend
    #246974

    Do you mean something like this one?


    1. menu
    teetide Friend
    #246990

    Yes kashxo, that’s exactly what I’m after!

    teetide Friend
    #246991

    Yes kashxo, that’s exactly what I’m after!

    kashxo Friend
    #247055

    Let’s start by opening your ja.splitmenu.css, now go to line 44th, you’ll see the block of code:
    <blockquote>
    #ja-splitmenu a:hover, #ja-splitmenu a:active, #ja-splitmenu a:focus {
    background:#EBF2F9;
    color:#333333;
    }
    </blockquote>
    Change them to:
    <blockquote>
    #ja-splitmenu a:hover, #ja-splitmenu a:active, #ja-splitmenu a:focus {
    background:#333333;
    color:#FFFFFF;
    }
    </blockquote>
    And next at line 31st:

    <blockquote>#ja-splitmenu a {
    background:#FFFFFF;
    border-color:1px solid #FFFFFF;
    color:#333333;
    display:block;
    float:left;
    font-size:92%;
    padding:4px 8px 3px;
    text-decoration:none;
    text-transform:uppercase;
    }</blockquote>

    Change to:
    <blockquote>
    #ja-splitmenu a {
    background:#E77B13;
    border-color:1px solid #FFFFFF;
    color:#FFFFFF;
    display:block;
    float:left;
    font-size:92%;
    padding:4px 8px 3px;
    text-decoration:none;
    text-transform:uppercase;
    }
    </blockquote>

    That should did it. Goodluck 🙂

    teetide Friend
    #247060

    Fantastic! Thank you.

    biodunb Friend
    #311082

    the last tab does not change colour remain white and does not havea menu item assigned to it

    hi thanks this works but the last menu tab item remains white and if you add another menu item it goes over to the next row ! with the menu tab before it white ! isthere a workaround

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

This topic contains 8 replies, has 4 voices, and was last updated by  biodunb 15 years, 4 months ago.

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