Home Forums Theone WordPress Theme Button Function – Open link in new window

This topic contains 1 reply, has 2 voices, and was last updated by  BWSM 3 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #6029


    I am using the Button Module in your theme’s page builder. I would like my URL to open up in a new, smaller window, on click. Is this possible?

    I could alternatively use your ‘button’ shortcode in a TextBlock Module, but I am not sure how to do this. I need something like this (below) in a Button Format:

    <a href="http://raider.websitewelcome.com/~tagitjj/contact-us/" onclick="window.open('http://raider.websitewelcome.com/~tagitjj/contact-us/', 'newwindow', 'width=500, height=500'); return false;">Contact Us</a>

    Thank you for your great support!



    I added a js function, it will work for all button module and shortcode

    Please follow:
    download the file, unzip it
    – login FTP, go to themes/theone/js/
    – upload / replace custom.theme.js

    Best, Bwsm

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Join Newsletter(FREE)

Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!