problem with portfolio

Home Forums WordPress Theme Inshot – Photography WordPress Theme problem with portfolio

This topic contains 3 replies, has 2 voices, and was last updated by  CTHthemes 9 months, 2 weeks ago.

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

    upadvance
    Participant

    Support Expired

    ​Hi, I wanted to know if it was possible to access the single post portfolio by clicking on the photo and without having to click on the title.

    On the home page there are my works, to access the inside I have to click on the title. I would also like to log in by clicking on the image.

    #19037

    CTHthemes
    Keymaster

    Hi, send me the page link to check. Thanks.

    #19042

    upadvance
    Participant

    Support Expired
    This reply has been marked as private.
    #19053

    CTHthemes
    Keymaster

    Hi, you have to add the code bellow to theme scripts.js file ( bellow initparallax(); ): http://prntscr.com/iks89m

    
    $(".swiper-slide.portfolio img").on("click", function(e) {
                e.preventDefault();
                var a = $(this).parent().find('.thumb-info h3 a').attr("href");
                window.location.href = a;
                
            });
    
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Hello! CityBook version 1.2.7 was released. Bulk Import Add-On, OpenStreetMapView Details
+