December 23, 2011 at 2:32 am #7801
I wondered if you could help me. I added a common widget for social media buttons in my sidebar, but for some reason the youtube button won’t work? When I click on it, my sight try’s to open a lightbox? it’s really weird, as the other buttons work like normal. I’ve tried two kinds of widgets with same result. My site: http://www.thinkbodyfit.com
Thanks so much, JayDecember 23, 2011 at 8:07 am #59314
Open up js/avia.js and replace:
jQuery(".social-profiles a").addClass("noLightbox");December 23, 2011 at 8:44 pm #59315December 23, 2011 at 10:13 pm #59316
Could you also give me the code for the youtube icon on the header? I ended up just using those on top as well, but now the youtube button on top tries to open a lightbox…
Thanks so much, JayDecember 24, 2011 at 12:07 am #59317
Dude, Never mind last note, I figured it out already based on what you told me before…Cheers, JayMarch 6, 2012 at 10:46 pm #59318
I’m having a similar problem in my sidebar. I tried your above solution but it did not work. I’m using the widget “Instapress” in my sidebar that displays all of my Instagram pics. However, when you click on them, they open up in lightbox. I want to disable lightbox ONLY for this sidebar and/or widget. I still want lightbox to function on the rest of the page. So is there anyway to isolate lightbox on the sidebar and disable it?
Here’s my website. It’s the homepage that I’m talking about:
Thanks so much in advanced!
-BrentMarch 7, 2012 at 7:57 am #59319
You can try to modify the code in js/avia.js – replace:
jQuery('.content').not('.page-id-1826').avia_activate_lightbox();March 7, 2012 at 9:21 am #59320
Ahhh so close. It did work for the sidebar…the Instagram photos were successfully opening up in their own Fancybox without LightBox. However, this also effected the featured videos at the top of my page. When clicking on them now, it takes you to their Vimeo site. I really want to keep the Lightbox feature for those videos. That’s the problem I’m battling with I guess.
Also, one thing to note. The page-id-1826 as noted in the above code is a different page I’ve been using as a test for this problem only. It is NOT this current Home page that we’re dealing with. This page ID is 1757. Not sure if that matters or not.
Please let me know if there’s anything else that can be done. Thanks so so much again!
-BrentMarch 7, 2012 at 10:12 am #59321
ChrisMarch 7, 2012 at 7:32 pm #59322
No, Unfortunately Lightbox still works in sidebar but it disables it for featured videos. Any other suggestions?
Should I take away?:
-BrentMarch 14, 2012 at 2:23 am #59323
Hey Chris or Dude,
I’ve been trying multiple variations of your suggestions and still nothing. Also researched a bunch and nothing is working. I’m really sorry but I’m all out of ideas. If you guys have any other suggestions I’m all ears. Thanks so much!
-BrentMarch 15, 2012 at 8:09 am #59324
I’m not sure if this will trigger js errors on pages without slideshow.
PeterMarch 19, 2012 at 6:55 am #59325
The topic ‘YouTube button in sidebar won't work-turns into lightbox?’ is closed to new replies.