how do i implement CSS?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Operator
Posts: 25
Joined: Mon 6. Sep 2004, 21:55
Location: St. John's Newfoundland CA

how do i implement CSS?

Post 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
Pappnase

Post 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!
Operator
Posts: 25
Joined: Mon 6. Sep 2004, 21:55
Location: St. John's Newfoundland CA

and then...

Post 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
Pappnase

Post by Pappnase »

hello

did you set the pernmissions and the pathes right!?

http://docu.fhss.de/index.php?inst_en
Operator
Posts: 25
Joined: Mon 6. Sep 2004, 21:55
Location: St. John's Newfoundland CA

Post 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
Pappnase

Post 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!?
Operator
Posts: 25
Joined: Mon 6. Sep 2004, 21:55
Location: St. John's Newfoundland CA

css

Post 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
Pappnase

Post 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!
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post 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.
Operator
Posts: 25
Joined: Mon 6. Sep 2004, 21:55
Location: St. John's Newfoundland CA

thanks

Post 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.
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

nothing of the css is stored in the database to my knowledge but if it is working now then super :)
Post Reply