Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#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
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
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
Offline
Pages: 1