dorsetdigital/silverstripe-element-imagetext
Composer 安装命令:
composer require dorsetdigital/silverstripe-element-imagetext
包简介
Adds an elemental content block with an image
README 文档
README
Adds an elemental content block with an image
Requirements
- PHP ^8.4
- Silverstripe ^6.0
- Silverstripe Elemental ^6.0
Installation
- Install the code with
composer require dorsetdigital/silverstripe-element-imagetext - Run a
dev/build?flushto update your project
Usage
This module adds a simple way to add a content block with an HTML image By default, the module doesn't add much in the way of styling, it expects you to do this in your own CSS file
The CSS class assigned to the various image widths can be configured using a YML config file:
eg, for Bootstrap 4, you may want to use:
DorsetDigital\Elements\ImageTextElement:
sizes:
'col-md-6': '1/2 page width'
'col-md-4': '1/3 page width'
'col-md-3': '1/4 page width'
'col-md-2': '1/6 page width'
统计信息
- 总下载量: 339
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2018-10-30