Slider button link new tab – Hosting theme

Home Forums All Other Themes Slider button link new tab – Hosting theme

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #82450
    Carla
    Participant
    • Topics: 11
    • Replies: 27
    • Total: 38
    Member since: January 16, 2017

    Please can you inform me how to open one of the slider buttons on the Homepage in a new tab? The url of the website is https://www.taskirancrt.nl/.
    The slider with the button “Naar webshop” I want to open in a new tab.
    Recently you gave me a code to use for opening one of the service boxes in a new tab and that went very well. Can you give me a code and where to put it to do the same but this time with the slider button?
    Thank you very much.

    #82702
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 25504
    • Total: 25504
    Member since: August 16, 2013

    Hi,

    Kindly folder frontpage/slider-static.php file and find “slidebtn” and add this code

    For Example:

    <div class="slidebtn"><a class="slidelink" href="<?php echo $complete['slide_link'.$val]; ?>" target="_blank"><?php echo $complete['slide_btn'.$val]; ?></a></div>

    Regards,
    Brad

    #82703
    Carla
    Participant
    • Topics: 11
    • Replies: 27
    • Total: 38
    Member since: January 16, 2017

    Perfect, thank you. It works!!

    #82751
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 25504
    • Total: 25504
    Member since: August 16, 2013

    Hi Carla,

    If you found our service good kindly review us here: https://www.sktthemes.org/forums/topic/reviews-and-testimonials/page/10/

    Regards,
    Brad

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