Hey all.
I have a css file with the following for the background image:
My issue is with the url() and how to get my image link to populate it.
I've tried <cms:show, <cms:get_field, <cms:link, I've tried using the the pages tag, but seeing as it's not a php file, but a css file, it's not able to read the cms tags. I can't find anything that will populate the url section with the path to the correct image. The image I need to populate it with is created from JCROPTHUMB (not sure if that matters, but there's no hard image file to point to)
Does anyone have any experience with this type of background image from the css file using jcropthumb?
I have a css file with the following for the background image:
- Code: Select all
.page-header {
background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), url(../img/carousel-2.jpg) center center no-repeat;
background-size: cover;
}
My issue is with the url() and how to get my image link to populate it.
I've tried <cms:show, <cms:get_field, <cms:link, I've tried using the the pages tag, but seeing as it's not a php file, but a css file, it's not able to read the cms tags. I can't find anything that will populate the url section with the path to the correct image. The image I need to populate it with is created from JCROPTHUMB (not sure if that matters, but there's no hard image file to point to)
Does anyone have any experience with this type of background image from the css file using jcropthumb?