Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • greendome Friend
    #157494

    Hello,

    I was wondering how i do i change color of a single menu item like the ‘DEMO’ option in this site, where it has green background?

    Thanks

    GD

    Hayden A Friend
    #367083

    Dear greendome,

    this is in regards to which template?

    greendome Friend
    #367304

    Hello anhhv,

    Am using the JA Rasite template.

    Thanks

    greendome Friend
    #367806

    Hello,

    Wondering if any one can shed some light on this issue.

    Thank you,
    GD

    Hayden A Friend
    #367880

    templatesja_rasitecssmenumega.css and find line
    [PHP]ul.level0 li.active a.mega,
    ul.level0 li.active a.over {
    background: url(../../images/mainlevel-active.gif) no-repeat left top #57222B;
    color: #fff;
    }

    ul.level0 li.active a.mega span,
    ul.level0 li.active a.over span.menu-title {
    background: url(../../images/mainlevel-active.gif) no-repeat right top;
    }[/PHP]and change it to:
    [PHP]ul.level0 li.active a.mega,
    ul.level0 li.active a.over {
    background: url(../../images/title-green.gif) no-repeat left top;
    color: #fff;
    }

    ul.level0 li.active a.mega span,
    ul.level0 li.active a.over span.menu-title {
    background: url(../../images/title-green.gif) no-repeat 100% 0px;
    }
    [/PHP]

    greendome Friend
    #367955

    <em>@anhhv 209947 wrote:</em><blockquote>templatesja_rasitecssmenumega.css and find line
    [PHP]ul.level0 li.active a.mega,
    ul.level0 li.active a.over {
    background: url(../../images/mainlevel-active.gif) no-repeat left top #57222B;
    color: #fff;
    }

    ul.level0 li.active a.mega span,
    ul.level0 li.active a.over span.menu-title {
    background: url(../../images/mainlevel-active.gif) no-repeat right top;
    }[/PHP]and change it to:
    [PHP]ul.level0 li.active a.mega,
    ul.level0 li.active a.over {
    background: url(../../images/title-green.gif) no-repeat left top;
    color: #fff;
    }

    ul.level0 li.active a.mega span,
    ul.level0 li.active a.over span.menu-title {
    background: url(../../images/title-green.gif) no-repeat 100% 0px;
    }
    [/PHP]</blockquote>

    I think the above code changes the color when selecting a menu item.

    What I wanted to do was change the color of single menu item just as it is on the JA website where the DEMO menu item has the background set to green even when not selected. I.e. the DEMO menu item is always green.

    Thank you,
    GD

    Hayden A Friend
    #367967

    Sorry greendome,
    you can change color of single menu by you open file templatesja_rasitecsstemplate.css find line
    [PHP]#ja-mainnav {
    background: url(../images/mainnav-bg.gif) repeat-x left top;
    font-family: Tahoma, Verdana, Tahoma, sans-serif;
    height: 46px;
    line-height: 1;
    padding-top: 10px;
    position: absolute;
    top: 0;
    z-index: 900;
    }[/PHP]

    and change to
    [PHP]#ja-mainnav {
    background: green;
    font-family: Tahoma, Verdana, Tahoma, sans-serif;
    height: 46px;
    line-height: 1;
    padding-top: 10px;
    position: absolute;
    top: 0;
    z-index: 900;
    }[/PHP]

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

This topic contains 7 replies, has 2 voices, and was last updated by  Hayden A 13 years, 11 months ago.

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