Edit Blog Slider to click anywhere

Home Forums Gillion Theme Edit Blog Slider to click anywhere

Home Forums Gillion Theme Edit Blog Slider to click anywhere

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    RESOLVED Posts
  • ultimatec
    Participant

    Hello,

     

    Right now in my website I set up the Blog Slider to show up the posts with Style5, if I want to access to the article, I have to click always the h2 tag, and my question is.

     

    There is a way to be able to click anywhere in the image and go to the same article?

     

    Here is a web where the Blog Slider is completely clickable and not necessary to click the h2 tag https://electrek.co/

     

    My website http://numtric.com/

     

    Sorry if I don’t express myself clearly

     

    Thank you so much

    Attachments:
    You must be logged in to view attached files.

    Hi @ultimatec,

     

    I hope you are well today and thank you for your question.

     

    The Blog Slider content element doesn’t provide this functionality so to achieve this, you have to develop custom code in the child theme of Gillion theme.

     

    Developing custom code for custom functionality is beyond the scope of support that we provide here.

     

    If you are not a developer then you can consider hiring a developer to develop it for you. You can hire a developer from any freelance site. Shufflehound recommends the developer https://www.upwork.com/freelancers/~011652ffec8865c6d5

     

    Best regards,
    Shufflehound team

    ultimatec
    Participant

    Okay, thank you

     

    I appreciate it

    ultimatec
    Participant

    Solution for this topic

    Solved, it’s not the best way to do it but it works :), here the code

     

    Javascript:

    jQuery(document).ready(function($) {
    $(‘.blog-grid-item1’).click(function() {
    var url = $(“.blog-grid-item1>.blog-grid-item-container>.blog-slider-container>.blog-slider-content>.blog-slider-content-details>a”).attr(‘href’);
    window.location.href=url;
    });
    $(‘.blog-grid-item2’).click(function() {
    var url = $(“.blog-grid-item2>.blog-grid-item-container>.blog-slider-container>.blog-slider-content>.blog-slider-content-details>a”).attr(‘href’);
    window.location.href=url;
    });
    $(‘.blog-grid-item3’).click(function() {
    var url = $(“.blog-grid-item3>.blog-grid-item-container>.blog-slider-container>.blog-slider-content>.blog-slider-content-details>a”).attr(‘href’);
    window.location.href=url;
    });
    });

     

    CSS:

    .blog-grid-item1, .blog-grid-item2, .blog-grid-item3:hover{cursor:pointer};

     

    Awesome great to see you got that achieved developing custom code.

     

    Thanks for helping out here in this forum by sharing the solution.

     

    Your help here is really appreciated.

     

    Have a fantastic day!

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

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form