Calling all code monkeys, need some help!
Got a wordpress theme that is causing me grief, the bit in the style.css file is
It seems this is being translated into
http://mywebsite/css/grayscale.svg#greyscale
but also as
http://mywebsite/page/css/grayscale.svg#greyscale
both of these locations are invalid causing 404 errors which lock the user out of the site.
on the server the path is
/wp-content/themes/scalia/css/grayscale.svg
I assume I could hard code the full link, but is there a better way?
Got a wordpress theme that is causing me grief, the bit in the style.css file is
Code:
.grayscale { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%); filter: url('css/grayscale.svg#greyscale');
http://mywebsite/css/grayscale.svg#greyscale
but also as
http://mywebsite/page/css/grayscale.svg#greyscale
both of these locations are invalid causing 404 errors which lock the user out of the site.
on the server the path is
/wp-content/themes/scalia/css/grayscale.svg
I assume I could hard code the full link, but is there a better way?
Comment