More in this section
Forums / Designing & Styling / How to share css files in theme?

How to share css files in theme?

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. Renatas
    Renatas avatar
    14 posts
    02 Aug 2011
    09 Jan 2012
    Link to this post
    Is it possible to make theme and share common css and images like example: all web sites will use this one theme App_Themes/My Theme/common/style.css
    and for arabic web site i can include also this one
    App_Themes/My Theme/rtl/style.css

  2. Jen Peleva
    Jen Peleva avatar
    568 posts
    10 Nov 2016
    12 Jan 2012
    Link to this post
    Hello Renatas,

    When you create a multilingual template all language versions are automatically synchronized, but you are still able to set different themes to them. So what you need to do is register both your Arabic theme and the theme used by all other languages, and then set them to their corresponding templates/pages.

    Jen Peleva
    the Telerik team
    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
  3. Markus
    Markus avatar
    2763 posts
    25 Nov 2005
    30 Jan 2012
    Link to this post
    Dear Renates

    I usualy go about this the following way.
    All CSS that are comon to all themes are placed in a
    Then I add the css to my .master page (I allways have on .master page made up in visual studio to add stuff like this or scriptmanager.

    Then I have
    And set the rest where the themes differ.

    You might have to use !important on some of your styles in the div.css if you have set them also in ~/css/common.css

    Give it a try.


3 posts, 0 answered