I'm using a Macro to change the stylesheet in umbraco. Using Firebug the CSS is getting changed in the head tag, however the UI isn't changing as it does w/test pages.
public string _browserVer = ""; public string _CSSFile = "";
I tried both ways actually, because I found out the hard way that Umbraco adds "masterpages/" to your css path if you don't preceed your href w/ a "/".
Dynamically Changing CSS in Umbraco
I'm using a Macro to change the stylesheet in umbraco. Using Firebug the CSS is getting changed in the head tag, however the UI isn't changing as it does w/test pages.
Is there preferred way to do this or is this the recommended way to do this?
Not sure about the preferred method, but could the problem be that you're missing the leading slash on the Href?
I tried both ways actually, because I found out the hard way that Umbraco adds "masterpages/" to your css path if you don't preceed your href w/ a "/".
Believe it or not I solved this issue by putting CSS styles in the main .css file for the site. I believe it was a relative/absolute path issue.
is working on a reply...