Hello,
I was wondering if it would be possible to make the div “excerpt” in the popups clickable. Because for the moment the a tag behind the excerpt div the link only works on the top of the popup and not where the excerpt div is. I would like the whole popup to be clickable.
Is it possible ?
I also still need to know if it is possible to add button on the excerpt of the popup.
Have a nice day !
Best Regards,
-
This reply was modified 2 years, 11 months ago by
orahdev.
Dear @orahdev,
Let me recap what I understood :
1 / You want to add a button in the exceprt but can’t because it destroys your map :
Are you valid HTML code to your page (are you familiar with HTML ?)
I tried with this and it works (you have to customize the link with css) :
<a class='btn' href='https://google.com'>Exceprt button</a>
2/ You want the whole popover to be clickable, not only the thumbnail part. You can only do this if the excerpt is hidden, sorry.
Hello @socrapop ,
Thank you for your response !
You undrestood well !
1/ I am familiar with HTML, I tried the code you sent to me. But after, my map doest show anything as you can see in the link
https://snipboard.io/nuaiz2.jpg
And when I erase it, it works well again.
I put the code like this : https://snipboard.io/c3q7TM.jpg
Best Regards,
Oh okay I did not understand it was the custom excerpt you were using. It seems that it’s not accepting HTML and break the map + make the marker disappear in the edit interface.
I will have to debug it and update the plugin before you can use that with html :/ Do you have the possibility to use the post excerpt instead ? Some theme don’t use them.
Hello @socrapop ,
It seems that I can’t use the post excerpt instead but it’s okay I will wait for an update don’t worry !
Thank you for your responses !
Best Regards,