Page 1 of 1

CSS apply to sub pages [Solved]

Posted: Sun Feb 24, 2013 10:40 pm
by nathancms
I am working on creating my first template and the menu manager is challenging me. I got the subpages to display on the navigation, but the css for the subpages is not be applied.

here is a sample page http://www.momentsc.com/index.php

click on "does this work" under the Site Map tab and you will see the CSS is not applied to page. When I preview the page it shows up. http://www.momentsc.com/index.php/site- ... -this-work

I have my template applied to all pages. Let me know what I am doing wrong. Thanks.

Re: CSS apply to sub pages

Posted: Mon Feb 25, 2013 1:12 pm
by velden
It occurs to me that you have a somewhat strange formatted url; it looks like a pretty url, however it still contains a reference to index.php.

This url (not pretty url) does work:
http://www.momentsc.com/index.php?page=does-this-work

Maybe configured pretty url but forget to place the .htaccess file in place?

Re: CSS apply to sub pages

Posted: Mon Feb 25, 2013 10:36 pm
by Rolf
You have a double slash in your url:
http://www.momentsc.com//index.php/case-studies
Better check your config/url settings.

Do you have the {metadata} tag in your template?
http://docs.cmsmadesimple.org/configura ... rl#windows

Rolf

Re: CSS apply to sub pages

Posted: Fri Mar 01, 2013 6:43 pm
by nathancms
Thanks for the help guys. My double slash was going to be my next question.