Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Making white space behind products

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-22-2017, 02:00 PM
 
Cincheetah Cincheetah is offline
 

Member
  
Join Date: Jul 2015
Posts: 11
 

Default Making white space behind products

HI -

We wanted to add a background to our site, which I have done. It looks great on the home page (all that info remained on a white background), but on internal pages - you can see the background in back of the products. We would prefer that info all be white in the background. Where in the CSS am I defining that space? I wrote the background in the main.css file -

{
height: 100%;
background-color: #fff;
background: url(/skin/ideal_responsive/images/custom/AshleyBkg.png);
margin: 0;
padding: 0;
min-width: 780px;
border: 0 none;
}http://dev.ashleyfoods.com/skin/ideal_responsive/images/custom/help.png
__________________
4.73
ideal responsive
Reply With Quote
  #2  
Old 05-29-2017, 04:43 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Making white space behind products

Please let us know the URL of a page where the background doesn't appear properly.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 05-29-2017, 06:08 AM
 
Cincheetah Cincheetah is offline
 

Member
  
Join Date: Jul 2015
Posts: 11
 

Default Re: Making white space behind products

Quote:
Originally Posted by qualiteam
Please let us know the URL of a page where the background doesn't appear properly.

http://dev.ashleyfoods.com/home.php?cat=37 <-transparent background on product and category pages

http://dev.ashleyfoods.com/home.php <- home page is correct, white background in back of carousel.

Credential if needed to view site:
dev
letmein

Thanks!
Cin
__________________
4.73
ideal responsive
Reply With Quote
  #4  
Old 05-29-2017, 12:29 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Making white space behind products

First, turn off Speed Up for CSS while in dev so you see your css changes right away.
I recommend adjusting the skin's altskin.css file rather than main.css.
You probably want to add a white background to #center-main.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote

The following 2 users thank cherie for this useful post:
Cincheetah (05-30-2017), qualiteam (05-29-2017)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:23 AM.

   

 
X-Cart forums © 2001-2020