help with bg images

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Post Reply
ruess

help with bg images

Post by ruess »

Hi there,

I'm hoping someone can help me with some alterations to the CSS code for the main layout stylesheet, as well as some corresponding html for my default template page.

What I'd like to do is add an image to both sides that shows a shadow change of color from the main page wrapper to the background color and have it repeat-y down both sides using this image:
Image

I also want the four courners to be rounded and shadowed using this image (or a rotation of it):
Image

So far, I have been able to get the side image to repeat nicely for the header and the top corners, but whenever i try to make add images to the sides of the page, it messes everything up. I've tried adding new boxes with vertically repeating backgrounds using my images to the left and right right after the "Pagewrapper" element and just before the "Container" element on my layout html page. Yet this is getting me no-where fast. Honestly I don't know where to start and I'm wondering if someone could give me some tips to get it accomplished so that it works on all my pages. Right now I was able to fake it by using an html table for my main template page, but of course it vanishes when i navigate through the side and the site pulls up different templates.

But this is the design I'm shooting for:
http://energia.kevinruess.info/

And this is what it's like without the fake table added in (my sad reality):
http://www.kevinruess.info/energia/index.php?page=home

I'm new to css and it's definetly overwhelming to me so far, but i'm trying my best.
Any help would be greatly appreciated.

kevin
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: help with bg images

Post by Dr.CSS »

heres one that i did for a test for someone...
http://www.multiintech.com/index.php?page=multi_box
the borders are to show the diff. 'boxs'
ruess

Re: help with bg images

Post by ruess »

Looks great, how did you do that? Would you mind sending me the css stylesheet and html or at least snippets from it that apply?

contact [at] kevinruess.info

thanks!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: help with bg images

Post by Dr.CSS »

the .xml file is attached...
you can use the Theme Manager to import it to your site then look in the templates page and activate it...
import ..: download this file to your comp., login to your site, goto Layout>Theme Manager, second tab is Import, clik browse button, browse to the .xml file you downloaded, clik it to import, clik Import button, then activate :..

[attachment deleted by admin]
cyberman

Re: help with bg images

Post by cyberman »

Hi mark,
mark wrote: the .xml file is attached...
You make a great work but why you woun't share these with community on http://themes.cmsmadesimple.org/Share_a_Theme.html ?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: help with bg images

Post by Dr.CSS »

check that page lately?
ruess

Re: help with bg images

Post by ruess »

mark wrote: the .xml file is attached...
you can use the Theme Manager to import it to your site then look in the templates page and activate it...
import ..: download this file to your comp., login to your site, goto Layout>Theme Manager, second tab is Import, clik browse button, browse to the .xml file you downloaded, clik it to import, clik Import button, then activate :..
Thanks so much!
Post Reply

Return to “Tips and Tricks”