How to display a full, uncropped image in a section card (prevent zoom)? #1541
Unanswered
AlexPayome
asked this question in
Help
Replies: 1 comment 2 replies
-
|
It appears you're using a page section configuration, which is no longer supported since Hinode v1 (see this announcement). The correct way in Hinode v1 is to use content blocks. Below is an example. It includes the class attribute - _bookshop_name: articles
heading:
title: Guides
align: start
input:
section: guides
reverse: true
sort: title
hide-empty: false
header-style: none
more:
title: More Guides
padding: 0
max: 3
class: border-0 card-zoom card-body-marginOne more thought, if you're using an |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the latest version of Hinode (v1.10.0) and I'm trying to display my company's logo in a card on my homepage section.
This is my section configuration from params.toml:
The Problem:
The card image is displayed with a "zoom" effect, cropping it to fill the entire space.
My Goal:
I would like the image to be displayed completely, without being cropped, while maintaining its aspect ratio
What is the recommended way to achieve this with the Hinode theme? Is there a specific parameter in the configuration or front matter that I should be using?
Thank you for your guidance!
Beta Was this translation helpful? Give feedback.
All reactions