Okay
  Public Ticket #158170
Slider buttom
Closed

Comments

  • Webmaster started the conversation
    Hello everyone! First of all... this is a really great job! thanks!. I would like for my slider buttom to open an specific form (modal form) that I´ve just created but I don´t know how to do it (I am using Formcraft instead of Contact Form 7). Can you help me with this, please? How could I embed this function?. Thanks! Raúl
  •  1,086
    ThemeNectar replied

    Hey Webmaster :)

    Try setting your form on the same page in a div like this (do this in the text tab on your editor):

    <div id="my-form">
    FORM SHORTCODE
    </div>

      Then enter this into the Custom CSS box located in your Salient Options panel: 

    #my-form {
       display: none;
    }

    now open up your init.js file located in the js folder and add this in after the first line:

    $('a[href="#my-form"]').addClass('pp');

    and finally in the slide for your button link put:

    #my-form

      

    A few steps indeed, but hopefully it will work for you :)
    Cheers                                                                                                                                                                      

  • Webmaster replied

    Ey! many thanks!

    Only... something is wrong... when I do this and I click on the buttom "undefined" appears. This is my modal shortcode [formcraft id='1' type='popup']Click Here[/formcraft]. Maybe I am doing something wrong ¿? A little more help please...Thanks!

  • Webmaster replied

    Ups! I was right! I was doing something wrong. Eveything is ok. Many thanks for your help! Have a nice week ;)

     

  • Webmaster replied

    Hello everyone!

    I´ve upgraded to the latest version. I think everything is going well but the buttom link to the modal form (following the instruction above) doesn´t work after upgrading. ¿Could you help me please? (i´ve already emptied the cache and checking the div is ok).

    And also, my logo duplicates in some pages ¿? weird right?

    Many thanks

    Raúl

  •  8,939
    Tahir replied

    Hey !

    I believe you are using a child theme. We have made some changes to the logo divs . So you might want to update the header.php in your child theme. 

    Could you please provide url so i can take a look at your form issue. 

    Cheers


    ThemeNectar Support Team 

  • Webmaster replied

    Tahir! Thank you very much for your quick answer. I´ve have to reset the latest version because I´ve found a lot of problems (especially in mobile version), so I am going to maintain this version until I have time to change and concentrate in it. I´d contact you again if so. Thank you very much for your time!

    Raúl

  •   Webmaster replied privately
  •  1,086
    ThemeNectar replied

    Hey again!

    If you're unsure of what a child theme is the odds are you're not using one. Also make sure that when you update you delete the old theme prior to uploading the new version. If you deciede to try again just allow us to see your URL so we can assist in telling you what's wrong :)

  • Webmaster replied

    Hey! Thank you very much for your interest!. As soon as I try again (I hope today) I´ll give you the url for your advise.  Have a nice day!

  •  1,086
    ThemeNectar replied

    Hey! Did you ever sort this out?

    Cheers :)