Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2007
    Posts
    5
    Plugin Contributions
    0

    Default Vertical Align issues?

    I've been working on a Template for a friend.

    I'm coming across a couple issues, especially considering I can't figure out how to get Zencart to stop using frellin tables. Is that possible?

    Anyhow, I can't get the sidebar to vertically align unless the main page is just text from the EZpages. http://www.babyoreally.com/shop/ <- you can see it there.

    Also, I can't get the images on the main page or category pages to show in a table/grid. Which tpl files do I need to look at to change this?

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,691
    Plugin Contributions
    11

    Default Re: Vertical Align issues?

    Which version of zen-cart are you using? You appear to be using one of an older version's two stylesheets. It should be stylesheet.css for the newer version or both stylesheet_new.css and stylesheet_original.css for the older. You are missing some important items by having only stylesheet_new.css. As an example...
    #contentColumnMain, #navColumnOne, #navColumnTwo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .alert {
    vertical-align:top;
    }
    The newer version is more table free but, make sure you stick with the override system for babyoreally.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Sep 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Vertical Align issues?

    I thought I had the newer version, I think I may have looked at an older template, I guess.

    Thanks for the reply, I'll try adding that. I hate table layouts so much!

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,691
    Plugin Contributions
    11

    Default Re: Vertical Align issues?

    You can find the version in the Tools --> Server/Version Info menu of the admin. If you are not 1.3.7.1 for the cart and 1.3.7 for the database, it's time to regroup. Better to fix it now than get deeper in the hole before climbing out.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  5. #5
    Join Date
    Sep 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Vertical Align issues?

    That semi-worked, but I think I got it. Thanks again!

    What template file lays out the category product listing? She would like the items on the category pages to list just the image, name of product, and price, in a grid like the New items on the front page.

    As well as how to get rid of the category image, category link, next & previous links on the product page, which template file(s) should I check out there.

    And I'll definitely check into that, dbltoe. :)

    Edit Zen Cart 1.3.7
    Database Patch Level: 1.3.7

    Seems I am up to date. I guess I just looked at an older template file to figure out where to start.
    Last edited by SelfProduction; 11 Sep 2007 at 08:19 PM.

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,691
    Plugin Contributions
    11

    Default Re: Vertical Align issues?

    It can be a bit confusing and there's not a listing set in concrete but, I think of it this way when trying to keep my mind straight.
    1. If I'm trying to change colors, fonts, minor feature displays, and/or modify cart-graphics display, I head to the stylesheet I created in the custom folder.
    2. When it's time to decide what portions of the database-held information, I head to the admin panel.
    3. If I need to move defined areas from their default locations, I generally have to modify the template file for that item.

    It's a good idea to spend some time up front finding out what each menu item in the admin can do for you. Start the the left-most item and go top to bottom viewing the options of each. Once you get to the second item, you'll find the area where you can tell the cart which data should be included in product display. You may need to edit the product display template file to move things around if you want something other than the options available in the admin menu.

    Don't fall into the "I don't have time to do that now" trap. Time invested up front to learn is always less than the time required to fix mistakes made from poor knowledge/preparation.
    </soapbox>
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  7. #7
    Join Date
    Sep 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Vertical Align issues?

    I don't mind the Soapbox at all!

    I'm used to modifying templates that are a lot clearer cut than Zencart is, for example, Wordpress. When I freelance, I have a tendency to write scripts to work how the client wants them to, I guess I got stuck in a box thinking that Zencart would be an easy edit out template like Wordpress. Boy, was I wrong!

    I am impressed by Zencart's features and ease of use from the admin panel, it'll make things a lot easier for her. And this is all a great learning experience for me, so I appreciate the help.

    You're right, no easy out on this one, Zencart template modding is a more in-depth process than I thought. Haha.

    I appreciate the help so much!

  8. #8
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,691
    Plugin Contributions
    11

    Default Re: Vertical Align issues?

    You're welcome.

    It's like when in the military. You land in a new country with new customs and an unknown language. You learn how to order beer, get some food/water, and get ....

    You'd get looked at real funny if you ordered a frappe here in Texas but, my New Hampshire cousins get one all the time.

    You'll get the hang of the "language" the more you speak with the "natives."

    The developer's toolkit will be your best friend in the admin if you want to find where things are located in files.

    Firebug added on to firefox will show you what is going on in the final html output of the files. It's like view source but on steroids.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  9. #9
    Join Date
    Sep 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Vertical Align issues?

    Ew, military. Haha; militarywife.

    Oh, how I adore Firefox extensions. I think I have Firebug loaded up already.

    I just got so frustrated not understanding how Zencart was processing, but now that I understand that the admin panel has a lot more to do with it, I have a better grasp on things. :)

 

 

Similar Threads

  1. Vertical align of text
    By gowzel in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 27 Jun 2011, 10:20 AM
  2. Vertical align images
    By knutsford-software in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Apr 2011, 11:02 AM
  3. vertical center align
    By pokemon3d in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 12 Jul 2009, 09:32 PM
  4. vertical-align
    By user2345 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 25 May 2008, 09:16 PM
  5. vertical-align not working!?!?!
    By Alex Clarke in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 23 Sep 2006, 06:23 AM

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