Portfolio single page Close button

Welcome Forums IndiGo Portfolio single page Close button

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2487

    remkodewit
    Participant

    Hi I have a question regarding the Close button on the Portfolio Single internal page. I tried to move the button to the top of the page so it is located above the image instead of underneath the image. But wherever I move it to, the script doesn’t work anymore. The button only works on the exact location it is on the original file… Can I move it at all or do I have to change the Javascript in that case? Can anyone help me please…??

    Thanks a lot


      Quote
    #2498

    Brankic1979
    Keymaster

    Hi,

    CLOSE strip is added by jQuery in javascript/custom.js

    
    $(".portfolio-single-holder").append("<a href='#' class='button grey close_external'>CLOSE</a>");
    

    You can change append to prepend and CLOSE will be on the top.

    I hope that makes sense.


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

You must be logged in to reply to this topic.