[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

Joomla 3.x. How to remove lightbox, rollover effects and link gallery item to article

In this tutorial you will learn to remove lightbox, rollover effects and link gallery item to article.

Joomla 3.x. How to remove lightbox, rollover effects and link gallery item to article

  1. Access your website root directory using any file manager or via hosting Cpanel.

  2. Go to templates/themeXXXX/html/com_content/category directory and open gallery_item.php file:

    remove_lightbox_1

  3. Search for touchGallerylink class:

    remove_lightbox_2

  4. We need to remove that touchGallerylink zoom class and change the actual link.
    Also remove span for zoom-bg and zoom-icon.

    Replace:

    <a class="touchGalleryLink zoom" href="<?php echo htmlspecialchars($images->image_fulltext); ?>">

    With:

    <a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>">
  5. Save this file and upload to the server, replacing the original one.

  6. Open your site and reload the page, also you may need to clean browser cache to see the changes.

Thank you for watching this video tutorial. Now you know how to remove lightbox, rollover effects and link gallery item to article.

Feel free to check the detailed video tutorial below:

Joomla 3.x. How to remove lightbox, rollover effects and link gallery item to article