Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • G T Friend
    #202813

    How do I reduce the spaces between the menu items in main menu. Also I want to remove lines between menu items. Please see the attached screen shot.


    1. reduce-menuspase
    Pankaj Sharma Moderator
    #555464

    Hello if you want to remove top border in submenu items
    add this css code in your custom.css file
    templates/your ja template/css/custom.css

    .ja-megamenu ul.level1 li.mega {
    border-top: none;}

    If you want to reduce the padding between the submenu items
    add this css code in custom.css


    .ja-megamenu ul.level1 li.mega a.mega
    {padding-top: 4px;}

    Change padding top value as per your need .
    Clear cache and check .
    Let me know if it Helps

    G T Friend
    #555523

    I created a custom.css in templates/ja_university/css/custom.css

    ja-megamenu ul.level1 li.mega {
    border-top: none;}
    ja-megamenu ul.level1 li.mega a.mega
    {padding-top: 4px;}

    But still no effect.

    Check url : http://ittechies.in

    Pankaj Sharma Moderator
    #555531

    HI your site is running on old JAT3 and custom.css is not available there .
    Follow the suggestion add the custom.css file in JAT3 templates and add the suggested code .
    Here is link

    Hope it helps you .

    G T Friend
    #555557

    I tried but some how not successful.
    default.xml
    <!–Extra css load for this layout–>
    <stylesheets>
    <file>css/template.css</file>
    <file>css/custom.css</file>
    <file media=”only screen and (max-width:719px)”>css/layout-mobile.css</file>
    <file media=”only screen and (max-width:479px)”>css/layout-mobile-port.css</file>
    <file media=”only screen and (min-width:720px) and (max-width: 985px)”>css/layout-tablet.css</file>
    </stylesheets>

    custom.css
    .ja-megamenu ul.level1 li.mega {
    border-top: none;}
    .ja-megamenu ul.level1 li.mega a.mega
    {padding-top: 4px;}

    Pankaj Sharma Moderator
    #555564

    Replace the code in custom.css withthis code

    .ja-megamenu ul.level1 li.mega {
    border-top: none !important;}
    .ja-megamenu ul.level1 li.mega a.mega
    {padding-top: 4px!important;}

    it will work .

    Update me @joomlagt if it works for you

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

This topic contains 6 replies, has 2 voices, and was last updated by  Pankaj Sharma 9 years, 11 months ago.

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