Advertising sustains the DA. Ads are hidden for members. Join today

Views_Galleria CSS

Last updated on
30 April 2025

This Views Galleria patch offers a workable start for CSS customization.

To remove any image captions, comment out line 309 of the filejquery.galleria.js (ie. add // in front of _wrapper.siblings('.caption').text(_thumb.attr('title'));)

To remove the navigation, comment out line 16 of the file views-view-galleria.tpl.php (ie. add <!-- to the beginning and --> to each end of the row AND // after each <?php)

To substitute the navigation for images, in line 16 of the file views-view-galleria.tpl.php, substitute the <?php //echo t('&raquo; previous') ?> and <?php //echo t('next &raquo;') ?> for <img src="/filepathofyourimage">. Make sure that you move your images to that path.

If you don't want the pipe | between the navigation options (words or images), you can delete it from line 16.

Help improve this page

Page status: Not set

You can: