Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • James Weston Friend
    #172979

    Hi Guys,

    So I have built my new site using JA Nex. http://www.vivaasiamagazine.com

    I want to know if there is a setting for the menu items in the top menu bar TRAVEL, RESTAURANTS, NIGHTLIFE and so on, where I can make it so when you click on the TRAVEL button nothing happens apart from you see the drop down menus that come down from it because you have moused over it.

    Jim

    TomC Moderator
    #434514

    If I am understanding correctly, it sounds like you want to “deactivate” the “hover” styling function for your main nav menu items – is this correct?

    If so, then the file you are going to want to work with is –> /templates/ja_nex/css/menu/mega.css

    starting at line 40 . . .
    <blockquote>
    .ja-megamenu ul.level0 li.mega a.mega.over,
    .ja-megamenu ul.level0 li.mega a.mega.active {
    background: url(../../images/hover-menu.gif) repeat-x left top #e5e5e5;
    text-shadow: 0px 1px 1px rgba(255,255,255,0.5);
    color: #666;
    border: solid 1px #fff;
    border-bottom: none;
    padding: 14px 15px 13px 15px;
    display: block;
    }
    </blockquote>

    You’ll likely want to modify it to something along these lines . . .

    <blockquote>.ja-megamenu ul.level0 li.mega a.mega.over,
    .ja-megamenu ul.level0 li.mega a.mega.active {
    text-shadow: 0px 1px 1px rgba(255,255,255,0.5);
    color: #fff;
    border-bottom: none;
    padding: 14px 15px 13px 15px;
    display: block;
    }

    </blockquote>

    Of course, there may be some additional trial-and-error experimentation you will want to do to try to get the exact end-result styling you want …. but this is all part of the fun of the process. 😎

    Hope that helps get you started.

    James Weston Friend
    #434552

    Morning Tom,

    Sorry for not explaining myself better. What I am trying to achieve on some of the buttons is that if you click on the button it does not do anything. But the hover function still works. So as an example if you click on travel nothing happens but the hover still shows the sub categories attached to that button.

    I thought that there would be a setting in the menu settings but I could not work out which one it was.

    Jim

    instantinlaw Friend
    #434567

    You should be able to make the button a null link by changing the type to external URL and inputting a # into the link field. The only problem with that is that none of the buttons will go anywhere. What I usually do is to make the first button go to a blog layout of a category, so if they click it, they will see everything in that category. Sorry if I’m stepping on your toes Tom.

    James Weston Friend
    #434568

    Thanks that is the solution I was looking for. Jim

    instantinlaw Friend
    #434570

    You’re welcome.

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

This topic contains 6 replies, has 3 voices, and was last updated by  instantinlaw 12 years, 10 months ago.

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