support@gracethemes.com

How to link the images in section Counterwrap?

Home Support Prevalent WordPress Theme How to link the images in section Counterwrap?

This topic contains 3 replies, has 2 voices, and was last updated by  Grace Themes 4 weeks, 1 day ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9852

    Bjoern Greve
    Participant

    Hi,
    I would like to have the images in the section class “Counterwrap” (cntimage) linked to content according to the link set for the accociated button (cntbutton).
    How do I get this done?
    Thanks a lot for help on this!

    #9873

    Grace Themes
    Keymaster

    Hi,

    To add the button link for image in “Popular Destination” section

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

    at line no. 1039 you will find the below code
    <div class="cntimage hvr-rectangle-out"><img src="'.$image.'" /><span class="counter">'.$days.'</span></div>

    Now replce this code with the below code
    <div class="cntimage hvr-rectangle-out"><a href="'.$link.'"><img src="'.$image.'" /><span class="counter">'.$days.'</span></a></div>

    Please do this changes and let me know your feedback.

    Regards
    Grace Themes

    #9895

    Bjoern Greve
    Participant

    Hi,
    thank you so much for your quick reply. It works well!
    Kind regards,
    Björn

    #9913

    Grace Themes
    Keymaster

    You are most Welcome 🙂

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

You must be logged in to reply to this topic.