Skip to content

Conversation

@AntoninPvr
Copy link

This PR updates the Hextra card layout so that the title and subtitle consistently appear at the bottom of the card, regardless of content height.

I keep the implementation simple by wrapping the existing title and subtitle block inside a container with margin-top: auto.

Before
When cards with different image heights were displayed using the cards shortcode, cards with smaller images had the title and subtitle positioned immediately below the image, leaving an awkward empty gap at the bottom of the card.

After
Cards now automatically align the title and subtitle at the bottom, resulting in a more consistent appearance across the theme.

@netlify
Copy link

netlify bot commented Nov 19, 2025

Deploy Preview for hugo-hextra ready!

Name Link
🔨 Latest commit 5e587f5
🔍 Latest deploy log https://app.netlify.com/projects/hugo-hextra/deploys/691de4fffd8dd2000807c4f7
😎 Deploy Preview https://deploy-preview-877--hugo-hextra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant