Hi All,
I’m having a problem in inserting background image on a group module (div), I’ve tried to insert this css style syntax:
background-image: url(‘<sample_url_from_the_web>’);
I am applying this via the CSS declaration on the module and even via the external css sheet. Please advise if I am missing something.
Thanks in advance!
system
July 25, 2017, 9:43am
2
Hi @alponce ,
This css should work. If it is not working, it might be mostly because of abrupt ending.
Try with urls which don’t have ‘)’ in it.
Or try it as,
background:url(‘https://storage.googleapis.com/madebygoog/v1/buy/googleplaymusic.png ’);
Jsum
July 25, 2017, 9:47am
3
@alponce ,
Your syntax should look like this if you are using html:
<div style="background-image: url(url.jpg);">
</div>
If you are trying to place this in the css of a drag and drop module then You shouldn’t be having an issue. Maybe try removing the quotes from around the image url.