Flat 20% OFF on All Themes Package. Use Coupon Code GRC20 | Offer valid till 31st Oct 2021 Buy Now

Section 3 Button

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7034
    Randy
    Participant

    Ho do I tell the button is section 3 to open in a new window?

    #7039
    Grace Themes
    Participant

    Hi

    To open the button link of section 3 in a new window

    Go to Appearance -> Editor -> inc/custom-functions.php

    at line no. 1081 you will find the below code
    <a href="'.$url.'" style="'.( ($buttoncolor!='') ? 'color:'.$buttoncolor.' !important;' : '' ).'">'.$button.'</a></div>

    Now simply add target=”_blank” in anchor tag like below

    <a target="_blank" href="'.$url.'" style="'.( ($buttoncolor!='') ? 'color:'.$buttoncolor.' !important;' : '' ).'">'.$button.'</a></div>

    Regards
    Grace Themes

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