-
AuthorPosts
-
June 17, 2017 at 3:57 am #809178
Hey can I get some help from Yigit he helped me a while back.
June 19, 2017 at 10:59 pm #810020Hey Epic,
Please go to Appearance > Editor > Functions.php file and change following with your url
#YOUR-LINK-HERE
Best regards,
YigitJune 19, 2017 at 11:04 pm #810021June 19, 2017 at 11:11 pm #810022June 19, 2017 at 11:12 pm #810023OHHHHHH
June 19, 2017 at 11:16 pm #810027okay let me see if this works
June 19, 2017 at 11:18 pm #810029June 19, 2017 at 11:19 pm #810030Yup it did but how do i learn this myself… for next time?
June 19, 2017 at 11:23 pm #810031Okay 1 more thing how do I make it open in a new tab?
Thank you so much!
June 19, 2017 at 11:25 pm #810032Hi!
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,
YigitJune 19, 2017 at 11:27 pm #810033Perfect I will try this tomorrow with a clearer head!
Thanks again!!!
June 26, 2017 at 3:21 pm #813094Hi,
Ive just noticed all my custom buttons have stopped working I can’t work it out ….
June 26, 2017 at 6:57 pm #813161Hi,
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,
YigitJune 26, 2017 at 7:21 pm #813166Hey!
Not on the homepage slider
June 26, 2017 at 8:09 pm #813188Hi,
There is no custom CSS class on your homepage slider. Please edit your page and give it the same custom CSS class :)
Best regards,
YigitJune 26, 2017 at 10:42 pm #813222Thats strange it was working before I don’t think I changed anything?
June 26, 2017 at 10:59 pm #813229Okay 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
June 26, 2017 at 11:44 pm #813251Oh 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.
June 27, 2017 at 1:13 am #813271hi after trying to fix above my host say i have … see below but i can’t get in….
June 27, 2017 at 3:18 am #813279Hi 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
June 27, 2017 at 5:32 am #813293Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.