Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Seemingly no matter what I do, I cannot center items of field type image, even though I can center normal images fine in the same block using margin: 0 auto.
How might I center field type image content?
Comments
Comment #1
komal.savla CreditAttribution: komal.savla commentedHi,
Try to add width ( i.e width of the image) and margin: 0 auto; in your css
For example like this:
Thank You,
Komal