Full width image #498
-
Dear all, I'm struggling to add an image to a page that spans the full width of the I have read the Tailwind CSS documentation and have experimented with the respective margin classes, i.e. setting
but to no avail: The image is stored as page resource. Could anyone point me to what I am missing? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I had the same problem, I created an original shortcode. You may not necessarily need to create a shortcode. |
Beta Was this translation helpful? Give feedback.
I had the same problem, I created an original shortcode.
https://github.com/sforzando/sfz.dev/blob/main/layouts/shortcodes/figureWidthFull.html
You may not necessarily need to create a shortcode.
Since
w-full
is 100% for the parent, it would be better to usew-screen
, which is 100vw.https://tailwindcss.com/docs/width