在 Typo3 中更改图像边距 [英] Change image margin in Typo3

查看:32
本文介绍了在 Typo3 中更改图像边距的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当创建一个文本&Typo3 中的图片元素如何调整图片左右边距?

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?

感谢任何帮助.

推荐答案

如果您使用 css_styled_content,那么您可以使用常量对其进行配置.

If you use css_styled_content then you can configure this with constants.

styles.content.imgtext.textMargin = 10

就在后端或 TS 上:

Just over the backend or over TS:

有效常量:

https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/css_styled_content/static/constants.txt

这篇关于在 Typo3 中更改图像边距的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