Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-07-03 15:05:54

scdoody
Member
Registered: 2006-10-18
Posts: 129

Edit CSS in external editor.

Can someone please walk me through how I can create an external CSS file? Where in Textpattern should I link to my CSS file?

Thanks!

Offline

#2 2008-07-03 15:19:25

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Edit CSS in external editor.

Hi,

You can use rvm_css or just hand code the css line yourself in the page template, look for:

<txp:css format="link" />

Offline

#3 2008-07-03 15:36:27

scdoody
Member
Registered: 2006-10-18
Posts: 129

Re: Edit CSS in external editor.

I tried changing the link to be this: <txp:css format=“http://www.mydomain.com/sitewide-style.css” /> and when I viewed the page it was not reading any CSS. Am I doing something wrong with the link formatting?

Offline

#4 2008-07-03 15:44:53

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

Re: Edit CSS in external editor.

that is wrong. read up on the txp:css tag to understand it.

if you just want to add a normal static css file to you template then you just do it the normal html way :

<link rel="stylesheet" href="http://www.mydomain.com/sitewide-style.css" type="text/css" media="screen" />

Offline

Board footer

Powered by FluxBB