-
AuthorPosts
-
September 13, 2016 at 1:32 am #685448
I want to add this:
data-sumome-listbuilder-id=”8bdd1b1c-76d0-461a-8f75-27bd490a01c9″when someone clicks on my caption link/image
- This topic was modified 8 years, 3 months ago by M|C.
September 13, 2016 at 10:28 pm #686054Hello!
September 15, 2016 at 6:26 am #686720Hi!
Could you post a link to the site in question so that we can take a closer look please?
Best regards,
RikardSeptember 17, 2016 at 5:34 am #687814Link in private content.
September 20, 2016 at 1:58 pm #689195Hi,
Please enable the custom css class field: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then edit your element and give it a custom class and then add following code to functions.php file in Appearance > Editor
function avia_img_custom_attr(){ ?> <script> jQuery(window).load(function(){ jQuery('.custom-image img').attr('data-sumome-listbuilder-id','bdd1b1c-76d0-461a-8f75-27bd490a01c9'); }); </script> <?php } add_action('wp_footer', 'avia_img_custom_attr');
Best regards,
YigitOctober 17, 2016 at 2:06 pm #700004@Yigit I tried, but it doesn’t work.
October 17, 2016 at 2:14 pm #700014Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Also, please point out the image you would like to target.
Best regards,
YigitOctober 17, 2016 at 2:17 pm #700017Sent!
October 17, 2016 at 2:21 pm #700024Hi,
I am getting “ERROR: Invalid username. Lost your password?” error when i try to login. Can you please check the logins once again?
Best regards,
YigitOctober 17, 2016 at 2:23 pm #700025Ok, try again!
October 17, 2016 at 2:33 pm #700027Hi!
It does work fine on my end. Please check out the screenshot in private content field.
Regards,
YigitOctober 17, 2016 at 4:53 pm #700131@yigit When I click the caption overlay/background image it doesn’t pop up anything. It only works when I click the text URL I placed manually.If I click around the text, the caption overlay that is, it doesn’t work.
October 18, 2016 at 2:26 am #700342October 19, 2016 at 6:56 am #701022Hi,
We modified the code a bit. Please remove browser or hard refresh before checking the page.
Best regards,
IsmaelOctober 19, 2016 at 2:02 pm #701310Thank you so much! How about the CTA button?
October 20, 2016 at 11:58 am #701809@ismael It stopped working. Clicking on the caption background doesn’t work. But clicking the text, I wrapped around span did.
What is the modified code you used?
October 21, 2016 at 11:53 pm #702685Hi,
This is working before. Did you change anything? What did you do in your functions.php file? Why are there multiple empty lines after each line of code?
Best regards,
IsmaelOctober 24, 2016 at 10:50 pm #703466@ismael It was a plugin causing it not to work. It’s all good now.
Thank you so much! How about the CTA button on the homepage?
October 26, 2016 at 11:03 pm #704561October 26, 2016 at 11:27 pm #704584Hi!
Can you please elaborate on the changes you would like to make on the cta button? If you would like to target it, you can do so by using following selector
.home #signup a
Cheers!
YigitOctober 29, 2016 at 11:03 pm #705694November 2, 2016 at 2:45 pm #707115Hi,
Please add following code to functions.php file as well
function cta_button_home(){ ?> <script> jQuery(window).load(function(){ jQuery('#whitetogray a.avia-button').attr('data-sumome-listbuilder-id','bdd1b1c-76d0-461a-8f75-27bd490a01c9'); }); </script> <?php } add_action('wp_footer', 'cta_button_home');
Best regards,
Yigit- This reply was modified 8 years, 1 month ago by Yigit.
-
AuthorPosts
- You must be logged in to reply to this topic.