Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #381429

    Hi,
    I tried to search for this but I got no suitable solution as of now.
    I would like to have a specific class (i.e. iframe-class) that opens a link in a pop-up / iframe. This CSS can then be added to buttons, links or other elements easily.

    Can someone help me achieving this?

    Many thanks.

    #382087

    Hey sitesme!

    All you need to do is add a ?iframe=true to the end of your URL.

    If you want to use a class then you can add it to line 824 in the /enfold/js/avia.js file.

    Best regards,
    Elliott

    • This reply was modified 10 years ago by Elliott.
    #382424

    Hi Elliot,
    I would like to use the ?iframe=true as a CSS style if possible to work with certain elements such as the Buttons for example.
    If I select an internal page as the link for that button, I can not add the code ?iframe=true since the link is automatically controlled by WP.
    The solution I see feasible is to add directly on each button (or other elements) that allow a CSS code to be added in.
    Is this possible?

    #382739

    Hey!

    For the buttons you can set the link manually and add the ?iframe=true to the end of your URL.

    You can add a class to line 826 in the /enfold/js/avia.js file but it would be better to just use the iframe=true so you don’t have to change it on every update.

    Best regards,
    Elliott

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