Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Themes-Changing the theme.css file

  Asked By: Traci    Date: Jan 17    Category: Sharepoint    Views: 1518

I have noticed that in changing anything on a theme.css stylesheet,
will not render immediately upon refresh..

I have been told that in order for my changes to render, I need to go
to site settings set another theme, then return to set my customized
theme back.
Another way to handle this is to basically copy the stylesheet into the
source of a content editor web part (between two <style> tags) and make
my changes there to see what effect they will have.

I know that when I modify any other stylesheet (core.css, etc..) that I
dont have to do all of that..I can modify the core.css right where it
sits and changes render immediately..

Does anyone know of an easier way to do this?

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Kurt Gilbert     Answered On: Jan 17

The problem is that when a theme  is applied a copy  of the theme is
created in the site's content  database. It is not a ghosted copy so
when you change the original in the 12 hive the changes will not be
picked up unless you do something to re-copy the files to the site's
content database. Take a look at the following BLOG post for more info.

heathersolomon.com/.../SharePoint-2007-Design
-Tip-Import-your-CSS-for-SharePoint-Themes.aspx

 
Answer #2    Answered By: Jaya Deoghar     Answered On: Jan 17

AlternateCSS is linked from the Site rather than copied into the
database (as a theme  is).

 
Answer #3    Answered By: Candi Branch     Answered On: Jan 17

So what we decided to do is to copy  the theme.css into the style library at the
portal root, and link it to the site  in question by the alternate url property
in the master page setting in site settings..for testing and editing..then once
we get the theme.css looking the way we want, we move it back  to the theme
folder and apply it in site settings..

 
Didn't find what you were looking for? Find more on Themes-Changing the theme.css file Or get search suggestion and latest updates.




Tagged: