Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS SOLVED: Reference to Root/CSS folder not working

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24290
    jmontanino
    Member

    I’m building my first site using Panic Coda. The folder structure for the local root is user/design/projects/projectName/production/dev/

    Dev is the root folder for the site. There is a css folder in the root, and one folder for each page in the site. In the root index.html, the preview works. But for the other index.html files nested in the folders, the css isn’t being applied.
    In the import statement I’m referencing the css folder as "/css/style.css" with the root being the dev folder.

    The CSS is only being applied in the root index.html, and ignored on all the other pages. This is my first site and I have no idea what I’m doing wrong.

    #54716
    jmontanino
    Member

    That worked! Thanks.

    Some of the sections have subsections. Is it standard just to have all of the different HTML files for each section in the root folder?

    I was just trying to organize them in their own folders, nesting the subsections with the main ones.

    #54718
    jmontanino
    Member

    That’s a useful tip. Thanks for sharing it.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.