Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • cjaxen Friend
    #1081730

    Hello, Sorry for the noob question, but I’m looking at the multiple mag/news templates and I really like the Focus.

    Is there any way to ‘lock’ the top menu on top, when you scroll down? Very similar to Joomlart homepage?

    I haven’t installed it yet, and pretty new to Joomla so any help would be great. If focus can’t… any Joomlart ones that do (to be used in a Mag/News site)

    • This topic was modified 6 years, 11 months ago by  cjaxen.
    Pankaj Sharma Moderator
    #1081754

    Hi
    Open file "/tpls/blocks/mainnav.php" in template "ja_focus".
    Find

        <nav id="t3-mainnav" class="navbar navbar-default t3-mainnav">

    Replace it

        <nav id="t3-mainnav" class="navbar navbar-default t3-mainnav" data-spy="affix" data-offset-top="150">

    now add this code in custom.css file

    .t3-mainnav.affix {
        position: fixed;
        top: 0px;
        z-index: 999;
        float: none;
    }

    Regards

    cjaxen Friend
    #1081823

    Thanks Pankaj. I will give that a try.

    will this template also work with JomSocial?

    Pankaj Sharma Moderator
    #1081840

    Hi
    this is only for this template to make the menu sticky, kindly post here for Jomsocial customisation.

    Regards

    detlef79 Friend
    #1089192

    This solution work on desktop. I want to sticky menu also on mobile. What about?

    Pankaj Sharma Moderator
    #1089267

    Hi
    Kindly share the URL of page here
    I will have a look on this issue.

    Regards

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

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

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