More in this section
Forums / Developing with Sitefinity / css background image URL to images folder

css background image URL to images folder

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
3 posts, 0 answered
  1. Martin
    Martin avatar
    4 posts
    16 Jan 2015
    05 Feb 2015
    Link to this post
    I have a Folder Structure as it folows:
    I have images in the Images folder.
    What should be the url in main main css file which is used as a theme for most of the pages.
    I have tried different variants but unsuccessful.
    The css file is located in:
  2. Grisha 'Greg' Karanikolov
    Grisha 'Greg' Karanikolov avatar
    156 posts
    08 Jan 2018
    05 Feb 2015
    Link to this post
    Hi Martin,

    The path that you can use in your CSS shouldn't be any more complex than this:

    background: url(../Images/logo.png) left center no-repeat;

    Since your theme is in the MyTheme folder and both Images and Global are subfolders of that, this path should work for you within your CSS.

    Hope that helps!

    Grisha 'Greg' Karanikolov
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
  3. Jenny
    Jenny avatar
    0 posts
    01 Jan 2018
    01 Jan
    Link to this post

    I have a problem as well. How can I fix it?

3 posts, 0 answered