test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • andbeyond Friend
    #706386

    I am trying to adapt the techzone template.

    What I want to do is have the vertical menu display in all sizes above 768px. That is in the small medium and large layouts.

    I have tried to follow the instructions in this post without success:
    http://www.joomlart.com/forums/topic/is-it-possible-to-have-vertical-menu-in-normal-layout/

    Can anybody suggest a way of doing it?

    Ninja Lead Moderator
    #706699

    Hi,

    It’s very hard to custom with your request but you can try to do this

    + Open templates/ja_techzone/css/custom.css file (create new if it does not exist) and add new rule

    @media (min-width: 769px) {
    .ja-vertical-menu .t3-header .logo {
    position: fixed;
    left: 0;
    top: 40px;
    width: 292px;
    padding-top: 0px;
    padding-bottom: 0px;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
    z-index: 2;
    }
    .ja-vertical-menu .t3-mainnav {
    border: 0;
    margin-bottom: 0;
    border-radius: 0;
    display: none;
    /*padding: 296px 30px 48px;*/
    padding: 100px 30px 48px;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 290px;
    }
    .ja-vertical-menu .t3-wrapper > .container {
    margin-left: 292px;
    }
    .navbar-nav > li {
    float: none;
    }
    .ja-vertical-menu .t3-mainnav .navbar-nav > li > a {
    color: #9e9e9e
    }
    .ja-vertical-menu .navbar-nav > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
    }
    .navbar-header {
    display: none;
    }
    }

    + Open templates/ja_techzone/less/variables.less file

    find and change

    @grid-float-breakpoint: @screen-md-min;

    to

    @grid-float-breakpoint: @screen-sm-min;

    + Go to template manager -> JA Techzone template -> Compile Less to Css (remember to backup your site first)

    Hope it helps

    Regards

    Ninja Lead Moderator
    #752595

    Hi,

    It’s very hard to custom with your request but you can try to do this

    + Open templates/ja_techzone/css/custom.css file (create new if it does not exist) and add new rule

    @media (min-width: 769px) {
    .ja-vertical-menu .t3-header .logo {
    position: fixed;
    left: 0;
    top: 40px;
    width: 292px;
    padding-top: 0px;
    padding-bottom: 0px;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
    z-index: 2;
    }
    .ja-vertical-menu .t3-mainnav {
    border: 0;
    margin-bottom: 0;
    border-radius: 0;
    display: none;
    /*padding: 296px 30px 48px;*/
    padding: 100px 30px 48px;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 290px;
    }
    .ja-vertical-menu .t3-wrapper > .container {
    margin-left: 292px;
    }
    .navbar-nav > li {
    float: none;
    }
    .ja-vertical-menu .t3-mainnav .navbar-nav > li > a {
    color: #9e9e9e ;
    }
    .ja-vertical-menu .navbar-nav > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
    }
    .navbar-header {
    display: none;
    }
    }

    + Open templates/ja_techzone/less/variables.less file

    find and change

    @grid-float-breakpoint: @screen-md-min;

    to

    @grid-float-breakpoint: @screen-sm-min;

    + Go to template manager -> JA Techzone template -> Compile Less to Css (remember to backup your site first)

    Hope it helps

    Regards

    andbeyond Friend
    #719034

    Thanks for the help Ninja Lead. Your suggestion has worked – the vertical menu is now available at small layout size.

    However your fix seems to have affected the ‘mainbody’ so that it is not resizing as it should (some content remains outside the right hand side of the menu). Also the mega menu itself is displaying oddly.

    This may all be a result of me applying lots of attempted fixes to the css and layouts for the template. I’m going to start again with a clean version of the template.

    andbeyond Friend
    #752871

    Thanks for the help Ninja Lead. Your suggestion has worked – the vertical menu is now available at small layout size.

    However your fix seems to have affected the ‘mainbody’ so that it is not resizing as it should (some content remains outside the right hand side of the menu). Also the mega menu itself is displaying oddly.

    This may all be a result of me applying lots of attempted fixes to the css and layouts for the template. I’m going to start again with a clean version of the template.

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

This topic contains 5 replies, has 2 voices, and was last updated by  andbeyond 9 years, 2 months ago.

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