Ok, I have solved the problem by installing a plugin for visual composer, but there is a conflict and the author tells me the following:
"Hi Javier,
I have investigated the page "Productos" that has the problem.
It seems that your theme uses a JavaScript function "hexToRgb" (that is poorly coded with no verifications). It takes all the elements that includes the attribute [data-overlay] and do some changes on it.
The issue here is that our element Single Hover Image uses also the attribute [data-overlay] but in a different way which get conflicted with the theme JS code.
You can share with us your FTP so we can fix the issue and you also need to contact the theme developers and tell them about this function and that they should add a "verification condition".
Thank you"
IT IS ALREADY SOLVED BUT IT IS FOR YOUR INFORMATION, TO BE TAKEN INTO ACCOUNT.
The file I have changed is /wp-content/sentra/js/sentra.js
I have just changed the first function and added a condition check.
Hi, I need hover images with a link to another page.
how can I do it?
Hi,
Where image do you want to add link?
You can use elemtent "Single image"
http://www.awesomescreenshot.com/image/2309830/6b109696873f347e96c2d0050f4cedc5
Ok, what I want to do is a photo gallery with a shaded effect when you hover over and click to link to a page.
I'm so sorry, our theme doesn't support this problem now. This is customization problem.
Just use elemtent "Single image" and set link follow:
http://www.awesomescreenshot.com/image/2309830/6b109696873f347e96c2d0050f4cedc5
Ok, I have solved the problem by installing a plugin for visual composer, but there is a conflict and the author tells me the following:
"Hi Javier,
I have investigated the page "Productos" that has the problem.
It seems that your theme uses a JavaScript function "hexToRgb" (that is poorly coded with no verifications). It takes all the elements that includes the attribute [data-overlay] and do some changes on it.
The issue here is that our element Single Hover Image uses also the attribute [data-overlay] but in a different way which get conflicted with the theme JS code.
You can share with us your FTP so we can fix the issue and you also need to contact the theme developers and tell them about this function and that they should add a "verification condition".
Thank you"
IT IS ALREADY SOLVED BUT IT IS FOR YOUR INFORMATION, TO BE TAKEN INTO ACCOUNT.
The file I have changed is /wp-content/sentra/js/sentra.js
I have just changed the first function and added a condition check.
Thank you
Hi,
Now, if you have any issue with sentra theme, you can tell me here.
I'll find solution for you!
Because if I can explain this:
When you click on the images, the link does not work, why?
i´t doesn´t work the link of the las hover images.
http://fuoco-vivo.com/galeria/
why it doesn´t work?
http://prntscr.com/emz2lu
http://prntscr.com/emz403
Ok, I have already solved it, was to add a css code
thank you.
Great!!!