Reputation: 1364
When creating a 'Text & Images' element in Typo3 how can you adjust the left/right margin around the images?
The default margin between text and images is too small, is there a line I can add to the template to set a custom margin or something else?
Any help appreciated.
Upvotes: 0
Views: 660
Reputation: 1127
If you use css_styled_content then you can configure this with constants.
styles.content.imgtext.textMargin = 10
Just over the backend or over TS:
Valid constants:
https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/css_styled_content/static/constants.txt
Upvotes: 1
Reputation: 55798
You can do it with CSS, just inspect the HTML code, each image layout has it's set of classes, so you can easily override it.
Upvotes: 0