Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #351208

    Hi!

    Would it be possible to have lets say the masonry blog display open up the single.php post inside a lightbox instead?

    #351214

    I read in some other post that in js/avia.js ?iframe=true had to be added, this seems to be added to version 3.. so i guess i need to find the post href in masonry right? and append ?iframe=true to it?

    • This reply was modified 10 years, 1 month ago by marcelmontel.
    #351259

    I tried on a page from the menu to open in a lightbox but it seems like a get a trailing slash after the pagename.. eg:

    https://kriesi.at/support/topic/how-to-use-iframes-with-prettyphoto/

    my link looks like:
    a href=”//mysite.com/timeline?iframe=true&width=80%&height=80%”” rel=”“prettyPhoto””
    i tried with rel=lightbox as well..

    when i click on the link i get redirected to the timeline page and the url becomes

    http://mysite.com/timeline/?iframe=true&width=80%&height=80%

    please advise :)

    • This reply was modified 10 years, 1 month ago by marcelmontel.
    #351700

    Hi!

    Thank you for using Enfold.

    Yes, it is possible with the portfolio items but the page won’t look good on the lightbox container. Edit a portfolio item then look for the Overwrite Portfolio Link setting. Set it to define custom link. Use the url of the single post or portfolio page, add the ?iframe=true attribute in the end. Something like this:

    http://www.mysite.com/portfolio-item/single-portfolio-custom-link?iframe=true
    

    Use the masonry element to display the portfolio entries.

    Cheers!
    Ismael

    #351821

    Thank you Ismael.

    My Masonry currently displays blog posts, so what i was hoping to do is to add the link for a lightbox when u click on the blog entry instead of having it go to the single.php, so what would i need to change then? I assume its in avia-templatebuilder ?

    #352068

    Nevermind i added the class of another lighbox myself into the template and disabled lightbox in avia.js

    Would be nice to do it all within the theme though.

    BR
    M

    #352426

    Hi!

    Glad you figured it out. I’m sorry but this feature is not available as a default option on the theme yet. You can vote or request for the feature on our Feature Requests page.

    Regards,
    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.