More in this section
Forums / Designing & Styling / /Global and /Images question

/Global and /Images question

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.
2 posts, 0 answered
  1. jon
    jon avatar
    3 posts
    27 May 2007
    01 Dec 2013
    Link to this post
    1. For a custom theme, can you include additional directory structure containing cross-referencing CSS files within /Global?


    2. For a custom theme, can CSS files inside /Global use the attribute url(../../Images/nav-arrow-blue.png) to specify the file of a background image? If not, how can image file urls be referenced?

    3. Can multiple levels of directories exist within the /Images directory of a theme?

  2. Grisha 'Greg' Karanikolov
    Grisha 'Greg' Karanikolov avatar
    156 posts
    08 Jan 2018
    02 Dec 2013
    Link to this post
    Hi John,

    Let me address your questions in order below:
    1. Yes, absolutely. Any CSS files that you put in the /Global folder will be automatically loaded upon the initialization of your Sitefinity website. Any CSS files that you place in subfolders of that would need to be explicitly referenced through your .master file or page properties.
    2. Yes, absolutely. Example - in the Quantum demo website located here, we have referenced images from the Images folder via CSS using this:

    background-image: url(../Images/background.jpg);
    3. Yes, absolutely. Just make sure to reference the path correctly so that the images come up!

    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 Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered