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,
Somewhere somehow I cannot get the display of the galleria io working well in combination with adaptive themes (3,x) and adaptive core (3.x) version.
The image galleria is displayed but when the width option is set to a fixed size. If the option is set to auto then the display is 1 px width.
So I assume that the some container is not getting 100%. I want to solve this with css injections or changing the theme css of adaptive themes but my knowlegde of css is very bad..
Can you help? We need to go live asap ....
Comments
Comment #1
justme2013 CreditAttribution: justme2013 commentedChange to major as nothing is working :-(
Comment #2
justme2013 CreditAttribution: justme2013 commentedComment #3
aznleng CreditAttribution: aznleng commentedI recently came across this issue.
The reason the width was displaying as 1px was because the container's display is set as "inline-block".
To fix this, you would need to add in your css file
figure {display:block;}
or
figure {width:100%;}
**NOTE: At the very least, this was my issue with a custom theme I was using.
You may want check all the immediate containers holding the galleria.
Maybe one of their displays is also set as inline or inline-block...