: Background image not displaying correctly
: seahawks July 29, 2014, 03:19:00 PM
I have a background image set in the theme options, but it is not showing correctly on any third level pages. For example: http://fitandbusy.com/sports-conditioning is displaying correctly. However http://fitandbusy.com/sports-conditioning/sports-nutrition is not displaying the background in either header or footer. Would you have any ideas for fixing this please?
Also, the site is running very slowly . I have been unable to get JS compression to switch on without error messages - any ideas for speeding up the page loading?
: Re: Background image not displaying correctly
: Tristan Rineer July 31, 2014, 08:09:59 AM
From looking at it with Firebug (http://getfirebug.com/), it looks like you forgot to add a leading slash to the path in the settings.
You have "images/image.ext", but you need "/images/image.ext". By not having that leading slash, the browser assumes the URL is relative to the URL of whatever page you're on, so on the "/sports-nutrition/" sub-page, it thinks you're trying to load the image from "/sports-nutrition/images/image.ext", which doesn't exist.