ejenks Posted March 21, 2023 Share Posted March 21, 2023 Hi all, I am currently redesigning my graphic design portfolio website and have come across a bit of an issue with caption inconsistencies. The page https://www.ellajenkinsdesigns.com/design/slow-rush illustrates my problem the best. On the project page, I am using two types of galleries to display images of my work: "Slideshow: Simple" and "Grid: Simple." When I added the simple grid, I thought that the caption text was too small, so I inserted this CSS code to adjust it: Quote figcaption.gallery-caption.gallery-caption-grid-simple { p { font-size: 90%; } } Although the simple grid images' captions now look the way I wanted, I am noticing inconsistencies with the simple slideshow caption. Is there any CSS code that could make the simple slideshow captions look exactly like the simple grid captions (ie. increasing text size, left-aligning text, and adjusting the distance between the images and the captions)? Any tips or advice would really help me out and be greatly appreciated! Link to comment
tuanphan Posted March 25, 2023 Share Posted March 25, 2023 You can change to this code figcaption.gallery-caption { p { font-size: 90% !important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
ejenks Posted March 28, 2023 Author Share Posted March 28, 2023 @tuanphan That seemed to have helped make the font sizes the same, which is good. However, is there a way to left-align the simple slideshows' caption text so it looks like the simple grid's caption text? I'm also noticing an awkward gap between the bottom of the simple slideshows' images and the captions—could there be a way to fix that as well? I like the spacing between the caption and images for the simple grids, so if there was a way to have the spacing look similar to that I would really appreciate it. Thanks for all of the assistance with my site so far 🙂 Link to comment
tuanphan Posted April 2, 2023 Share Posted April 2, 2023 On 3/28/2023 at 10:44 AM, ejenks said: @tuanphan That seemed to have helped make the font sizes the same, which is good. However, is there a way to left-align the simple slideshows' caption text so it looks like the simple grid's caption text? I'm also noticing an awkward gap between the bottom of the simple slideshows' images and the captions—could there be a way to fix that as well? I like the spacing between the caption and images for the simple grids, so if there was a way to have the spacing look similar to that I would really appreciate it. Thanks for all of the assistance with my site so far 🙂 Try adding this CSS under figcaption.gallery-caption.gallery-caption-slideshow { max-width: unset !important; margin: 0 !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
ejenks Posted April 4, 2023 Author Share Posted April 4, 2023 @tuanphan That code seemed to have changed the text formatting from being two lines long to one line long Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment