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

Need help with Centering issue

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-11-2007, 08:16 PM
 
iblazed iblazed is offline
 

Newbie
  
Join Date: Jul 2006
Posts: 7
 

Default Need help with Centering issue

Was hoping someone can help. What do I have to edit to make the box appear center and also take up more of the space. I tried in my html in home.tpl to add centering div tags but it didn't work. Not sure what to edit there either to center it and make the box larger.
If anyone can help I will appreciate it thanks.
__________________
X-Cart version 4.1.2
Reply With Quote
  #2  
Old 02-12-2007, 03:57 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Need help with Centering issue

I don't see any category box?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-12-2007, 05:02 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Need help with Centering issue

Padraic, it's there, but it's hidden/nested (pull down)... black on black w/white text.

Design gurus will tell you this is a no-no for intuitive interface design. If you want people to click on it, they need to see it clearly, and it should be somewhat obvious where to click.

What code are you using for the menus?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #4  
Old 02-12-2007, 05:06 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Need help with Centering issue

Oh...the menu...he said 'box' and I thought he meant a typical side menu.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 02-12-2007, 07:16 AM
 
iblazed iblazed is offline
 

Newbie
  
Join Date: Jul 2006
Posts: 7
 

Default Re: Need help with Centering issue

Sorry this is a little confusing. The dropdown menu thats says Men and then Women, I edited a script called anylink from dynamicscripts for that one. I don't think I am having a problem with that. The issue Im talking about is the box that contains the words "There are no available products under this category." Is aligned to the left. I'm trying to align it to the center and expand the box a little, but nothing I tried has worked to get that box centered. Sorry for the mess as the site is still a work in progress.
__________________
X-Cart version 4.1.2
Reply With Quote
  #6  
Old 02-12-2007, 07:19 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Need help with Centering issue

Oh that is dialog.tpl. If you set the style of DialogBox in your stylesheet to text-align: center; that should do the trick. However, this will center justify EVERYTHING on your site, as that box is used everywhere.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 02-12-2007, 12:03 PM
 
iblazed iblazed is offline
 

Newbie
  
Join Date: Jul 2006
Posts: 7
 

Default Re: Need help with Centering issue

I guess if everything including the text is centered it wouldn't be very visually appealing. How do other's center there boxes while still keeping the text in the box aligned left? Do I have to maybe edit the html in my home.tpl to do it? Do you happen to know how I can can expand the box 100% where it takes up the whole site? Thanks
__________________
X-Cart version 4.1.2
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:26 PM.

   

 
X-Cart forums © 2001-2020