❓ How do I zoom out? #146
-
When I add a banner sometimes the image is very 'zoomed in'. Which parameter should I adjust to have a more 'zoomed out' version of the banner? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@jcesguerram You can "zoom" out/in by specifying a
The above example will zoom the image out to 70% of its size. You can also use the options of You can also now use the "Targeting" modal feature to adjust the under the hood this is just controlling the css Thanks again, and feel free to open issues with feature ideas, question, or bugs |
Beta Was this translation helpful? Give feedback.
@jcesguerram
Thanks for the question.
You can "zoom" out/in by specifying a
banner-display
value in the frontmatter of a note.The above example will zoom the image out to 70% of its size.
You can also use the options of
cover
,auto
,contain
(these are also available from the dropdown menu for the "General" or "Folder Image" settings tabs.You can also now use the "Targeting" modal feature to adjust the
cover zoom
that was released in v2.21.xunder the hood this is just controlling the css
background-size
property of the banner image:background-size documentation
Thanks again, and feel free to open issues with feature ideas, quest…