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

Minor cosmetic needs

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-11-2003, 11:56 PM
  hzellers's Avatar 
hzellers hzellers is offline
 

Senior Member
  
Join Date: Mar 2003
Location: Cortland, New York
Posts: 106
 

Default Minor cosmetic needs

Hello, we're developing a new web site and I'm having a few minor layout issues that I'm hoping someone can help me with. I have scoured this forum and can't find the answers.

1. Rather than have a color background on the left side of the page (menu area) I am using a graphic background. It displays fine, but then it ends where the copyright template begins. From where it ends to the bottom of the copyright template is the solid background color I don't want on the left side. I do, however, want this solid background on the right side (cart side) of the page.

2. I am using a 2-column layout with regard to product displays in the category and featured product areas. For the life of me I can't get these the table to center itself. So, if I expand the page to 1280 pixels wide, the two columns are still flush to the left of the dialog box. I want them to center so that the white space is equal on left side of the left product and the right side of the right product. Confused yet? Me too.

3. I love everybody. There, now that you're buttered up, help me!

Heather
__________________
Thank you!
Reply With Quote
  #2  
Old 04-12-2003, 02:16 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

hzellers,

if you create a new style which is a copy of VertMenuBox ... such as VertMenuBoxLeft and set the style such as:

.VertMenuBoxLeft {
background-image: url(./skin1/images/yourbackground.gif);
background-repeat: repeat-y;
}

As far as the dialog box is concerned, if you go into dialog.tpl you will note that the TD has a class assigned DialogBox

if you either set this cell as align="center" or do this within the dialogBox style it will do the job.

love back 2 u :P
__________________
ex x-cart guru
Reply With Quote
  #3  
Old 04-12-2003, 07:13 AM
  hzellers's Avatar 
hzellers hzellers is offline
 

Senior Member
  
Join Date: Mar 2003
Location: Cortland, New York
Posts: 106
 

Default

Thanks Funky! You know, for the longest time I thought your name was FunkyDuck, not FunkyDunk. I like Duck better.

You've been my hero more than once, and if you can help me solve my SQL error, you'll have my eternal love and devotion. If you lived closer I'd buy you a pint. I posted it in the SQL area and it's for the adult-oriented site we did (http://www.xfortressdvds.com). The code seems to have crapped out on me and no one is ordering...boo hoo...makes it hard to buy pints for heros.

Heather
__________________
Thank you!
Reply With Quote
  #4  
Old 04-12-2003, 07:20 AM
  hzellers's Avatar 
hzellers hzellers is offline
 

Senior Member
  
Join Date: Mar 2003
Location: Cortland, New York
Posts: 106
 

Default

Hmmm, I changed the BG code as you said but it still isn't posting. I'm going to PM the url to you because it's still in staging. Perhaps you can see what I mean at the bottom of the pages.

Here is the code I used:

}
.RightBGBox {
background-image: url(images/rightbg.jpg);
background-repeat: repeat-y;
}

Heather
__________________
Thank you!
Reply With Quote
  #5  
Old 04-12-2003, 07:57 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

Bear in mind that the url of the image should be relative to the customer directory not the style sheet.
__________________
ex x-cart guru
Reply With Quote
  #6  
Old 04-12-2003, 09:15 AM
  hzellers's Avatar 
hzellers hzellers is offline
 

Senior Member
  
Join Date: Mar 2003
Location: Cortland, New York
Posts: 106
 

Default

It's calling the image properly. If you go to the site you'll see that the faded side background is there, but if you scroll to the bottom you'll see where it changes to that marigold color. That's what I'm puzzled about.

Thanks for the PM advice, I'll work on that after I get this stupid server issue resolved.

Heather
__________________
Thank you!
Reply With Quote
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 07:39 AM.

   

 
X-Cart forums © 2001-2020