Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • hdsports Friend
    #204629

    Hey guys,
    i have following problem with Purity III on joomla 3.4
    When i have an articles with anchors, and i klick on the anchor, the anchor-position will hide from the megamenu (example: http://www.hdsports.at/lauftraining/9874-lauftreffs-in-oesterreich#fvml-lauftreff).
    I have the samle problem when i make a module sticky (with plugin JU Sticky Panel), when i scroll down, then module jump to the top, so that a little bit from the module will hide from the megamenu
    Example:
    The red banner on the right. A little bit from the banner is hide behind the megamenu.

    Is there a way to solve that problem?
    Best regards from austria!

    Pankaj Sharma Moderator
    #563068

    Hello
    Template is currently not ready for Joomla 3.4
    Please wait for its official update .

    On this page
    http://www.hdsports.at/lauftraining/9874-lauftreffs-in-oesterreich#fvml-lauftreff

    You are using #id in the link ,Please define the #fvml-lauftreff link bit above the page . Its not related to the mega menu . #id link will open the page at the top .

    <blockquote>I have the samle problem when i make a module sticky (with plugin JU Sticky Panel), when i scroll down, then module jump to the top, so that a little bit from the module will hide from the megamenu </blockquote>
    Sorry we do not provide support for Third party extensions .

    Do not play with your live sites ALways take a backup of site before updates.

    hdsports Friend
    #563273

    Thanks for the information.
    I did not know what the template is not ready for joomla 3.4

    The Problem with the anchor is solved. I used this code before </body> in the Custom-Code of the template

    <script language="javascript" type="text/javascript">
    (function ($) {
    $(document).ready(function() {
    $( 'a' ).click(function() {
    var href = $(this).attr('href');
    var arr=href.split('#');
    var target='a[name="'+arr[1]+'"]';
    $('html, body').animate({ scrollTop:$(target).offset().top - 60 },'slow');
    e.preventDefault();
    });
    });
    })(jQuery);
    </script>

    <script language="javascript" type="text/javascript">
    (function ($) {
    $(document).ready(function() {
    var hash = $(location).attr('hash');
    if( hash !== undefined ) {
    var arr= hash.split('#');
    var target='a[name="'+arr[1]+'"]';
    $('html, body').animate({ scrollTop:$(target).offset().top - 60 },'slow');
    }
    });
    })(jQuery);
    </script>

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

This topic contains 3 replies, has 2 voices, and was last updated by  hdsports 9 years, 1 month ago.

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