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

Mod for subcategories in columns with descriptions and icons

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #221  
Old 09-16-2007, 04:33 PM
  vahidnia's Avatar 
vahidnia vahidnia is offline
 

Advanced Member
  
Join Date: Aug 2007
Location: USA
Posts: 48
 

Default Re: Mod for subcategories in columns with descriptions and icons

I checked both. there is only one ColumnTitles in skin1.css file (at the end of the page) and <br> tag was already there.
If i could find how i could change the text size of the subcategories i would have been able to fighure that out. Any advise on that?
Thanks for your time,
V
__________________
X-cart gold 4.4.3
Unix
Reply With Quote
  #222  
Old 09-16-2007, 08:09 PM
 
MoonDog MoonDog is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 93
 

Default Re: Mod for subcategories in columns with descriptions and icons

vahidnia,

Search for this code in the skin1/skin1.css file.
This is what your looking for to change the font styles of the subcategories.
Code:
/* Items style */ .ItemsList { COLOR: #003834; FONT-WEIGHT: bold; } .ItemsListDisabled { COLOR: #909090; } A.ItemsList:link { COLOR: #330000; TEXT-DECORATION: none; } A.ItemsList:visited { COLOR: #330000; TEXT-DECORATION: none; } A.ItemsList:hover { COLOR: #330000; TEXT-DECORATION: underline; } A.ItemsList:active { COLOR: #330000; TEXT-DECORATION: none; }
Since the font size is inherited, and you want a different size font. Then all you do is just insert the font size you want into the .ItemsList class.
Example: you want to change to font size to 16 px. All you do is insert this code:

Code:
FONT-SIZE: 16px;

into the .ItemsList class above. So that your code will now look like this:
Code:
.ItemsList { COLOR: #003834; FONT-SIZE: 16px; FONT-WEIGHT: bold; }

And that's it.

- MoonDog -
__________________
X-CART Gold v4.1.8
Reply With Quote
  #223  
Old 09-16-2007, 10:09 PM
  vahidnia's Avatar 
vahidnia vahidnia is offline
 

Advanced Member
  
Join Date: Aug 2007
Location: USA
Posts: 48
 

Default Re: Mod for subcategories in columns with descriptions and icons

I told you my skin1.css file has no control over anything! It was skin1_c.css! can you believe that!
Thanks for your help MoonDog!
__________________
X-cart gold 4.4.3
Unix
Reply With Quote
  #224  
Old 10-08-2007, 10:38 AM
 
alreadyregistered alreadyregistered is offline
 

Member
  
Join Date: Sep 2006
Location: Cocoa, Florida
Posts: 28
 

Default SOLUTION: Centering subcat name under photo || Mod for subcategories in columns

DIV is block-level. text-align does not center a DIV. The correct way to horizontally center a DIV is to use "auto" attribute, like so:
margin:0 auto 0 auto.

Tested. This will get you what you want:

.ColumnTitles {
TEXT-ALIGN: center;
WIDTH: 33%
PADDING-LEFT: 5px;
margin:0 auto 0 auto;
}
__________________
XCart Gold 4.1.3
Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b PHP/5.0.3 mod_perl/1.27
Reply With Quote
  #225  
Old 10-08-2007, 10:44 AM
 
alreadyregistered alreadyregistered is offline
 

Member
  
Join Date: Sep 2006
Location: Cocoa, Florida
Posts: 28
 

Default Re: Mod for subcategories in columns with descriptions and icons

I have the mod working for my version (see below). However, the thumbnail placement, according to the division, is not good.

I have:
15 subcategories (in one category)
code set for 3 columns, colspan=3

Displays as
4 images on first row
3 images on 2nd, 3rd, 4th rows
2 image on last row

Rather than 3 items on each row. Any ideas how to (scalably) force this?
__________________
XCart Gold 4.1.3
Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b PHP/5.0.3 mod_perl/1.27
Reply With Quote
  #226  
Old 10-18-2007, 11:10 AM
 
miami.mom miami.mom is offline
 

eXpert
  
Join Date: Oct 2005
Posts: 244
 

Default Re: Mod for subcategories in columns with descriptions and icons

Moon Dog (and 27stars and mrkenzie) - thank you so much!!! Your instructions were simple, easy and worked perfectly!!! I really appreciate you taking the time to share this mod!
__________________
X-Cart 4.1.8
Reply With Quote
  #227  
Old 10-23-2007, 07:35 AM
 
simplyvacuums simplyvacuums is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 37
 

Default Re: Mod for subcategories in columns with descriptions and icons

I cant get the images to show up. I have category icons, and detailed product images set to file system and product thumnails set to db and I think thats my problem. When I try to chang it, file system is in red lettering and I get this

Images transferring log ************************************************** ********************

LOG CREATED: 2007-10-16 19:31:16
Category icons
Location: FS

no images are found
Product thumbnails
Location: FS


Product detail images
Location: FS

no images are found

************************************************** ********************

LOG CREATED: 2007-10-23 11:28:32
Product thumbnails
Location: FS
__________________
X-Cart v 4.3.2
PlatinumVacuum.com

Reply With Quote
  #228  
Old 11-06-2007, 02:02 AM
 
aerogear2000 aerogear2000 is offline
 

Senior Member
  
Join Date: Jul 2007
Posts: 143
 

Default Re: Mod for subcategories in columns with descriptions and icons

thanks for the Mod, but my text will not center also
__________________
Runing on Linux server
X-cart 4.1.8 GOLD
Reply With Quote
  #229  
Old 11-06-2007, 09:26 PM
 
MoonDog MoonDog is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 93
 

Default Re: Mod for subcategories in columns with descriptions and icons

aerogear2000,

Post #218 describes what you need to do in order to center the text. The code should be placed in your skin1.css file. And if that doesn't work, then check to see what css file you are using and place that code into the css file that you are using. If you have a skin1_c.css file then add it to the bottom of that file. This should take care of the problem.

- MoonDog -
__________________
X-CART Gold v4.1.8
Reply With Quote
  #230  
Old 11-07-2007, 01:05 AM
 
Bryan Crenshaw Bryan Crenshaw is offline
 

Member
  
Join Date: Jun 2005
Posts: 16
 

Default Re: Mod for subcategories in columns with descriptions and icons

I have the mod working for my version (see below). However, the thumbnail placement, according to the division, is not good.

I have:
15 subcategories (in one category)
code set for 3 columns, colspan=3

Displays as
4 images on first row
3 images on 2nd, 3rd, 4th rows
2 image on last row

Rather than 3 items on each row. Any ideas how to (scalably) force this?
__________________
XCart Gold 4.1.3
Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b PHP/5.0.3 mod_perl/1.27
Reply With Quote
'''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''''''''''''

Same problem here. Any suggestions?

Bryan
__________________
X-Cart Friendly Hosting & Design
www.frictionsweb.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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:05 PM.

   

 
X-Cart forums © 2001-2020