HI,
I would like to use the attribute rel=”prettyPhoto[iframes]” inside a button, to call a link in the pretyphoto window.
I trying several codes like:
[av_button label=’95%’ link=’manually,http://www.xxxx.com?iframe=true&width=100%&height=100%,rel=”prettyPhoto%5Biframes%5D”‘ link_target=” color=’blue’ custom_bg=’#444444′ custom_font=’#ffffff’ size=’small’ position=’center’ icon_select=’no’ icon=’ue800′ font=’entypo-fontello’ custom_class=’EMR4′]
BUT no success. How can I do this?
THANKS
Hi!
Try putting the button in HTML format instead of using a shortcode:
<div class="avia-button-wrap avia-button-center avia-builder-el-0 avia-builder-el-no-sibling EMR4"><a href="http://www.xxxx.com?iframe=true&width=100%&height=100%" class="avia-button avia-icon_select-no avia-color-blue avia-size-small avia-position-center " rel="prettyPhoto[iframes]"><span class="avia_button_icon" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span><span class="avia_iconbox_title">95%</span></a></div>
Best regards,
Josue
Hi!
Try using the Chrome Dev Tools to mimic what you have before, i mean try reversing to the older version with the shortcode and copy the correct HTML, then when you paste it you just need to add the rel=’prettyPhoto’ attribute.
Cheers!
Josue
HI,
Thank for the faster assistance.
I resolved the issue in a simple way. Putting the div´s in the same textblock element.
THANK YOU