Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-12 15:25:51

brianlux0r
Member
Registered: 2007-06-04
Posts: 41

problem with css include

Hi on my default page template I have the folllowing:

<txp:css format=“link” n=“default” />

but this is generating:

<link rel=“stylesheet” type=“text/css” media=“screen” href=“http://www.site.com/textpattern/css.php?n=default” />

so of course the style sheet is not being loaded properly.

Does anyone know why this is happening?

Offline

#2 2007-10-12 16:53:12

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: problem with css include

huh? why would that stylesheet not load properly? looks fine to me.

Offline

#3 2007-10-12 17:21:33

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: problem with css include

Don’t worry about “strange” view of css link. It’s not a bug – it’s a feature :)
P.S. On my sites I usually place css file in separate file – it reduses site call time and allows to apply zipping to css, if it’s big.


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#4 2007-10-12 17:38:34

brianlux0r
Member
Registered: 2007-06-04
Posts: 41

Re: problem with css include

but my styles arent loading

Offline

#5 2007-10-12 18:13:24

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: problem with css include

That tag only works if you created your stylesheet in Presentation > Styles (meaning: it is not a file but in the database). If you created a separate stylesheet as a file, you’ll have to link to that one of course.

Offline

#6 2007-10-12 18:23:58

brianlux0r
Member
Registered: 2007-06-04
Posts: 41

Re: problem with css include

yup i have the css code inside the default css file via textpattern / presentation / styles

Offline

#7 2007-10-12 18:31:26

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,349
Website GitHub Mastodon Twitter

Re: problem with css include

can you provide us with an actual link of your site?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#8 2007-10-12 18:43:24

brianlux0r
Member
Registered: 2007-06-04
Posts: 41

Re: problem with css include

itsa working now :P

dont know why it wast before. Thank you friends.

Offline

Board footer

Powered by FluxBB