nsForum logo

Welcome Guest ( Log In )

 
Reply to this topicStart new topic
> Category Display, Alignment
pitchin1
post Aug 28 2008, 02:14 PM
Post #1





Group: Verified NS Member
Posts: 165
Joined: 3-June 08
Member No.: 1,230



How do I change my CSS so that all items display in the bottom of the cells in catagory display. I tried doing this on line 55 and it also droped the right and left column text to the bottom (not good LOL)

PLEASE HELP!!
Go to the top of the page
 
+Quote Post
AndyT - MC
post Aug 28 2008, 02:25 PM
Post #2





Group: Verified NS Member
Posts: 979
Joined: 22-October 07
From: St. Louis, MO
Member No.: 170



This should do it:

CODE
table.product-list td { vertical-align:bottom !important; }
Go to the top of the page
 
+Quote Post
pitchin1
post Aug 28 2008, 02:40 PM
Post #3





Group: Verified NS Member
Posts: 165
Joined: 3-June 08
Member No.: 1,230



QUOTE (AndyT - MC @ Aug 28 2008, 02:43 PM) *
This should do it:

CODE
table.product-list td { vertical-align:bottom !important; }


Now thats service!! Your awesome thank you!!
Go to the top of the page
 
+Quote Post
agkits
post Aug 28 2008, 05:13 PM
Post #4





Group: Verified NS Member
Posts: 666
Joined: 26-October 07
From: Syracuse NY
Member No.: 193



I have done the opposite and they all align on the top now. I have 1 px border around each "div.product-list-item" and I want the bottoms to line up also. I know I cannot set a height to 100% so how could I accomplish this?

(btw..not my site)
Go to the top of the page
 
+Quote Post
Tigger
post Dec 30 2008, 03:40 PM
Post #5





Group: Verified NS Member
Posts: 266
Joined: 9-August 08
From: Philadelphia, Pa
Member No.: 1,843



What if I want to have the subcategories center aligned on the category page. I see you are using coding above. Does this just go in the html field of the category page?

Thanks,
Angel
Go to the top of the page
 
+Quote Post
MC Team - Eddie
post Dec 30 2008, 04:21 PM
Post #6


QA


Group: Administrators
Posts: 1,164
Joined: 10-August 07
From: St. Louis
Member No.: 8



QUOTE (Tigger @ Dec 30 2008, 02:58 PM) *
What if I want to have the subcategories center aligned on the category page. I see you are using coding above. Does this just go in the html field of the category page?

Thanks,
Angel


Insert the following into your css file...

CODE
table.category-list {margin: 0 auto;}


If you need information on how to do this visit here.
Go to the top of the page
 
+Quote Post
Tigger
post Dec 30 2008, 05:06 PM
Post #7





Group: Verified NS Member
Posts: 266
Joined: 9-August 08
From: Philadelphia, Pa
Member No.: 1,843



QUOTE (MC Team - Eddie @ Dec 30 2008, 04:39 PM) *
Insert the following into your css file...

CODE
table.category-list {margin: 0 auto;}


If you need information on how to do this visit here.


Okay. I never did this before. I should download the css file from site and copy the coding into the category section? Then upload the saved file.

I noticed I have several css style files in my file manager in various folders. Which one do I use?

Thanks for your help
Go to the top of the page
 
+Quote Post
MC Team - Eddie
post Dec 30 2008, 05:35 PM
Post #8


QA


Group: Administrators
Posts: 1,164
Joined: 10-August 07
From: St. Louis
Member No.: 8



QUOTE (Tigger @ Dec 30 2008, 04:24 PM) *
Okay. I never did this before. I should download the css file from site and copy the coding into the category section? Then upload the saved file.

I noticed I have several css style files in my file manager in various folders. Which one do I use?

Thanks for your help


Upload a new css file to themes >> default >> css folder in the file manager with the code I provided above.

To create a css file just open up notepad, choose File >> Save As, select the file type of all and save as FileName.css
Go to the top of the page
 
+Quote Post
Tigger
post Jan 1 2009, 03:33 PM
Post #9





Group: Verified NS Member
Posts: 266
Joined: 9-August 08
From: Philadelphia, Pa
Member No.: 1,843



QUOTE (MC Team - Eddie @ Dec 30 2008, 05:53 PM) *
Upload a new css file to themes >> default >> css folder in the file manager with the code I provided above.

To create a css file just open up notepad, choose File >> Save As, select the file type of all and save as FileName.css


