BuddyBoss Home – Web › Support Forums › Solutions › Social Learner › Make homepages slides clickable?
- This topic has 10 replies, 2 contibutors, and was last updated 8 years, 9 months ago by Anonymous.
Question
January 17, 2016 at 6:45 pm #56519@judeamediaHello,
Is it possible to make the homepage slides clickable as a whole? Instead of using a “Read More” button? I have already created images with text and buttons that I would like to use for the slides, but I can’t figure out how to make them clickable themselves.
Thank you!
-MJ
Answers
February 1, 2016 at 7:09 pm #57870@judeamediaI’m guessing it’s not possible? 🙁
February 4, 2016 at 7:22 am #58062@
AnonymousHi @judeamedia, To make the entire slider clickable please add this js in Boss theme’s custom js option.
jQuery( document ).ready( function(){ jQuery('.slide_content').click(function(){ window.location=jQuery(this).find("a").attr("href"); return false; }); });
and add the css in custom css option
.bb-slider-container .slide_content { cursor: pointer; }
Regards
February 4, 2016 at 3:05 pm #58144@judeamediaOh thank you so much for your reply! You have no idea how much better my site will look if I can use the Buddyboss slider!
The click function works great! However, I’m not sure where to put the URLs. I put them in the “Give us a link” box, but they’re returning a 404.
Thanks again for your help! 😀
February 5, 2016 at 6:02 am #58199@
AnonymousHi @judeamedia, Please see the attached screenshot to get the idea where to put the url.
Regards
February 5, 2016 at 9:40 am #58219@judeamediaHi @Pallavi,
Thank you, but that is where I am putting the links and they are returning a 404 error with this code.
-Michelle
February 7, 2016 at 12:10 pm #58398@
AnonymousHi @judeamedia, Please attach a screen shot of your admin panel where you are adding the slider.
Regards
February 7, 2016 at 1:34 pm #58415@judeamediaOf course! Attached. 🙂
February 9, 2016 at 6:01 am #58616@
AnonymousHi @judeamedia, It is required to enter button text in slider. If you do not enter Slider title and description that is not required but url will work if you enter the value in button text.
Regards
February 9, 2016 at 11:32 am #58664@judeamediaThank you so much! It worked!
Adding text to the button did create a button, though, so I had to add this code to custom CSS:
.readmore {display:none!important;}
I hope that doesn’t cause any issues on the rest of the site.
Thank you so much for your help in getting this working! 🙂
-Michelle
February 10, 2016 at 4:08 am #58771@
AnonymousGreat!..no that will not cause any issue.
Regards
- The question ‘Make homepages slides clickable?’ is closed to new replies.