Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #809178

    Hey can I get some help from Yigit he helped me a while back.

    #810020

    Hey Epic,

    Please go to Appearance > Editor > Functions.php file and change following with your url

    
    #YOUR-LINK-HERE
    

    Best regards,
    Yigit

    #810021

    OK

    #810022

    Hi,

    :)

    Best regards,
    Yigit

    #810023

    OHHHHHH

    #810027

    okay let me see if this works

    #810029

    Hi,

    Yes, that should work :)

    Best regards,
    Yigit

    #810030

    Yup it did but how do i learn this myself… for next time?

    #810031

    Okay 1 more thing how do I make it open in a new tab?

    Thank you so much!

    #810032

    Hi!

    Well, the best would be by adjust custom CSS classes just as in “custom-button” example. This “a.avia-slideshow-button” selector is applying to all slideshow buttons. It would be better if you edited your sliders and give them a custom CSS class and replace “a.avia-slideshow-button” with “custom-button-two” and then change the code to following one

    <script>
    jQuery(window).load(function(){
    jQuery(‘.custom-button-two a’).attr(‘href’,’javascript:void(0);’);
    jQuery(‘.custom-button-two a’).attr(‘onClick’,’bookingButton.start();’);
    jQuery(‘.custom-button a’).attr(‘href’,’javascript:void(0);’);
    jQuery(‘.custom-button a’).attr(‘onClick’,’bookingButton.start();’);
    });
    </script>

    This way you can simply edit the link of the element on the page you want to use custom url.

    Regards,
    Yigit

    #810033

    Perfect I will try this tomorrow with a clearer head!

    Thanks again!!!

    #813094

    Hi,

    Ive just noticed all my custom buttons have stopped working I can’t work it out ….

    #813161

    Hi,

    I removed following from your code.

    jQuery('a.avia-slideshow-button').attr('href','javascript:void(0);');
    jQuery('a.avia-slideshow-button').attr('onClick','bookingButton.start();');

    As i said in my last reply, it applies to all slideshow buttons. That is why i suggested using custom CSS classes to target more precisely :)

    Please review your website

    Best regards,
    Yigit

    #813166

    Hey!

    Not on the homepage slider

    #813188

    Hi,

    There is no custom CSS class on your homepage slider. Please edit your page and give it the same custom CSS class :)

    Best regards,
    Yigit

    #813222

    Thats strange it was working before I don’t think I changed anything?

    #813229

    Okay im super confused…

    I know you explaining but Im not familiar with the language …

    I changed it to custom-button-two then custom-button a

    It was working before I messaged.

    I like that you said about doing it separately but if you don’t mind can you spell out the steps?

    I went to function and then back to the slider on homepage

    #813251

    Oh no panic I did something slider is squashed & can’t get back into my site…

    • This reply was modified 7 years, 4 months ago by Epic.
    #813271

    hi after trying to fix above my host say i have … see below but i can’t get in….

    #813279

    Hi I have had many failed attempts and have tried to follow your steps in the end I messed up the code. By the time someone gets to this thread the site ill be back up but the functions dont work as it was.

    Please send you steps or a video of the steps you do…

    Thanks

    #813293

    Hi,

    This article will help you with the custom CSS classes: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/

    Best regards,
    John Torvik

Viewing 21 posts - 1 through 21 (of 21 total)
  • You must be logged in to reply to this topic.