Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • qolby Friend
    #207171

    Hi,

    Please, i would like make only Sub Nav fixed to the top after scroll

    Thank you in advance

    Css Magician Friend
    #573655

    Try to open the file: root/templates/ja_directory/tpls/blocks/subnav.php and replace
    <nav class="wrap t3-subnav <?php $this->_c('subnav') ?>" >
    with
    <nav class="wrap t3-subnav <?php $this->_c('subnav') ?>" data-spy="affix" data-offset-top="102">
    and add
    .t3-subnav.affix {
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 6;
    }

    in css file: root/templates/ja_directory/css/custom.css (create this file if it doesn’t exist)

    Css Magician Friend
    #738669

    Try to open the file: root/templates/ja_directory/tpls/blocks/subnav.php and replace
    <nav class="wrap t3-subnav <?php $this->_c('subnav') ?>" >
    with
    <nav class="wrap t3-subnav <?php $this->_c('subnav') ?>" data-spy="affix" data-offset-top="102">
    and add
    .t3-subnav.affix {
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 6;
    }

    in css file: root/templates/ja_directory/css/custom.css (create this file if it doesn’t exist)

    juancaliban Friend
    #1029523

    Great this is working.. however, is there any chance to have also the logo and the menu on top of the subnav to be fixed too?

    Thanks,
    J

    Saguaros Moderator
    #1030296

    Hi Juan,

    Could you share the URL here and screenshot of menu you want to be fixed?

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

This topic contains 4 replies, has 4 voices, and was last updated by  Saguaros 7 years, 6 months ago.

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