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

    I have a portfolio grid with the image link set to open a big image in the Lightbox. But the TITLES also become linked, and not to the Lightbox but a separate page, which I don’t want.

    How do I make the titles linked to the Lightbox too? Or if it’s not possible, just remove the links from the titles altogether?

    #328573

    After some searching, I found a way to turn off the portfolio title link by using this code:

    .grid-sort-container h3.grid-entry-title a {
    pointer-events: none;
    }

    Now is there a way to make the title linked to the Lightbox just like the thumbnail above it?

    #328780

    Hey!

    I’m sorry but it’s not possible without modifying the core files of the theme. If you want to know the files to edit, go to config-templatebuilder > avia-shortcodes > portfolio.php. Find this code on line 470:

    $output .= "<h3 class='grid-entry-title entry-title' $markup><a href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>";
    

    Regards,
    Ismael

    #328949

    Thank you for your reply. I try to stay away from editing theme files, as they get overwritten when the theme is updated. I’ll just keep the titles not linked :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Portfolio Grid – Remove Link From Titles?’ is closed to new replies.