Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
thank you for developing such a great module and even open it up for the rest of us :) I have an issue though:
1. Installed Galleria module on Drupal 7
2. Created Content Type (All fine)
3. Duplicated Classic Theme and customize styles as needed BUT
4. I need to define the width and height from within the Theme AND NOT through the global settings in the module config (Since I want to create several content types based on ONE Galleria module) Galleria ignored all my attempts to introduce and overall width and height in the Theme CSS. I saw that Drupal add the following code to the output:
Comments
Comment #1
jackhutton CreditAttribution: jackhutton commentedThis would be a great feature - to enable differing styles of the galleria module on the same site
Comment #2
jackhutton CreditAttribution: jackhutton commentedlooking in the sites/all/modules/galleria/galleria.module file
on line 79 I see this code
it seems as though support for various themes is preliminarily built in.. but I'm not sure how we can harness this all..
Comment #3
starkusmaas CreditAttribution: starkusmaas commentedYou can create your own theme and select it in the display field but I have actually figured out by now that many theming and customization options in the theme javascripts are ignored and global settings from global module config are used instead. That basically allows only one Galleria set up per one Drupal installation.
Comment #4
miro_dietikerUse a css selector with more accuracy to override it safely.
Also find the additional feature request for per-galleria settings as separate feature request.
#1173594: settings per image formatter, nodereference formatter and views display
Comment #5
miro_dietikerWith the new options / settings this can be controled cleanly.
#1185248: Better options page and per-page options
Check the configuration page and define your custom option sets.