- This topic has 34 replies, 2 voices, and was last updated 5 years, 5 months ago by
David.
-
AuthorPosts
-
November 20, 2018 at 3:44 am #731909
David
StaffCustomer SupportSo are you trying to add a button or the image hover effect which is what Harshit was trying to do?
November 20, 2018 at 3:45 am #731910Gracie
The hover effect… is that where’m going wrong?
November 20, 2018 at 3:54 am #731919David
StaffCustomer SupportYeah it looks like the same issue that Harshit had, i had a quick look but couldn’t see the codes for the hover image. If you can find them then let me know.
November 20, 2018 at 4:04 am #731930Gracie
I think that’s what this page is for:
You select “image hover” in the drop down menu and it amends the code to “data-pin-hover”
So I thiiiink the code is correct – it just doesn’t seem to be showing up anywhere. Could it be how I’m entering the code into elements?
Thanks David
November 20, 2018 at 4:36 am #731956David
StaffCustomer SupportUse the Hook Element > WP_Footer Hook 🙂
November 20, 2018 at 4:55 am #731973Gracie
Still doesn’t work… 🙁
Any other tips?
November 20, 2018 at 5:01 am #731978David
StaffCustomer SupportDid you set the display rules in the Hook?
November 20, 2018 at 5:04 am #731980Gracie
Yep – set to “entire site” (also tried “Media” which didn’t work either)…
November 20, 2018 at 5:06 am #731981David
StaffCustomer SupportSo i just took this code:
<script async defer data-pin-hover="true" data-pin-lang="en" src="//assets.pinterest.com/js/pinit.js"></script>added to wp_footer and entire site display rules and it worked?
If that don’t work i would need to see the site to see whats breaking.
November 20, 2018 at 5:18 am #731991Gracie
Ok – just tried something – I’ve been using “background images” within sections, rather than adding media into the content box. I changed one of the images from a background to an “image” and it works!
However – I’d rather keep the images as “background” images (i prefer the full width layout that I can’t seem to get with an inserted image).
Do you know if that’s possible?
Thank you David!
November 20, 2018 at 5:28 am #732002David
StaffCustomer SupportAah that explains it. Background images are added with CSS, so they aren’t listed in the HTML so the script won’t find them. To do this would require custom development
November 20, 2018 at 5:32 am #732007Gracie
Oh bummer. Well as least it explains why it wasn’t working!
While I’m here – is it possible (I’m sure it is, I must just be doing something wrong) to make the images full width – like they look when saved as a background image?
November 20, 2018 at 5:35 am #732015David
StaffCustomer SupportWould you mind raising a new topic, it allows us and other users to find answers easier. You can use the Site URL field when raising a new topic to share the site link privately. Which would be handy for me to help provide a solution.
November 20, 2018 at 5:37 am #732017Gracie
ah yes, of course. Will do it later – thanks David 🙂
November 20, 2018 at 5:39 am #732021David
StaffCustomer SupportThank you 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.