Forum Support

Shape 5
November 29, 2021, 05:49:18 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Background image not displaying correctly  (Read 481 times)
seahawks
Jr. Member
**
Offline Offline

Posts: 30



« on: 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?

Many thanks
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: July 31, 2014, 08:09:59 AM »

From looking at it with Firebug, 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.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.