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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Blueprint / .twig / .md for CSS background image

Started by Tim Guy 8 years ago · 1 replies · 1109 views
8 years ago

Hello
I would like to be able to select an image in the page admin, which then displays within a template div as a css background-image.

There is an incomplete solution here, which I've tried without success: /forum/archive/how-to-have-a-css-background-image-from-form-field-t8268

Can anyone please help with the correct blueprint, twig and md structure?
Many thanks
Tim

8 years ago

If anyone needs the answer, I finally found it here: /forum/general/css-image-loading-t118
Sorry for wasted reads and thanks to poster(s) of solution.
Tim

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 85 13 hours ago
General · by pamtbaau, 18 hours ago
1 60 17 hours ago
General · by Andy Miller, 1 day ago
0 47 1 day ago
General · by Marcel, 12 months ago
6 350 5 days ago
General · by Duc , 6 days ago
3 44 5 days ago