logo

Member
Member
Offline Offline
Posts: 74
How do I add an background image so it looks nice?

How do I add an background image so it looks nice? Tongue  I know you edit in style.css
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: How do I add an background image so it looks nice?

Where do you want the background image to go? Behind the container? The css would be
Code:
background: url(Path to image here)

Please do not PM me requesting support or anything, use the forums, thats what they are here for
Member
Member
Offline Offline
Posts: 74
Re: How do I add an background image so it looks nice?

How do I put inside the container? How do I make the container bigger?
Last Edit: 14th November, 2009, 10:22:48 AM by Rukasuzu
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: How do I add an background image so it looks nice?

Open themes/Theme you are working on/style.css

Find
Code:
#container {

Within that, change the
Code:
width:95%;

to change the width of the container.
To add a background image to it, where it says
Code:
background: #FFFFFF;

this is still within the #container {
change it to
Code:
background: url(IMAGE PATH HERE);

Please do not PM me requesting support or anything, use the forums, thats what they are here for
Member
Member
Offline Offline
Posts: 74
Re: How do I add an background image so it looks nice?

Thank you I will do this Sunday.  Wow Surprised
Member
Member
Offline Offline
Posts: 74
Re: How do I add an background image so it looks nice?

how do I change the height of the container?
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: How do I add an background image so it looks nice?

The containers height is based on the content, you can define a fixed height using
Code:
height: 200px;

OR you can set a minimum height which I highly suggest you do instead
Code:
min-height: 500px

change the numbers according to what you need

Please do not PM me requesting support or anything, use the forums, thats what they are here for
Member
Member
Offline Offline
Posts: 74
Re: How do I add an background image so it looks nice?

Wow that worked like a charm
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: How do I add an background image so it looks nice?

Excellent. Remember that you can set the background to repeat left to right by using 'repeat-x' and top to bottom with 'repeat-y'.

Seen a bug? Report it!

Jump to:


0.05 seconds Queries: 13