How do I change background image within a template?

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
Heatherx
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 119
Joined: Mon Sep 28, 2009 10:03 am

How do I change background image within a template?

Post by Heatherx » Sun Oct 31, 2010 5:02 pm

The index file says

Code: Select all

	$bodybg = " style=\"background-image: url(".$tmpTools->templateurl()."/images/background/$bodybg);\"";
When I change it to file path of the image I want it to use as the background the site goes a white screen. e.g If I change it to the below I get white screen

Code: Select all

	$bodybg = " style=\"background-image: url(".$tmpTools->templateurl()."/images/background/bodybg.gif);\"";

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: How do I change background image within a template?

Post by leolam » Sun Oct 31, 2010 5:04 pm

Link to the site please?

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

JBlonski2
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jul 14, 2014 6:49 am

Re: How do I change background image within a template?

Post by JBlonski2 » Mon Jul 14, 2014 6:51 am

hi, i seem to have this problem too, would really appreciate any kind of help.....

Thanks in advance


Locked

Return to “General Questions/New to Joomla! 1.5”