Currently installed EE (2.3.1) using MAMP / phpMyAdmin. In MAMP preferences, the document root is /Users/admin/Sites/. Therefore, my project resides in /Users/admin/Sites/NameOfProject with all my EE system files.
My CSS folder is also in the root of this folder (/Users/admin/Sites/NameOfProject/css/). My templates (with Save as File enabled) are located in the root as well (/Users/admin/Sites/NameOfProject/templates). This templates folder has 777 permissions.
I referenced this CSS in an embed for all my templates so the link to the css remains consistent.
<link rel="stylesheet" href="css/styles.css"/>The index page renders the CSS perfectly, however, the other templates do not pick up the CSS.
How do I configure the CSS in my templates so that all my templates render it without having to code it absolutely (i.e. http://localhost:8888/NameOfProject/css/styles.css). I’d like it to be relative so that I can push live without having to go in and change this.