Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

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

Started by Mitchell Ogden 5 years ago · 3 replies · 377 views
5 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
5 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.

5 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 Jerry Hunt, 4 days ago
2 133 1 day ago
General · by pamtbaau, 1 day ago
1 93 1 day ago
General · by Andy Miller, 2 days ago
0 77 2 days ago
General · by Marcel, 12 months ago
6 387 5 days ago
General · by Duc , 6 days ago
3 72 6 days ago