Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Apr 2008
    Posts
    31
    Plugin Contributions
    0

    Default Product Listing Price Font

    Hi

    I have looked at the style used for the font size on the product listing page which is set to "productListing-data". Though when i look at my stylesheet, this tag doesnt set any font size at all

    How can i change the price font size? Its too small

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Product Listing Price Font

    Quote Originally Posted by glenelkins View Post
    Hi

    I have looked at the style used for the font size on the product listing page which is set to "productListing-data". Though when i look at my stylesheet, this tag doesnt set any font size at all

    How can i change the price font size? Its too small
    G,
    Well, if you change the above declaration the whole text, price, etc. all change, but if you want to only change the Price we need to specify a ID or Class to this so we can control in the .css

    includes/ modules/ your_template_name/ product_listing.php
    1. Line 107
    2. case 'PRODUCT_LIST_PRICE':
      $lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />';
      $lc_align = 'right';
      $lc_text = $lc_price;
    Change to:
    1. case 'PRODUCT_LIST_PRICE':
      $lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />';
      $lc_align = 'right';
      $lc_text = '<div class="prodListPrice">' . $lc_price . '</div>';
    Now we half to edit the stylesheet.css
    includes/ templates/ your_template_name/ css/ stylesheet.css

    Add the following declaration at the bottom
    1. .prodListPrice {font-size: 1.2em;}
    2. the highlighted red font above, change to whatever the size you need.

  3. #3
    Join Date
    Oct 2008
    Posts
    141
    Plugin Contributions
    0

    Default Re: Product Listing Price Font

    On behalf of the original poster who has inexplicably failed to thank someone giving him his answer, MANY THANKS FOR THIS! I played around for an absolute age, but your way worked in a matter of seconds (proving that I should have searched the forum before attempting it myself...)

  4. #4
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Product Listing Price Font

    Tr,
    Thanks for the compliment, Boy I needed an uplift,
    You are most welcome for the answer, glad it fixed it for you.. :)

  5. #5
    Join Date
    Oct 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: Product Listing Price Font

    Along these lines, I'm trying to alter the table cells that are displayed when conducting a product search. The current layout places the product name, photo, description and price in 4 different table cells. which displays horribly. I can find where to change the classes, etc. but cannot for the life of me find where that table is being built so I can lay these items out properly.

    thanks!

  6. #6
    Join Date
    Nov 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: Product Listing Price Font

    haredo, big thx to you.

  7. #7
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Product Listing Price Font

    Ie,
    you are most welcome, glad I could spif up your web page. :)

  8. #8
    Join Date
    Jul 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Product Listing Price Font

    HAAAALLLELUJA!!!!!!! I have spoken to sooo many geeks about this but they ddn`t understand ########... This is amasing. My page is finally finshed!!!!!

  9. #9
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Product Listing Price Font

    Gr,
    Glad you used the search function within the Zen panel to find this thread.. :)

  10. #10
    Join Date
    Sep 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Product Listing Price Font

    Thank you for this answer~!!!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Font used in product listing.
    By Paul...the...first in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 30 Apr 2011, 01:26 PM
  2. Font issue - Product Listing
    By jill8026 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Jul 2009, 01:20 AM
  3. Alternate font color on product listing?
    By charmedbytina2 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Jul 2007, 07:37 AM
  4. Product listing font question
    By Danielle in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Sep 2006, 04:29 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