Guest Posted November 13, 2009 Posted November 13, 2009 I need help. I can't find the answer to this question. I am wanting to put my business logo in the background of the entire page, but I don't know how to do this.
MrPhil Posted November 14, 2009 Posted November 14, 2009 http://www.oscommerce.com/forums/topic/347369-page-background-vs-shopping-cart-background/page__view__findpost__p__1450138 Basically, in the .css file you define a background color (for anything not covered by the image) and a background-image. You can add other CSS attributes to center the image or repeat (tile) it. You can attach it to scroll with the foreground text, or you can fix it so that the foreground scrolls over it.
Guest Posted November 15, 2009 Posted November 15, 2009 I have followed the instructions from the link that u posted and got nothing accomplished. It was not helping me. Is there anyother way.
germ Posted November 15, 2009 Posted November 15, 2009 I have followed the instructions from the link that u posted and got nothing accomplished. It was not helping me. Is there anyother way. Post your URL and the location/name of the image you are trying to use. I'm sure someone here can figure out where the malfunction is. :thumbsup: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted November 15, 2009 Posted November 15, 2009 Post your URL and the location/name of the image you are trying to use. I'm sure someone here can figure out where the malfunction is. :thumbsup: my url is cagecombatsports.com and the location of the image in /public_html and the name of the image is CAGE 3.JPG
MrPhil Posted November 16, 2009 Posted November 16, 2009 First of all, I would suggest changing the image name from CAGE 3.jpg to CAGE_3.jpg. Spaces in file names can cause problems on some browsers. Second, it does display for me. The black text on mostly black image is a problem, but you can deal with that by toning down the black in an image editor (make it a light gray, or use RGB curves to reduce the contrast on the whole image). It's reasonably centered for me, on my 1024-wide browser, but not at narrower sizes. You might want to consider "floating" it horizontally with the background-position CSS properties. You would have to drop the repeat-x.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.