Hello,
When I browse my gallery and hit page 2, the stylesheet is not being used by the page. Hence, that old retro html appears.
I am using two stylesheets to operate the website gallery.
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" />
<link rel="stylesheet" type="text/css" href="../../stylesheet_gallery.css" />
Can anyone help me out on this?
Thanks.
Comments
Here is a working page in pg 1: http://buufdesigns.com/gallery/vstylers/
But in page two of it, is totally different: http://buufdesigns.com/gallery/vstylers/page/2/
I am assuming that there is a disconnect with the .htcaccess?
`
`
Instead of `../../` you need to use the absolute path. So, the file it looks for on /page/2/ is actually 2 levels down from /page/2/, since it thinks that's a path and not just a rewritten URL. So you need absolute paths for those.
I would put the stylesheets in the theme directory (under /themes/yourtheme/ folder) and use this kind of path:
`/stylesheet.css" type="text/css" />`