Hi. I have problem with applying stylesheet to my website. I have created a stylsheet called "dbaStyle" in the Setting section. Then I have put this in my template in the <head>:
I have also ticked the 'dbaStyle' as the related stylesheet for my richtext editor. But the css inside 'dbaStyle' is not applied to my text. I also tried to call my css class from 'dbaStyle' in my master page template but its not appeared in my website.
Also, I have created a style for richtext editor drop-down entry to be selected by editor. I named it "Heading".
But it also can't be applied in my richtext editor. i could apply it but when I save/publish, the text back to normal,just like before I applied any style on it.
Im using Umbraco 4.5.2, I'm new with Umbraco. did I miss step for applying the stylesheet?
This is just HTML, so it should work fine. Are you sure the link is correct? Have a look with firebug to see if there are any 404 errors popping up there, or maybe your styles are overruled with other styles(heets).
Im sure the link is correct..and I have only created 1 style (dbaStyle) with a property of it called 'Heading'. Oh btw, I'm building this website from Runway. I just edit it and delete the existed stylesheets of Runway..
I don't know why in the firebug, it says 'there are no rules in this stylesheet'. Im sure I referenced my style correctly in the <head> and I ticked my style for the richtext editor. I guess i need to re-install the Umbraco? Thanks
stylesheet is not applied
Hi. I have problem with applying stylesheet to my website. I have created a stylsheet called "dbaStyle" in the Setting section. Then I have put this in my template in the <head>:
<link rel="stylesheet" type="text/css" href="/css/dbaStyle.css" />
I have also ticked the 'dbaStyle' as the related stylesheet for my richtext editor. But the css inside 'dbaStyle' is not applied to my text. I also tried to call my css class from 'dbaStyle' in my master page template but its not appeared in my website.
Also, I have created a style for richtext editor drop-down entry to be selected by editor. I named it "Heading".
But it also can't be applied in my richtext editor. i could apply it but when I save/publish, the text back to normal,just like before I applied any style on it.
Im using Umbraco 4.5.2, I'm new with Umbraco. did I miss step for applying the stylesheet?
Thanks
This is just HTML, so it should work fine. Are you sure the link is correct? Have a look with firebug to see if there are any 404 errors popping up there, or maybe your styles are overruled with other styles(heets).
Hi thanks for the reply.
Im sure the link is correct..and I have only created 1 style (dbaStyle) with a property of it called 'Heading'. Oh btw, I'm building this website from Runway. I just edit it and delete the existed stylesheets of Runway..
MAYBE it has something to do with Client Dependency, but I doubt it, but you could try the autoexpire clientdependency package!
So what did you get out of Firebug? Also try Fiddler2 to see if you get any errors in getting any of the files?
I don't know why in the firebug, it says 'there are no rules in this stylesheet'. Im sure I referenced my style correctly in the <head> and I ticked my style for the richtext editor. I guess i need to re-install the Umbraco? Thanks
is working on a reply...