-
AuthorPosts
-
January 11, 2017 at 11:30 am #731980
Hello,
I don’t know yur theme very well so I hope you’ll be able to help me.
On my homepage, URL below, I have “Nos metiers” section and Team section. For the moment, I’ve used the legend trick to display a text (white on black bg) when you put the mouse on the image.
My client wants more text so I can’t use this trick any more. I’d like to click on the image and a pop up is displayed with more text. Is there anything is the theme to do this or should I use a plugin? If yes, any plugin you would recommend?
Tx for your help,
MarineJanuary 11, 2017 at 3:29 pm #732078Hey Jean-Francois,
There are many lightbox plugins but you don’t need any of there it can be easily achieved with just the enfold theme features.
1. Please create a new page with your text and on the right side of the page hide the header and footer.
2. Use a icon or a button element and put the page link in there and select open in same window.Just add “?iframe=true” to the end of the page link http://site.com?iframe=true
Best regards,
VinayJanuary 11, 2017 at 3:45 pm #732090Tx a lot Vinay, Enfold developers have thought to a lot of features, congrats!
January 12, 2017 at 5:55 am #732466Hi,
Thanks for the kind words, please let us know if you should need any further help on the topic.
Best regards,
RikardJanuary 16, 2017 at 12:34 pm #734003Hey,
I’ve tasted the iframe and it works perfectly :-)
How can I increase the iframe height on mobile portrait view?
Tx ! Nice day
MarineJanuary 17, 2017 at 6:46 am #734494Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
@media only screen and (max-width:767px) { .mfp-iframe-holder .mfp-content { min-height: 80vh!important; }}
Best regards,
VinayJanuary 17, 2017 at 10:34 am #734616Tx Vinay, I don’t see any difference on my mobile but it may come from the cache…
January 17, 2017 at 2:17 pm #734717Grrrr my client now asks if the iframe can be displayed not after a click but after just a hover on the image…Before I was displaying the image legend with the over but the place was too small so I’ve changed for an iframe and he wants it smaller and hover…
Is it possible with Enfold?
Tx and sorry guys ! (when I imagine it’s a free client just to help, always the same lol)January 20, 2017 at 5:07 am #736171Hi,
Grrrr my client now asks if the iframe can be displayed not after a click but after just a hover on the image…
I’m sorry but this is not possible by default. It will require quite a few modifications that we won’t be able to provide here. Please hire a freelance developer or contact our partner, Codeable.
// http://kriesi.at/contact/customization
Or if you’re familiar with jQuery, maybe it’s possible to trigger the “click” event on mouseover.
// http://api.jquery.com/trigger/
And to target a specific image element, you need turn on the custom css class field.
// http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Best regards,
IsmaelJanuary 21, 2017 at 7:37 pm #736844Tx Ismael !
January 23, 2017 at 6:52 am #737119Hi,
No problem and sorry we couldn’t be of more help. Please let us know if you should need any further help on the topic.
Best regards,
RikardMarch 14, 2018 at 2:44 pm #926635Hi Enfold team,
I try to do the same but it’s not working for me. When I click on the button it just shows a black screen pop-up.
Can you help me ?
Thanks,
ClémentMarch 15, 2018 at 7:43 am #927099March 15, 2018 at 12:39 pm #927249Hi,
I fix the problem : I had to indicate https and no http in the URL. I think I have some problem with my https cause the redirection should be automatic.
I still have a question : why it’s so long to load the pop-up ? Still cause of my server configuration ?
Website concerned : https://theatre-inutile.com/compagnie/#equipe
go hover a picture and the icons “+” open a pop-upThanks,
Clément
March 15, 2018 at 3:02 pm #927363Hi,
I checked your site and it appears a plugin conflict may be one of the reasons for this issue.
To find which plugin is causing the conflict please follow these steps:1. Go to your plugins page > Deactivate all active Plugins
2. Update WordPress and Enfold to the latest version if you have not.
3. Make sure all the plugins are updated.
4. If the problem does not persist when plugins are turned off, activate one plugin at a time and refresh until you find the plugin in conflict.We await the results of your plugin compatibility test.
Thanks for your cooperation :)
Best regards,
VinayMarch 15, 2018 at 5:36 pm #927512Hi Vinay,
I tried to deactivate all plugin but nothin change significatly. If you have a tip about how to detect plugin conflict I take it :)
Best regards,
ClémentMarch 16, 2018 at 6:48 am #927952Hi,
why it’s so long to load the pop-up ?
In the “Kossi Efoui” item for example, the popup requests the page “https://theatre-inutile.com/kossi-efoui/?iframe=true” and then do a 301 redirect to the same page “https://theatre-inutile.com/kossi-efoui?iframe=true”. I’m not sure why it has to redirect. The only difference between the url is the forward slash before the query or the iframe parameter. Please edit the link and use the url with the forward slash. I’m not really sure if it’s going to help though.
Best regards,
IsmaelMarch 16, 2018 at 12:26 pm #928069Hi Ismael,
I edited the link. I’m not sure that changes something… Thanks for yours advices anyway and I let you know if I find the solution.
Best regards,
ClémentMarch 17, 2018 at 7:51 am #928387Hi Clément,
Thanks for the feedback. Let us know if you should need any further help on the topic.
Best regards,
RikardOctober 3, 2018 at 6:48 pm #1017584Hi there!
I have a shortcode button [av_buttonrow_item label='REQUEST FREE CONSULT' link='manually,https://app.acuityscheduling.com/schedule.php?owner=16684187?iframe=true' size='medium' label_display='' icon_select='no' icon='5' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff' av_uid='av-3y48lo']
[/av_buttonrow]It is not opening the iframe, just reloading the page to the new one.
Is there anything I need to change in the shortcode for the target or link to make this open in a pop up?
I created a thread specific to this question but did not get any feedback and I need to finish the site today.
Thank you!October 5, 2018 at 6:56 am #1018148Hi,
@FZKFranziska: Please continue here: https://kriesi.at/support/topic/opening-iframe-modal-with-button-click/#post-1017672We’ll close this thread now.
Best regards,
Ismael -
AuthorPosts
- The topic ‘Open a pop up by clicking on a block’ is closed to new replies.