Bricks Builder using SVG as Dynamic data two ways
HTML-код
- Опубликовано: 24 ноя 2024
- This video shows how to use SVGs as dynamic data in two ways.
1. As an image src attribute
2. As raw SVG code
Firstly we prepare the SVG using Adobe Illustrator, Notepad++ and OMGSVG.
We then use Metabox to create a CPT and Custom fields.
We then use the CPT ina Bricks Query loop.
I show how the raw SVG can be styled in the editor, were the mage src cannot. - Хобби
Super helpful video, Alan, thanks!
Did you customize your builder with css?
No, I use Advanced Themer which adds some productivity features. Perhaps that is what you are seeing?