Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Saied 349 posts 674 karma points
    Sep 10, 2016 @ 01:28
    Saied
    0

    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

  • Sven Geusens 169 posts 881 karma points c-trib
    Sep 13, 2016 @ 15:20
    Sven Geusens
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft