Page 1 of 1
how do i implement CSS?
Posted: Tue 7. Sep 2004, 01:08
by Operator
Hi,
This is probably a very easy question to answer - How do I change frontend CSS?
I just installed phpWCMS today, and want a to develop a site with same layout as phpWCMS main site. I have the layout and template work done. I also replaced frontend.css file (into proper dir using ftp), but it doesn't seem to be taking effect.
When viewing source I get this...
<link rel="stylesheet" type="text/css" href="phpwcms_template/inc_css/">
Getting the picture? How do I fix this?
By the way, I have already tried pasting the stylesheet into frontend css field - when i click 'save css data' button, I just get a blank page!
Also, my <head> info seems complete when viewing source, so what kind of info goes into that field (in the backend)?
Thanks for any help,
Mark
Posted: Tue 7. Sep 2004, 01:11
by Pappnase
hello
you have in the backend the default css if you got admin menue!
and when you create an template you have a drop down menue where you can choose between print.css and frontend.css. always loot that there is choosen frontend.css!
and then...
Posted: Tue 7. Sep 2004, 01:18
by Operator
thanks for replying.
In my "edit template" area, I have three dropdown boxes:
- css file
- html head
- js onload
However, there are no choices in these fields. When I click on 'css file' it is blank!
How can I fix this?
Thanks,
Mark
Posted: Tue 7. Sep 2004, 01:20
by Pappnase
hello
did you set the pernmissions and the pathes right!?
http://docu.fhss.de/index.php?inst_en
Posted: Tue 7. Sep 2004, 01:36
by Operator
Hi,
I have just double-checked all permissions. They are correct.
Question:
Should the folder called ' inc_css ' be set to 766? That is the way I have it set up currently.
Do you have any other suggestions?
Thanks,
Mark
Posted: Tue 7. Sep 2004, 01:41
by Pappnase
hello
it's enough if the folder have 755 and the file 666.
was at the end of the setup all permissons green!?
css
Posted: Tue 7. Sep 2004, 01:53
by Operator
Yeah, it was fully green, no red during installation.
And I just changed that dir from 766 to 755. ... still not working.
Ugh, all my text is big with serifs
anymore advice?
thanks,
mark
Posted: Tue 7. Sep 2004, 01:57
by Pappnase
hello
as i wrote in the other thread! maybe an pathproblem or a corrupt upload!
did you have an link for me so i can take a look!
Posted: Tue 7. Sep 2004, 11:06
by pSouper
if your frontent.css is in the correct folder and the permissions are correct then it may be that you have a syntax error in your frontend.css. this is unlikely to throw and error informing you of this but it is very likely to just stop proccessing the subsequent css data.
eg. if your error is near the top of the frontend.css thne non of you css will be processed, giving the appearance of no css file.
thanks
Posted: Tue 7. Sep 2004, 16:47
by Operator
problem is solved. not sure what it was, but I had to clear out mySQL database, and start from scratch. Seems to working well now, and CSS is behaving in front and back ends.
Thanks pappnase ... you are very generous with your knowledge and time.
Posted: Tue 7. Sep 2004, 18:03
by pSouper
nothing of the css is stored in the database to my knowledge but if it is working now then super