-
AuthorPosts
-
May 4, 2017 at 5:52 am #1030946
I am getting this error message in the console: Failed to load resource: the server responded with a status of 404 (Not Found) The file is http://mywebsite/custom.css
I have not moved any css files beyond creating a theme copy or whatever you people call it. So maybe there are ghosts in the system, but clearly it needs to be fixed and I have no idea how to find a file which already exists.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 4, 2017 at 6:07 am #1030948Hello
Could you share as private reply a temp super user access for your backend ?
I will have a look at itMay 4, 2017 at 6:10 am #1030949This reply has been marked as private.May 4, 2017 at 6:37 am #1030955I have another issue I can’t resolve. The main navigation breaks on pages used by one particular component. I have asked the component developers – thephpfactory – the component is Jobs factory, but they say it is a template issue.
To see the problem you would need to be logged in as a member. I can provide those details if you are able to take a look.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 4, 2017 at 7:03 am #1030964Hello
There is an error in your files loading custom.css with the wrong path as you can see from my image below.
Correct url is the Green one.
You should verify your customized files in new theme you created to find where that url was added
I tested template on my local and i cannot find any error on the original released template.
Regards
May 4, 2017 at 7:06 am #1030966Sorry, but can you explain how I can do that?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 4, 2017 at 7:12 am #1030971Sorry, but can you explain how I can do that?
You should search in your customized theme
May 4, 2017 at 7:17 am #1030973Search for what???
I have a custom.css file in that theme. Is that not correct? Should it be somewhere else?
I need some assistance here.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 4, 2017 at 7:28 am #1030980In default theme custom.css is loaded from this file /templates/ja_healthcare/tpls/blocks/head.php
look at img belowYour template indeed is loading twice custom.css file with a wrong url.
I looked at your files but i was not able to find where this wrong path was added because default settings for template are correct , ( it loads correctly custom.css as you can see from green arrow in my screenshot above)
Your customized theme is not into default template release, but it was added later to the template , then you
should look at what was added later to find where such wrong call to custom.css was done.
May 4, 2017 at 7:43 am #1031005I’m sorry, but this sentence "Your customized theme is not into default template release, but it was added later to the template , then you should look at what was added later to find where such wrong call to custom.css was done" does not make sense to me.
How do I put the customised theme into the default template release? Of course it was added later. I installed the template and THEN added the custom template. How else could I have done it?
May 4, 2017 at 7:45 am #1031008Can you or someone provide some kind of step by step advice on how I can rectify this?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 4, 2017 at 7:47 am #1031010How do I put the customised theme into the default template release?
Your customized theme was added correctly to your template ( this is not the problem )
I’m only saying to search in that files , since we cannot provide assistance for your customizations.
Regards
May 4, 2017 at 7:52 am #1031015Again, search for what? A custom.css file? If so, yes thats where my custom.css is – in the theme files. Where else would it need to be???
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 4, 2017 at 8:00 am #1031028Again, search for what? A custom.css file?
I think i was enough clear in my answer above, showing you how default custom.css was loaded into default template.
You should search for a similar call , i cannot say where to search it because i don’t know how it was added
similar call can be added also into an index.php file or any other file.
May 4, 2017 at 8:00 am #1031029OK, I have removed the custom.css from the theme I created, and instead replaced the unused one in the template files with the one I removed from the theme. I assume that is what you mean me to do? There should now only be one but there is still an error. I have no idea what I should do next.
AuthorPostsThis topic contains 21 replies, has 2 voices, and was last updated by pavit 7 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum