Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Oct 2009
    Posts
    131
    Plugin Contributions
    0

    Default Help with making products align left instead of centered in the listings...

    In the product listings, anyone have any ideas on how to align all of the item names to the left in the product listings? They are all currently centered and it looks really tacky as far as clean presentation goes. This one has baffled me to this point.

    Kristofer

  2. #2
    Join Date
    Nov 2009
    Location
    Maldives
    Posts
    22
    Plugin Contributions
    0

    Default Re: Help with making products align left instead of centered in the listings...

    Hi I am new but even a newbie could be able to help sometimes. Why not you let me see your shop so that I could say something. Thanks

  3. #3
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: Help with making products align left instead of centered in the listings...

    The text alignment is controlle din the stylesheet.

    Add

    Code:
     text-align:left;
    to the style of the listing that you want to have left aligned.

  4. #4
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: Help with making products align left instead of centered in the listings...

    Last edited by tino.schlegel; 5 Dec 2009 at 05:21 AM. Reason: DUPLICATE POST due to my ############## internet connection.

  5. #5
    Join Date
    Oct 2009
    Posts
    131
    Plugin Contributions
    0

    Default Re: Help with making products align left instead of centered in the listings...

    I tried your code in about 15 different places in the stylesheet and it did not work. Would it keep it from working because you don't have a space between the : and 'left'?

    Kristofer

  6. #6
    Join Date
    Oct 2009
    Posts
    131
    Plugin Contributions
    0

    Default Re: Help with making products align left instead of centered in the listings...

    I cannot get it to work without knowing where exactly in the stylesheet to put that code. Anyone else have any ideas on how to center the item name column in the products listing????

    Kris

  7. #7
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: Help with making products align left instead of centered in the listings...

    How can someone tell you where in the stylesheet when only you know how your stylesheet looks like?

  8. #8
    Join Date
    Oct 2009
    Posts
    131
    Plugin Contributions
    0

    Default Re: Help with making products align left instead of centered in the listings...

    My stylesheet is whatever was in the files when I installed it. It says "template_default" instead of whatever "your_template" could be. I haven't changed anything in it until now.

    Do you have any idea what section it might go into in the code?? I tried the "body" section thinking that would control the whole thing, but it didn't work there or anywhere else I tried it. I also tried the navcolumnone and navcolumntwo sections and no luck. Not sure what to do on this one.

    Kris

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Help with making products align left instead of centered in the listings...

    As geel said, we need to see your site to be sure of giving correct advice.
    It is likely that there is nothing currently in your stylesheet to add a text-align: property to for your purpose.
    .productListing-data {text-align: left;}
    would probably work, though it would affect all columns of the listing.

    Firefox and its Web Developer extension will let you find these things for yourself.

    You are editing the /template_default/ files?
    STOP right now and read about template creation in the tutorials. There is lots of important information there, and we can answer any questions you have after reading it.

  10. #10
    Join Date
    Oct 2009
    Posts
    131
    Plugin Contributions
    0

    Default Re: Help with making products align left instead of centered in the listings...

    It is funny that you stopped me from editting that template_default file. Right as you would have been typing that, I realized that the classic folder actually had the correct stylesheet.css I needed. All this time I have been changing the wrong file. I got my text size where I wanted it now, but I still can't get the text in the item name column to align to the left. I see you mentioned that you need to see the script. Do you want me to copy all of it and put it on here? Maybe send it in an email? Let me know.

    Kristofer

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 10
    Last Post: 16 Sep 2010, 05:18 PM
  2. Align sideboxes to the left
    By monkeytastic in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 9 Apr 2010, 11:00 AM
  3. I want product listing images centered, but the other two columns left-justified?
    By tlyczko in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 31 Oct 2008, 04:51 PM
  4. Category Title Options Images Above Instead Of To The Left - Help Please
    By DPM in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Jun 2008, 03:17 PM
  5. Featured Products - align left
    By warstormer in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 30 Aug 2007, 11:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg