Icon missing
Permalink Browser Info Environment
Hi, we build a website with the Pixel theme in a temporary folder /2018.
The footer of the website contains an AUTONAV block with the Custom Design 'Pixel List'.
Now that the website has been moved to the /root and cleared cache everything seems fine except for an error in the footer. When loading the website, the internet loading console shows a missing file:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (widget-link@2x.png, line 0) - .../2018/packages/theme_pixel/themes/pixel/images/icons/widget-link@2x.png
I tried changing the Custom Design to blank and then switching back to 'Pixel List' again, but the theme still keeps looking in the /2018 folder.
How can we solve this?
Thanks,
Luca
The footer of the website contains an AUTONAV block with the Custom Design 'Pixel List'.
Now that the website has been moved to the /root and cleared cache everything seems fine except for an error in the footer. When loading the website, the internet loading console shows a missing file:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (widget-link@2x.png, line 0) - .../2018/packages/theme_pixel/themes/pixel/images/icons/widget-link@2x.png
I tried changing the Custom Design to blank and then switching back to 'Pixel List' again, but the theme still keeps looking in the /2018 folder.
How can we solve this?
Thanks,
Luca
Type: | Pre-Sale |
---|---|
Status: | Resolved |
Hiu, thanks for your quick reply. I cleared the cache, but the issue remains.
The Autonav block is in the footer. the missing image is when we choose the Custom Design 'Pixel List'. If we choose another Custom Design, the error is gone.
The Autonav block is in the footer. the missing image is when we choose the Custom Design 'Pixel List'. If we choose another Custom Design, the error is gone.
Hi,
The mentioned image path is in the rendered "style.css" file and is definitely cached in your server. You can go to delete it manually in "/application/files/cache/css/pixel/style.css". By visiting your site again it should be regenerated.
Check the attached screenshot.
The mentioned image path is in the rendered "style.css" file and is definitely cached in your server. You can go to delete it manually in "/application/files/cache/css/pixel/style.css". By visiting your site again it should be regenerated.
Check the attached screenshot.
Hi thanks again for your quick reply. I removed the file manually and it was regenerated. When I open the CSS is can see the following:
a{background-image:url("/packages/theme_pixel/themes/pixel/images/icons/widget-link@2x.png");
However, the error still shows. See screenshot. You can also visit *** to see for yourself.
Any idea?
Luca
a{background-image:url("/packages/theme_pixel/themes/pixel/images/icons/widget-link@2x.png");
However, the error still shows. See screenshot. You can also visit *** to see for yourself.
Any idea?
Luca
Hi,
I don't see that error, also it seems the 'widget-link@2x.png' file are rightly loaded. That line might remain from the past. Try clearing the console and refresh the page and see if that persist.
I don't see that error, also it seems the 'widget-link@2x.png' file are rightly loaded. That line might remain from the past. Try clearing the console and refresh the page and see if that persist.
Still no results in my browser. When I look in the source code of the loaded page I can find the wrong URL in the background-image line, see below. Where is this generated?
@media all {
@media only screen and (-webkit-min-device-pixel-ratio: 2), not all, not all, not all, only screen and (min-resolution: ), only screen and (min-resolution: ) {
.widget_nav_menu li a, .widget_links li a, .widget_meta li a, .widget_archive li a, .widget_recent_entries li a, .widget_categories li a, .widget_pages li a, .widget_rss li a, .widget_recent_comments li a {
background-image: url("/2018/packages/theme_pixel/themes/pixel/images/icons/widget-link@2x.png");
background-size: 4px 20px;
font-weight: bold;
}
}
THanks for helping out
Luca
@media all {
@media only screen and (-webkit-min-device-pixel-ratio: 2), not all, not all, not all, only screen and (min-resolution: ), only screen and (min-resolution: ) {
.widget_nav_menu li a, .widget_links li a, .widget_meta li a, .widget_archive li a, .widget_recent_entries li a, .widget_categories li a, .widget_pages li a, .widget_rss li a, .widget_recent_comments li a {
background-image: url("/2018/packages/theme_pixel/themes/pixel/images/icons/widget-link@2x.png");
background-size: 4px 20px;
font-weight: bold;
}
}
THanks for helping out
Luca
Those lines don't seem to have anything to do with pixel styles. They seem to be appended by your developer or C5 Design/Custom template feature. Check theme "header_top.php" and see if these styles have been appended manually to this file. If you couldn't figure it out, send me your site credentials (C5 dashboard+host) and I will look into it.
Hi, thank you so much, this last clue helped me find the source of the error!
It was indeed hard-coded in the CSS design of the template by the developer. I edited the path and it now works fine again, thanks for your availability.
CHeers,
Luca
It was indeed hard-coded in the CSS design of the template by the developer. I edited the path and it now works fine again, thanks for your availability.
CHeers,
Luca
It seems like a cache issue to me. Where is this image on the page? Is it one of the images chosen at the pixel theme options page?