| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Re: Background Image Over Color: | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() HTML,BODY {
HEIGHT: 100%; MARGIN: 0px; PADDING: 0px; BACKGROUND-IMAGE: url(images/homepagebkrd.jpg); BACKGROUND-COLOR: #F4F2ED; if i want to lay a background image over the background color (the image being a transparent jpg created in ptshp) or png image (can x-cart use png images) how would i specify this in the code above so that both backgrounds show?
__________________
X-CART Pro V.4.3.0 PHP version 5.2.11 MySQL version 5.0.81 Architecture x86_64 Apache version 2.2.14 (Unix)mod_ssl/2.2.14 Operating System: Linux Dedicated Ip cPanel Pro 1.0 (RC1) cPanel Version 11.24.5-RELEASE Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images, Multicolumn Recommends, Narrow by Search, Random Products Tabs. X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories, X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1 |
|||||||||
#2
|
|||||||
|
|||||||
![]() You can't have both a background image and a background color, the image always takes priority. You would need to create a new layer (div) and put the image in that, and leave the background color on the body tag.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() So what would the code look like to have a background image?
i found this example on the web below no border just image BACKGROUND-IMAGE: url(images/body_bg.jpg); Here's what the CSS looks like for the DIV. <DIV> #formContent { border-right: #0000ff thin groove; padding-right: 10px; border-top: #0000ff thin groove; padding-left: 10px; float: left; padding-bottom: 10px; margin: 20px; border-left: #0000ff thin groove; width: 700px; padding-top: 10px; border-bottom: #0000ff thin groove; background-color: gainsboro; } The div tag is established as follows.. <div id="formContent">
__________________
X-CART Pro V.4.3.0 PHP version 5.2.11 MySQL version 5.0.81 Architecture x86_64 Apache version 2.2.14 (Unix)mod_ssl/2.2.14 Operating System: Linux Dedicated Ip cPanel Pro 1.0 (RC1) cPanel Version 11.24.5-RELEASE Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images, Multicolumn Recommends, Narrow by Search, Random Products Tabs. X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories, X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1 |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() I also want to add an image to the footer
what would the "footer be" on the page the /rectangle_bottom.tpl has Users_online that is the very bottom- what would the bottom container area be or bottom of page up about 1/2 "
__________________
X-CART Pro V.4.3.0 PHP version 5.2.11 MySQL version 5.0.81 Architecture x86_64 Apache version 2.2.14 (Unix)mod_ssl/2.2.14 Operating System: Linux Dedicated Ip cPanel Pro 1.0 (RC1) cPanel Version 11.24.5-RELEASE Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images, Multicolumn Recommends, Narrow by Search, Random Products Tabs. X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories, X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1 |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() <img src="whatever_your_image_is.jpg" width="552" height="239" class="coolclass" />
is this it?
__________________
X-CART Pro V.4.3.0 PHP version 5.2.11 MySQL version 5.0.81 Architecture x86_64 Apache version 2.2.14 (Unix)mod_ssl/2.2.14 Operating System: Linux Dedicated Ip cPanel Pro 1.0 (RC1) cPanel Version 11.24.5-RELEASE Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images, Multicolumn Recommends, Narrow by Search, Random Products Tabs. X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories, X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1 |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() with every </div> does a class have to be assigned?
so would a class=bodycontainer be correct? <li class="navItem1"> <!--<div class="footerCopyright"> </div><!--contentContainer--> <div class="clearer"></div>
__________________
X-CART Pro V.4.3.0 PHP version 5.2.11 MySQL version 5.0.81 Architecture x86_64 Apache version 2.2.14 (Unix)mod_ssl/2.2.14 Operating System: Linux Dedicated Ip cPanel Pro 1.0 (RC1) cPanel Version 11.24.5-RELEASE Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images, Multicolumn Recommends, Narrow by Search, Random Products Tabs. X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories, X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1 |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() This should not be so difficult- grrrr
ive tried a zillion ways of doing this but it does not work, what am i doing wrong? <div id="body"> href="http://www.mysite.com"><img src="images/body_bg.jpg"</div> <div id="footer">href="http://www.mysite.com"><img src="images/footerContainer_bg.jpg"...</div>
__________________
X-CART Pro V.4.3.0 PHP version 5.2.11 MySQL version 5.0.81 Architecture x86_64 Apache version 2.2.14 (Unix)mod_ssl/2.2.14 Operating System: Linux Dedicated Ip cPanel Pro 1.0 (RC1) cPanel Version 11.24.5-RELEASE Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images, Multicolumn Recommends, Narrow by Search, Random Products Tabs. X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories, X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|