Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • Aratype Friend
    #169926

    I am thinking to change the color of only one item in the Main menu

    or in Joomla’s menu

    and I am wondering if it possible to do it

    Someone have a idea?

    Thanking you in advance

    Ara

    pavit Moderator
    #420822

    Hi aratype

    You want customize the background ?

    Aratype Friend
    #420825

    Thank you Pavit,

    Actually as you said it. Let us talk about 2 options:
    1. changing the font color
    2. changing the background color

    Thanking you in advance

    Ara

    pavit Moderator
    #420827

    It’s all in this file /templates/ja_erio/css/menu/mega.css

    .ja-megamenu ul.level0 li.mega a.mega {
    background-image: url("../../images/grey_border_l.gif"); <---------- background image
    background-position: 100% 0;
    background-repeat: no-repeat;
    color: #7B7D80; < ---- text color
    line-height: 5;
    margin-bottom: 5px;
    padding: 0 20px;
    text-transform: uppercase;
    }

    Aratype Friend
    #420830

    Thank you again Pavit… This will change the color of all items or just one?

    My question is to change only one item in the menu

    Thanking you in advance

    pavit Moderator
    #420837

    Hi

    This will change all items background and text

    You need in the main menu each item with different text color and background ?

    Aratype Friend
    #420840

    Thank you,

    <em>@pavit 277775 wrote:</em><blockquote>Hi

    You need in the main menu each item with different text color and background ?</blockquote>

    Yes we need them in this way…

    pavit Moderator
    #420842

    Well I never tried to do this before, but the concept is “every item has an ID, in the mega.css i can assign that ID to a customized css ”

    For example in this tutorial the css for menu item was modified adding for every item a customized text color and background that tutorial is for Joomla 1.5 but the concept is valid for Joomla 1.7 too.

    All you must to do is rewrite all the css code for each item ID

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

This topic contains 8 replies, has 2 voices, and was last updated by  pavit 13 years, 1 month ago.

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