Css denied

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Kevinabc
New Member
New Member
Posts: 3
Joined: Wed Feb 09, 2011 4:15 pm

Css denied

Post by Kevinabc »

Hi,

I've got a certain problem with my css since today.
The website has been online for 2 weeks working perfectly. But today I edited some css, saved it and now just nothing happens.

What i tryed:
I reversed the changes saved again and thought/hoped that would work.
Checked all css in an editor (nothing wrong)
Deleted certain parts of the css to find out where it could be going wrong. (didnt matter)
Check the source of the html. The link to the css file was there able to open it and make sure it wasnt empty. (all fine)
Use different browsers to make sure styles were not just turned off.

Dirty quick way i solved it:
{literal}
<style>
ALL CSS
</style
{/literal}

What did i mess up? ( except the quick solve part)
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm

Re: Css denied

Post by Jos »

Maybe there was an error message in the html source?
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Css denied

Post by Wishbone »

View the source and see if the stylesheets are referenced. Access the stylesheets through the browser and see if your CSS is there.
Kevinabc
New Member
New Member
Posts: 3
Joined: Wed Feb 09, 2011 4:15 pm

Re: Css denied

Post by Kevinabc »

Wishbone wrote:View the source and see if the stylesheets are referenced. Access the stylesheets through the browser and see if your CSS is there.
I did that the link is at the right place. I can open it and, all of the css is complete.

So i kinda ran out of ideeas what could be wrong..
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Css denied

Post by Nullig »

Which tag are you using for the stylesheets, {stylesheet} or {cms_stylesheet}?

Nullig
Kevinabc
New Member
New Member
Posts: 3
Joined: Wed Feb 09, 2011 4:15 pm

Re: Css denied

Post by Kevinabc »

{cms_stylesheet} tag.. didnt change anything about that but ill try the other one
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Css denied

Post by Dr.CSS »

It helps if a link is provided, if you have...

{literal}
<style>
ALL CSS
</style
{/literal}

That is something that goes in the template <head>, if you have it in your style sheet it is messed up...
Post Reply

Return to “Layout and Design (CSS & HTML)”