• Portfolio items to href instead of gallery

    Anonymous
    Inactive

    Hi,
    I want the portfolio items to not open up an image.
    I want to open a new href on the portfolio overlay.
    I added the code but it still does not open up the link but tries to open the picture instead.

    <div class="portfolio-item">
                          <img
                            class="img-fluid"
                            src="images/portfolio/form-validation.png"
                            alt="Image"
                          />
                          <div class="portfolio-overlay">
                            <div class="portfolio-info"> 
                              <i class="fa fa-check-square-o fa-2x" aria-hidden="true"></i>
                              <a href="https://vishu.info/projects/form/" target="_blank"><h3>Form Validation</h3></a>
                              <p>Check Errors in Forms</p>
                            </div>
                          </div>
                        </div>
    2 Replies
    Simon
    Keymaster

    Go to main.js then remove MagnificPopup js. Here is a screenshot- https://prnt.sc/thl4gd
    Hope it will work.

    Anonymous
    Inactive
    This reply has been marked as private.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.