FAQ closes while clicking on link - by brightcotton

This topic has 4 replies, 3 voices, and was last updated 9 years, 9 months ago ago by Robert Hall

  • Avatar: brightcotton
    brightcotton
    Participant
    March 22, 2015 at 04:50

    Hi

    My FAQ closes as I click on link within, how do I fix it?
    http://brightcotton.com/company/faq/
    in
    “How much time it takes to deliver order?”
    Link button “Shipping & Return”

    Thank you

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    March 22, 2015 at 20:36

    Hello,

    Please provide us with wp-admin panel and FTP credentials in Private Content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: brightcotton
    brightcotton
    Participant
    March 23, 2015 at 04:41

    By FTP credentials you mean cpanel, and wp-admin panel is admin wordpress?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 23, 2015 at 15:48

    Hello,

    Please find this code in etheme.js

      etoggleEl.click(function(e) {
            e.preventDefault();
            if($(this).hasClass('opened')) {
                $(this).removeClass('opened').find('.open-this').html(plusIcon).parent().parent().find('.toggle-content').slideUp(200);
            }else {
                if($(this).parent().hasClass('noMultiple')){
                    $(this).parent().find('.toggle-element').removeClass('opened').find('.open-this').html(plusIcon).parent().parent().find('.toggle-content').slideUp(200);
                }
                $(this).addClass('opened').find('.open-this').html(minusIcon).parent().parent().find('.toggle-content').slideDown(200);
            }
        });

    and comment out this string /* e.preventDefault(); */

    Regards,
    Robert Hall.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.