how to change background image
Advanced and professional portal news Joomla template with community features and various content display layouts.
- GK User
- Fri Mar 16, 2012 3:57 am
I cannot figure out how to change the entire background image. I can change the top part of it, but not the bottom section.
In the screenshot, I changed the top part of the background to green by editing this file: /templates/gk_twn2/images/style4/bg1.jpg. This only seems to change the top.
It looks like the other image is underneath the green image so it takes up all extra space. How do I change this image? Is it just a background color in the css?
In the screenshot, I changed the top part of the background to green by editing this file: /templates/gk_twn2/images/style4/bg1.jpg. This only seems to change the top.
It looks like the other image is underneath the green image so it takes up all extra space. How do I change this image? Is it just a background color in the css?
-

- Junior Boarder
- GK User
- Fri Mar 16, 2012 4:04 am
I forgot to attach the screenshot
-

- Junior Boarder
- GK User
- Fri Mar 16, 2012 12:35 pm
This is template for Joomla 1.5 or 1.7/2.5 ?
-

- Platinum Boarder
- GK User
- Fri Mar 16, 2012 2:04 pm
This is a 2.5 template
-

- Junior Boarder
- GK User
- Sat Mar 17, 2012 3:30 am
I figured it out. The line is here in the style#.css:
/* template.css */
html { background: #d4d2c6 url('../images/style4/bg1.jpg') no-repeat center top; }
/* template.css */
html { background: #d4d2c6 url('../images/style4/bg1.jpg') no-repeat center top; }
-

- Junior Boarder
- GK User
- Sat Mar 17, 2012 12:14 pm
Yes the part of code that you paste is correct but we always advise to make changes in override.css file - not in template styling files. Please copy this line to override.css, change your color and enable 'use override' css option in template settings, in other case when you update this template.css file you loose your changes.
-

- Platinum Boarder
6 posts
• Page 1 of 1
