Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Maybe this is a stupid question, but I can not find the place where I can set the margins for the image on a teaser and the same image on the body of a node.
The teaser always has wider margins. I included a screenshot of both image and teaser and the local.css.
What am I overlooking?
Comment | File | Size | Author |
---|---|---|---|
local.css_.zip | 1.12 KB | paul_constantine | |
Image margins in body.jpg | 306.46 KB | paul_constantine | |
Image margins in teaser.jpg | 288.88 KB | paul_constantine |
Comments
Comment #1
jeremycaldwell CreditAttribution: jeremycaldwell commentedLooks like the CSS is a bit different for the teaser and the node page for the image float.
And then the node:
The easy fix would be to make both sets of code have the same margins applied to them and you should be all set.
Comment #2
paul_constantine CreditAttribution: paul_constantine commentedThank you I noticed that too :-)
But that would mean that the image in the body would have wider margins. It is the other way round though.
I'll try playing around with the numbers.
Cheers,
Paul.
Comment #3
stephthegeek CreditAttribution: stephthegeek commented