0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

Mosaic Grid add link to whole image

  • Mosaic Grid add link to whole image

    Posted 2 years 6 months ago
    • Hello RT help,
      I need to add a URL link to the complete images in the Mosaic Grid particle. I know how to create the custom particle... but, not how do write the code to do this.

      I do see others in the forum talking about this... but, can't seem to find the code for YAML and TWIG files.

      Any help pointing me in the right direction would be welcomed.

      Thanks
    • Web Design + Photo + Video = Websites That Work!
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Mosaic Grid add link to whole image

    Posted 2 years 6 months ago
    • You need to create a particle override first.

      To learn how to override a particle in Gantry 5 please see our documentation here http://docs.gantry.org/gantry5/tutorials/overriding-particle-settings#overriding-particle-source-files .

      Then alter the TWIG code of your particle override to add the link around the image (you can refer to the existing link code).

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.077 seconds