CMS & WordPress
slyguy67 — 2012-09-11T10:08:03-04:00 — #1
I have various stylesheets in my theme which I’m trying to condense/streamline. There are currently around 10 CSS files linked in the header, however 5 of these are pointing to the wrong directory. When I go to change the path there is no trace of these files being linked in the header code. I’ve checked the other (correct) CSS links and they are present, and do not contain any ‘@imports’ for the incorrect links. Judging from the incorrect links these are not relating to any plugins which are on the site. Please could somebody advise where these might be coming from, and how I can edit/delete them?
eruna — 2012-09-12T11:16:18-04:00 — #2
How are you linking to them? Are you using a straight html link or are you using WP_ENQUEUE_SCRIPT?
When you are linking to a css file, its from the page level, not the level of the theme. Absolute links work well.
The theme gets loaded into the index page.
cpradio — 2012-09-12T11:22:01-04:00 — #3
A common technique I use to determine where/when CSS stylesheets are loading is to load the website in Google Chrome, press F12, click on Resources, and then open the Frames folder, then page name folder, and you will see a Stylesheets section that will list all of the stylesheets that were loaded.
mittineague — 2014-09-21T17:30:55-04:00 — #4
This topic is now archived. It is frozen and cannot be changed in any way.