Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • mario996 Friend
    #1063526

    I would like the button link, in the Call to Action Style 1 to open in a new page.
    What is the best way to make this?

    Pankaj Sharma Moderator
    #1063749

    Hi
    Open template folder /acm/cta/tmpl/syle-1.php

    FInd

        <a href="<?php echo $helper->get('data.link') ?>" class="btn <?php if($helper->get('data.button_class')): echo $helper->get('data.button_class'); else: echo 'btn-default'; endif; ?>">
                        <?php echo $helper->get('data.button') ?>
                </a>

    Replace it with

        <a href="<?php echo $helper->get('data.link') ?>"  target="_blank" class="btn <?php if($helper->get('data.button_class')): echo $helper->get('data.button_class'); else: echo 'btn-default'; endif; ?>">
                        <?php echo $helper->get('data.button') ?>
                </a>

    save and check

    Regards

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

This topic contains 1 reply, has 2 voices, and was last updated by  Pankaj Sharma 7 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum