Black Friday & Cyber Monday Offer | Flat 20% OFF on Lifetime & All Themes Package. Use coupon code BFCM24 | Offer valid till 5th Dec 2024 Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

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
    Member

    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.