Album Page 2 = stylesheet not being used?

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

  • trisweb Administrator
    If you give us a link to your gallery I'm sure we could help you! Thanks!
  • fuBar Member
    Sorry for the late reply. I have been 'very' busy with things.

    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?
  • trisweb Administrator
    Your problem is in those two lines:

    `

    `

    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" />`
  • fuBar Member
    Thank you for being so helpful.
Sign In or Register to comment.