Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Oct 2007
    Posts
    56
    Plugin Contributions
    1

    customer issue How can i edit subcategory listing page?

    Hi,
    Will anyone please help me? I am using the "amplify_zencart_tpl" template. And my site is www.pradhanflorist.com . I am facing the problem, such that, if i click on any subcategory in the left category menu (like Flower in my site ), then the content is showing such a bad looking that, all the product images getting touched. I want a gap there in between two products. i.e. I am unable to increase the height of the table <td> of each product . As an example, i can give you an example, please click on the link bellow, it shows how i like to look like :: Click Here For the Sample.

    Waiting for kind reply.
    -WDH

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

    Default Re: How can i edit subcategory listing page?

    Add to your stylesheet (/includes/templates/your_template/css/stylesheet.css)
    Code:
    .producLlisting-odd td, .producLlisting-even td {
    	text-align: left;
    	vertical-align: top;
    	padding:0.5em; /*space between elements and borders*/
    	margin-bottom: 1em; /*space under border*/
    	border-bottom: 3px double #aaccbb;
    	}
    Adjust, add or delete properties to taste.

  3. #3
    Join Date
    Oct 2007
    Posts
    56
    Plugin Contributions
    1

    Default Re: How can i edit subcategory listing page?

    Quote Originally Posted by gjh42 View Post
    Add to your stylesheet (/includes/templates/your_template/css/stylesheet.css)
    Code:
    .producLlisting-odd td, .producLlisting-even td {
    	text-align: left;
    	vertical-align: top;
    	padding:0.5em; /*space between elements and borders*/
    	margin-bottom: 1em; /*space under border*/
    	border-bottom: 3px double #aaccbb;
    	}
    Adjust, add or delete properties to taste.
    I have done this already but it is not working properply yet .. Please tell me where is the wrongs...

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

    Default Re: How can i edit subcategory listing page?

    Sorry, that's my fault. I went back to capitalize the "L" and missed it, swapping the L for a t... So it should be
    Code:
    .productListing-odd td, .productListing-even td {
    	text-align: left;
    	vertical-align: top;
    	padding:0.5em; /*space between elements and borders*/
    	margin-bottom: 1em; /*space under border*/
    	border-bottom: 3px double #aaccbb;
    	}
    I really do need better glasses! :/

  5. #5
    Join Date
    Oct 2007
    Posts
    56
    Plugin Contributions
    1

    customer issue Re: How can i edit subcategory listing page?

    Quote Originally Posted by gjh42 View Post
    Sorry, that's my fault. I went back to capitalize the "L" and missed it, swapping the L for a t... So it should be
    Code:
    .productListing-odd td, .productListing-even td {
    	text-align: left;
    	vertical-align: top;
    	padding:0.5em; /*space between elements and borders*/
    	margin-bottom: 1em; /*space under border*/
    	border-bottom: 3px double #aaccbb;
    	}
    I really do need better glasses! :/

    Hi... Thanks.. Its working fine.. .. But I am wonder no-one there replied of my 1st question "How to add two category list in sidebox " ... If any one can do that that will be really helpfull for me..

    Thanks,
    WDH

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

    Default Re: How can i edit subcategory listing page?

    Answered in that thread.

  7. #7
    Join Date
    Oct 2007
    Posts
    56
    Plugin Contributions
    1

    Default Re: How can i edit subcategory listing page?

    Hi Glen,
    All are ok about your code, but unfortunately the heading are getting displaced.. please look at the page , the headings "Product Image and Item Name" displaced.. Will you please help me?
    With Best regards,
    WDH

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

    Default Re: How can i edit subcategory listing page?

    The headings are centered in the spaces, while the image and product name are left-justified.
    You can change either of them in the stylesheet to match the other.

  9. #9
    Join Date
    Oct 2007
    Posts
    56
    Plugin Contributions
    1

    Default Re: How can i edit subcategory listing page?

    Hi Glen,
    I made the following change in the CSS

    .centeredContent, TH{
    text-align: left;
    }

    -And It is working fine. Thanks a lot.

    I have another question. Will you please tell me if i want to display only 4 images in the home page insteed of 12 product images, then which file i have to modify?

    With Best Regards,
    WDH

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

    Default Re: How can i edit subcategory listing page?

    No files. That is an admin setting, in Configuration (which subpage depends on what part of the home page you are talking about - Index Listing and Maximums are likely locations).

    Do you realize that
    .centeredContent, TH{
    text-align: left;
    }

    will change all centeredContent and all TH table headings sitewide to be left-aligned? You need to localize the effect if you want it to apply only in certain situations. Try

    .productListing-rowheading {}

    or

    .productListing-rowheading th {}
    Last edited by gjh42; 4 Nov 2007 at 03:38 PM.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Edit subcategory page without products
    By sports guy in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 21 Nov 2012, 10:37 PM
  2. Can I turn off Quantity Box and Qty field in subcategory page (all product listing)?
    By bigstore in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Mar 2012, 10:28 PM
  3. How can I edit the invoice page?
    By ttmb33 in forum Customization from the Admin
    Replies: 5
    Last Post: 17 Sep 2009, 02:09 PM
  4. How can i edit the details page?
    By Nima in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 16 May 2009, 04:52 AM
  5. How can I edit product page ?
    By ernold in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 May 2007, 03:28 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