New Landing How can we help? Themeforest Theme Support Dante one page site with active buttons

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Dante
  • #65545
    toni100
    Member
    Post count: 148

    hi – i am building a one page site – and it works really fine – http://tinyurl.com/ockdahs – i can see the navigation on the right side of the page…

    but if i click on the buttons on the top they are not getting active (underlined) – is there a way to make the buttons in the top navigation active when someone clicks on them or scrolls down to the section…

    thank you

    #65721
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please try to install this plugin http://wordpress.org/plugins/easy-smooth-scroll-links/ and let me know your feedback .

    Thanks 🙂
    With Best Regards
    Swift Ideas

    #65891
    toni100
    Member
    Post count: 148

    it did not really help – what i want is that if i click on for example “Zimmer” in the top navigation it should go down to zimmer (which it does) but the Zimmer button in the top navigation is not highlighted…

    #65912
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi there,
    Please remove that plugin use this custom code

    jQuery( document ).ready(function() {
    
    jQuery('ul#menu-main li a').click(function(e) {
    console.log('a');
    jQuery('ul#menu-main li a').attr( "style", "" );
    jQuery(this).css({"color": "#07C1B6","text-decoration" :"underline" });
    });
    
    });

    Hope it should help to you .
    Thanks

    #65956
    toni100
    Member
    Post count: 148
    This reply has been marked as private.
    #65963
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I have resolved it so please check . I forgot to wrap code <script> tag so right code will

    
    <script>
    jQuery( document ).ready(function() {
    
    jQuery('ul#menu-main li a').click(function(e) {
    console.log('a');
    jQuery('ul#menu-main li a').attr( "style", "" );
    jQuery(this).css({"color": "#07C1B6","text-decoration" :"underline" });
    });
    
    });
    </script>

    Thanks

    #65966
    toni100
    Member
    Post count: 148

    no it works – the only thing is the underlining between hover and active button is different, how can i change this…

    thank you very much for your great support!

    #65972
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Sorry , Its not easy and very time taking . If you want then i can remove underline .
    Thanks

    #66224
    toni100
    Member
    Post count: 148

    i did now its fine… but i realised that when you load the page the welcome (willkommen) button is not active… how can i make this happen…

    #66637
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please elaborate your issue . I need marked screenshot to see this issue .
    Thanks

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register