using a css in page layout?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
kac
Posts: 29
Joined: Tue 16. Mar 2004, 21:04

using a css in page layout?

Post by kac »

This is a new install on a second installation of phpwcms. My client wanted to have a duplicate site in Spanish to mirror the English one. Everything is working great, all content is displaying fine, and no problems with the templates... But

In the page layout there is a space between the left and the right called the left space. I have it set to 30, with a css to display a small vertical line. In the first installation (an earlier version of phpwcms) it works great, but in the new version I can't get it to display on the website. I've copied the code and previewed the page and it shows up, I should say too that the preview didn't have images, or the main css's just the ones in the head of the page. So the css is working, but something is stopping it from showing up when everything is working together.

I've spent about 6 hours replacing and changing, and double checking things, does anyone have any ideas why the css/image won't display?

Thanks,
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

maybe installed in a different path.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
kac
Posts: 29
Joined: Tue 16. Mar 2004, 21:04

Post by kac »

Hi,

I'm not sure I know what you mean, the css in different path? I've checked everything, and actually put the css in the head of the template. I've double checked that the image is in the image folder by taking the url in the css to the image and pasting it into a browser.

In the source of the pages it shows that the cell has the css assigned to it., and like I mentioned, when I do a preview of the source code it works. It's just like something is covering it up.

K
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

I think oliver means the background-image maybe be using the wrong path to get the 'vertcal line' image.

I think the frontent.css images are reletive to the frontent.css path.
eg. if your 'vertcal_line.gif' is in img/article then the path in frontend.css would be ../../img/article/verticle_line.gif
Post Reply