Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Uplift › every link on an image seems like a lightbox link
New Landing › How can we help? › Themeforest Theme Support › Uplift › every link on an image seems like a lightbox link
- This topic has 21 replies, 3 voices, and was last updated 6 years by Rui Guerreiro – SUPPORT.
-
Posted in: Uplift
-
May 9, 2017 at 1:07 am #323821
Hi,
On my homepage you’ll see a row of 4 pictures (the ones with the tomatoes), the left one has a normal link on it. And the lightbox thing is disabled (not toggled). But still I see the zoom in icon on hover and it seems like it tries top en something before going to a link.
Can you help me?
Tnx!
RMay 9, 2017 at 1:11 pm #323899for me you don’t need to look into it anymore, client changed its mind, but I think its still a bug 🙂
May 9, 2017 at 1:44 pm #323903Ok. Thanks for the heads up.
-Rui
May 9, 2017 at 11:01 pm #323995client changed it’s mind again, i now have it on the page: https://www.stoffels-tomaten.be/onze-producten/
So on hover i see the “zoom in” icon, and i don’t think that’s the right thing here when it’s a link.
Pls help ^^
May 10, 2017 at 7:14 pm #324136Hi,
Can you add the code below to the functions.php of your child theme
remove_filter('sf_view_icon_svg', 'uplift_lightbox_svg_icon'); add_filter('sf_view_icon_svg', 'uplift_url_svg_icon');
Let us know if it worked.
-Rui
May 10, 2017 at 8:05 pm #324148I tried it on several lines but didnt seem to work, which line would you recommend?
Attachments:
You must be logged in to view attached files.May 11, 2017 at 3:23 pm #324281Below line 73, below the last function ideally.
Thanks.
May 11, 2017 at 3:31 pm #324286Nope, doesn’t work. =>https://www.stoffels-tomaten.be/onze-producten/
I still a zoom-in icon instead of the link icon when hovering. When I had just one image there, it didnt give the issue though.
Attachments:
You must be logged in to view attached files.May 11, 2017 at 4:40 pm #324310Can you provide me ftp to give it a try?
-Rui
May 11, 2017 at 9:44 pm #324340This reply has been marked as private.May 12, 2017 at 6:20 pm #324508It was necessary to hook that code in a specific WordPress hook.
Final code in the functions.phpfunction sf_remove_filters(){ remove_filter('sf_view_icon_svg', 'uplift_lightbox_svg_icon'); add_filter('sf_view_icon_svg', 'uplift_url_svg_icon'); } add_action('init', 'sf_remove_filters');
-Rui
May 12, 2017 at 10:35 pm #324523thanks, resolved!
May 15, 2017 at 12:16 pm #324600Marking as resolved.
If you have found the theme/support useful, we appreciate it if you can leave feedback on our item if you have the time as it really helps us out.
Thanks.
May 15, 2017 at 12:18 pm #324603Hi david,
it’s not 100% resolved, now the items that are image links to open a lightbox show the link icon and not the zoom icon.
(on my site you can see it when selecting the other tab, those are image links instead of deeper pages)So I think there’s an issue/buyg more profoundly wrong?
Cheers,
RobbyMay 15, 2017 at 6:49 pm #324680Can you let me know one or two examples? Probably it’s some error.
-Rui
-
Posted in: Uplift
You must be logged in to reply to this topic.