Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • raffetali Friend
    #164065

    Hello,
    I need your help please. I’m using JA Nickel template.

    I have a long dropdown menu text in the horizontal mainmenu that extends the max fixed width.

    Actually, I don’t want to change the width, I only want to have the text wrapped to a next line.

    Can you please tell me how to do that?

    Please check the attachment image.

    Thanks for your help

    Best Regards
    Raffet Ali


    1. LongDropdownMenu
    khoand Friend
    #391577

    Hi,
    Could you give me a link to your website?

    raffetali Friend
    #391585

    Hello,
    I’m sorry, there is no online link yet, it’s all on my localhost machine.

    Best Regards
    Raffet Ali

    Sherlock Friend
    #391921

    Hi rafftali,

    You open the file of templates/ja_nickel/ja_menus/ja_cssmenu/ja.cssmenu.css Look for this

    #ja-cssmenu li ul a {
    background: none repeat scroll 0 0 transparent !important;
    border-right: medium none;
    color: #CCCCCC !important;
    font-size: 92%;
    font-weight: normal;
    margin: 0;
    padding: 5px 10px;
    text-transform: none;
    white-space: nowrap;
    }

    here you remove white-space: nowrap; to this

    #ja-cssmenu li ul a {
    background: none repeat scroll 0 0 transparent !important;
    border-right: medium none;
    color: #CCCCCC !important;
    font-size: 92%;
    font-weight: normal;
    margin: 0;
    padding: 5px 10px;
    text-transform: none;

    }

    raffetali Friend
    #391945

    Any idea please…

    khoand Friend
    #391997

    And you put word-wrap:break-word; into #ja-cssmenu li ul a like this

    #ja-cssmenu li ul a {
    background: none repeat scroll 0 0 transparent !important;
    border-right: medium none;
    color: #CCCCCC !important;
    font-size: 92%;
    font-weight: normal;
    margin: 0;
    padding: 5px 10px;
    text-transform: none;
    word-wrap:break-word;
    }

    raffetali Friend
    #392002

    Hello,

    Perfect, it worked fine….
    Thanks a lot

    Best regards
    Raffet Ali

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

This topic contains 7 replies, has 3 voices, and was last updated by  raffetali 13 years, 6 months ago.

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