Forum Replies Created
Thanks, that did the trick, except the line numbers we have in our version is 1624 and 1683.
As you can see (and as I mentioned in the initial post) in our own enfold/config-templatebuilder/avia-template-builder/assets/js/avia-modal.js, like 681 was changed to say ‘click’, but if you actually try out the page, it still shows up on hover (i.e., it’s not working). Are you able to please take a look? It appears that enfold/config-templatebuilder/avia-template-builder/assets/js/avia-modal.js isn’t even one of the js files being loaded. Can you help us get the open on click thing working? We’ve been going around in circles for a week on this.
The numbers are temporarily there intentionally so that the client can tell us what to put where.
In addition to the lines mentioned in the previous post above,
Change ‘mousenter’ to ‘click’
This stopped the hover effect, but did not change it to work on click.
(This line was changed back to default afterwards)
We upgraded to 3.0.8, then tried the modification suggested at https://kriesi.at/support/topic/tooltips-with-click/
It still does not seem to make a difference.
There was a line in /js/avia.js that we changed mouseenter to click, and it stopped the hover effect, but it did not work on click.
I believe in the current version of the theme, the line you were referring to was on 686, also 699 looked like something similar, also tried changing the event to click. It still activated on hover.
I also noticed that in the list of sources in chrome developer tools, enfold/config-templatebuilder/avia-template-builder/assets/js/avia-modal.js doesn’t show up, maybe it’s in another file as well?
Anyway, our URL is http://mercerfriendshipcircle.org/lifetown/ . The map is on the home page.
Another quick question that’s somewhat related. Do you have a recommended way to make the pins bigger? We tried making an image with bigger pins, and changed the width and height of the div, but they positioning moved down a bit. We can correct for this by either re-positioning the pins, or using a negative margin, but wanted to check with you guys first if there’s a cleaner way.
- This reply was modified 4 years, 9 months ago by co4.