Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default How to change amout font size in /index.php?main_page=index&cPath=33

    Hi

    I want to change font size in /index.php?main_page=index&cPath=33 page which is a catalogue listing page.

    Prices are listed without the css class like this. Not sure where the this price is coming from ( which zencart php file)

    <br>
    $159 <<< I want to style this
    <br>

    ..... and where it says ... more info

    You can see it here http://www.silkaurora.com.au/index.p...index&cPath=33

    Can anyone please give suggestion as to how to style this?
    Downunder QLD

  2. #2
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: How to change amout font size in /index.php?main_page=index&cPath=33

    OK I found the file modules/product_listing.php


    How do I wrap style tag around code where it displays the price?

    ===========================

    blah blah

    break;
    case 'PRODUCT_LIST_PRICE':
    $lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />';
    $lc_align = 'right';
    $lc_text = $lc_price;

    // more info in place of buy now
    =================================
    Downunder QLD

  3. #3
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: How to change amout font size in /index.php?main_page=index&cPath=33

    UPDATE!! I did it

    I forgot the same file was in my template folder. Once changed it worked.




    Ok I tried this but it did not work

    $lc_text = '<h2 class="centerBoxHeading">'. $lc_price . '</h2>';

    which references to CSS
    h2.centerBoxHeading {color:#000;
    font-size:17px;
    line-height:32px;
    text-transform:uppercase;
    font-weight:normal;
    font-family: 'Oswald', sans-serif;
    margin-bottom:10px;}

    ====== original code on line 96 of includes/modules/product_listing.php =============

    case 'PRODUCT_LIST_PRICE':
    $lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />';
    $lc_align = 'right';
    // original code >> $lc_text = $lc_price;
    $lc_text = '<h2 class="centerBoxHeading">'. $lc_price . '</h2>';
    Last edited by oavs; 29 Jan 2014 at 10:06 AM.
    Downunder QLD

 

 

Similar Threads

  1. Replies: 1
    Last Post: 12 Jul 2016, 04:21 PM
  2. How to add banner to index.php?main_page=index&cPath=0 ?
    By Alexiss in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 Oct 2011, 04:55 PM
  3. where can i find this link "/index.php?main_page=index&cPath=1"?
    By hangman21 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Jul 2010, 04:15 AM
  4. Replies: 3
    Last Post: 29 Sep 2008, 02:08 PM
  5. Replies: 0
    Last Post: 26 Oct 2007, 12:55 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR