Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Use image(svg) in place of title in modular Hero section

Started by Mitchell Ogden 6 years ago · 3 replies · 514 views
6 years ago

I am trying to figure out what I would need to do use a image(svg) in place of title text in a hero section of a modular page.

Thanks in advance for any help with this!

last edited 02/25/21 by Mitchell Ogden
6 years ago

Regardless of theme (unless theme supports it), I think it would still require a new (or at least extended) blueprint and a template. Blueprint, if you use Admin, to add new field for SVG input (or upload) and a template to handle and output that new saved field data.

6 years ago

Could you point me in the right direction of example code from another blueprint for the change in admin and template?

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 3 days ago
0 67 3 days ago
General · by lynbor, 4 weeks ago
3 410 1 week ago
General · by lynbor, 2 weeks ago
7 524 1 week ago
General · by Harry, 2 weeks ago
0 142 2 weeks ago
General · by Old Man Umby, 4 weeks ago
2 290 3 weeks ago