Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-11-01 21:41:09

txtb8b
Member
Registered: 2007-10-29
Posts: 20

Where is the real css file?

Thank you for this very helpful forum.

I would like to take my design to the next level and am trying to use background urls for the style of the body as opposed to plain colors in ‘presentation > style’. Does anyone know how to set an image gif as a background using the CSS panel provided? I know how to do it straight in the style sheet but when using the admin panel I tried adding the url for the background gif and that didn’t work. Looks like I am missing a little piece of code?

I tried using @, “”, ‘’ and even ! but none of these brought about the change either.

Related to this inquiry… where is the css file so that I may change it manually? I found css.php, publish.php and also textpattern.css but none had the information I was looking for.

Offline

#2 2007-11-01 21:57:05

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

Re: Where is the real css file?

you will probably have to use full or proper relative urls for your background images in the css ‘panel’.

so if your css background images are at http://yoursite.com/images then you’d obviously use something like background-image:url('../images/bg.gif');

you can still use your own actual file if you wanted to.

Offline

#3 2007-11-01 22:23:39

txtb8b
Member
Registered: 2007-10-29
Posts: 20

Re: Where is the real css file?

Thank you. Yes, that is what I want but no matter how I try to input the data no changes take place. In the ‘property’ column I place background-image and in the ‘value’ column I have tried the following variations:

:url images/back01.gif
:url (‘../images/back01.gif’)
:url (‘http://www.mysite/blog/images/back01.gif’)
url: images/back01.gif
url: (‘../images/back01.gif’)
url: (‘http://www.mysite/blog/images/back01.gif’)

I do not know how textpattern rewrites the above into styles. If I could find the css file I could probably change it manually…

Offline

#4 2007-11-01 23:24:00

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

Re: Where is the real css file?

just click on “edit raw css” on the left then.

Offline

#5 2007-11-01 23:57:23

txtb8b
Member
Registered: 2007-10-29
Posts: 20

Re: Where is the real css file?

This was the fastest way of feeling like an idiot :)

That worked. Thank you.

Offline

#6 2007-11-02 00:25:50

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

Re: Where is the real css file?

no problem and good luck!

Offline

Board footer

Powered by FluxBB