• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

How do I modify the template used in the Photo Gallery module

Explorer ,
Apr 20, 2012 Apr 20, 2012

Copy link to clipboard

Copied

I notice the Photo Galleries are rendered as an HTML table and I would like to make a small modification to the way the gallery is rendered on the page.

Basically I just want to wrap a DIV around the <img> tag so I can control the look of the image via my own CSS.

I see there is the ability to modify Module Templates, but the photo gallery module is not listed there.

Where can I access the template used for a photo gallery?

Alternatively I will need to display the images myself using an XML feed and jQuery, but I would rather use BC's own modules when I can.

TOPICS
Newbie Corner

Views

720

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Apr 21, 2012 Apr 21, 2012

Hi David,

There is no template for the photo Galleries. But if you are using Firebug you can find out the css values and add your own modification by adding CSS by the same selector as the current gallery to your own page and use the !Important value to over write the gallery css.

Votes

Translate

Translate
LEGEND ,
Apr 21, 2012 Apr 21, 2012

Copy link to clipboard

Copied

LATEST

Hi David,

There is no template for the photo Galleries. But if you are using Firebug you can find out the css values and add your own modification by adding CSS by the same selector as the current gallery to your own page and use the !Important value to over write the gallery css.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines