Setting the the css background url from a media picker value?
Hi,
I have an some elements on a page where the background image is set through the css property background: url(...). I am currently setting these by using a inline stylesheet and then I tried just setting the style property on each individual element, but I was curious if there was an easier way to do this with the media picker?
Setting the the css background url from a media picker value?
Hi,
I have an some elements on a page where the background image is set through the css property
background: url(...)
. I am currently setting these by using a inline stylesheet and then I tried just setting the style property on each individual element, but I was curious if there was an easier way to do this with the media picker?Thank, Saied
Hey Saied
Have a look at the following post
https://our.umbraco.org/forum/templates-partial-views-and-macros/79988-media-picker-css-background-url
I just gave an answer there that might help you in the right direction or see the other posts Hubert linked.
is working on a reply...