Thanks Eddie. It worked like a charm. Looks like css is easier to work with than html. I'll try learning all I can so I can apply changes to my site in the future. One more question. If I come across any other css styles I want to apply to my site or a certain section of my site, do I just at the coding to the same file I created and upload it again or do I have to create a seperate .css file for each one?

Thanks and Happy New Year!
Angel
Go to the top of the page
 
+Quote Post
AndyT - MC
post Jan 2 2009, 09:33 AM
Post #10





Group: Verified NS Member
Posts: 979
Joined: 22-October 07
From: St. Louis, MO
Member No.: 170



It is a personal preference really, most people manage all styles through a single CSS document though.
Go to the top of the page
 
+Quote Post
marciafcfc
post Jan 22 2009, 10:42 AM
Post #11





Group: Verified NS Member
Posts: 92
Joined: 18-September 08
Member No.: 2,448



I want to center the product on the product page. Before I attempt to do it on my own (since I've never worked with css), I just wanted to ask for the specific wording. Should this be the wording?

table.product-list td { vertical-align:center !important; }

Thanks,
Marcia
Go to the top of the page
 
+Quote Post
kpahl
post Feb 4 2009, 02:07 PM
Post #12





Group: Verified NS Member
Posts: 91
Joined: 28-July 08
From: Newark, DE
Member No.: 1,664



Hi. I have a question regarding this. We are moving our current web site to NS. I am currently designing it using a NS template. I was wondering about the CSS file. I see all these postings about editing the CSS, but I see that the default css is not allowed to be edited according to the FAQ link you provided below. I don't have Dreamweaver to create a css file and my CSS folder is empty. If I wanted to, say, center my categories, how would I do this if I don't have a css file to download from my file manager? Thanks very much!!!!

QUOTE (MC Team - Eddie @ Dec 30 2008, 04:39 PM) *
Insert the following into your css file...

CODE
table.category-list {margin: 0 auto;}


If you need information on how to do this visit here.
Go to the top of the page
 
+Quote Post
ArcoJedi
post Feb 4 2009, 02:30 PM
Post #13


Jedi Master


Group: Verified NS Member
Posts: 1,142
Joined: 10-August 07
From: Galaxy Far, Far Away...
Member No.: 13



QUOTE (kpahl @ Feb 4 2009, 01:25 PM) *
I don't have Dreamweaver to create a css file and my CSS folder is empty. If I wanted to, say, center my categories, how would I do this if I don't have a css file to download from my file manager? Thanks very much!!!!
A CSS file is just a text file that you can create from scratch in a simple program like notepad. Open notepad or a similar text editor, add your CSS rules and then File > Save As. Be sure to change the file type drop down menu from Text Document to All Files. Name it "anything.css" and then upload it to your active CSS folder. I hope this helps.
Go to the top of the page
 
+Quote Post
kpahl
post Feb 4 2009, 02:44 PM
Post #14





Group: Verified NS Member
Posts: 91
Joined: 28-July 08
From: Newark, DE
Member No.: 1,664



Oh my goodness! I can't believe it was that easy and it worked like a charm! I thought I needed the entire code for the web site! Duh.....I really appreciate your help! I can't believe I've been messing around with this for so long!!!

QUOTE (ArcoJedi @ Feb 4 2009, 02:48 PM) *
A CSS file is just a text file that you can create from scratch in a simple program like notepad. Open notepad or a similar text editor, add your CSS rules and then File > Save As. Be sure to change the file type drop down menu from Text Document to All Files. Name it "anything.css" and then upload it to your active CSS folder. I hope this helps.
Go to the top of the page
 
+Quote Post
ParkerYamaha
post Feb 4 2009, 03:14 PM
Post #15





Group: Verified NS Member
Posts: 838
Joined: 21-August 08
From: Parker Az
Member No.: 2,078



Thanks
Much better on ours that way also
Dave
Go to the top of the page
 
+Quote Post
marciafcfc
post Feb 9 2009, 10:52 AM
Post #16





Group: Verified NS Member
Posts: 92
Joined: 18-September 08
Member No.: 2,448



I have been unsuccessfully trying to center the product in it's side of the on the product layout page. At the moment I am using the first layout choice. Interestingly, if I choose the 2nd layout, where the product is on the right, it centers. How do I get the other layout to center on the right.

Marcia
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version    Network Solutions © 2010 Time is now: 20th March 2010 - 01:32 PM
Domain Names | Web Hosting | Web Design | Shopping Cart Software | Online Marketing | SSL Certificates