Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    red flag Which part of the code need to change for PRICE $xxx fonts size

    Hi

    Which part of the code I need to change /add in order to change the fonts size for the words 'Price: $xxx'
    I am not sure which part of the code actually need a class or span wrapping around.

    This applies to for the results in All Products and New Producs page.

    Greatly appreciated.
    Downunder QLD

  2. #2
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: Which part of the code need to change for PRICE $xxx fonts size

    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

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

    Default Re: Which part of the code need to change for PRICE $xxx fonts size

    Thanks ,

    Can you tell me which files needs to be corrected. I have no idea where that code goes in ALL or NEW products page?

    Thanks
    Downunder QLD

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

    Default Re: Which part of the code need to change for PRICE $xxx fonts size

    Only files corresponding to the code you have shown is in the modules. After replacing the code with the correct file, I have created CSS class and results have not changed.
    Downunder QLD

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Which part of the code need to change for PRICE $xxx fonts size

    If you don't have the FireFox browser, download a copy (it's free) and get the web developer's add-on. That'll allow you to see the IDs and you can modify the stylesheet on the fly to see what effect the changes will have. You'll have to save your changes on you local drive and then upload the modified stylesheet to your website.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  6. #6
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: Which part of the code need to change for PRICE $xxx fonts size

    oavs, You don't have to style class, but the links in that class, like so:

    classhere a,active,visited {
    }

    afo,
    Price doesn't have a unique class/ID, and if you style links, all links within that container would be affected.
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

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

    Default Re: Which part of the code need to change for PRICE $xxx fonts size

    I do have the Firefox but as Nimbuz pointed out 'Price doesn't have a unique class/ID, and if you style links, all links within that container would be affected.' it does not work.

    So as I said I am confused with which files to amend.
    One of the file is /store/index.php?main_page=products_all and the other
    /store/index.php?main_page=products_new

    Here is the page http://aloeveraproducts.com.au/store...e=products_new

    All I want is to increase the size and and weight of the fonts where it says
    Price: $6.93

    Why zencart is so difficult to do this?

    Nimbuz if you could have one more attempt to help I would be much great full.

    Thank you for both responding
    Downunder QLD

  8. #8
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: Which part of the code need to change for PRICE $xxx fonts size

    My bad, that was for featured products.

    Try this:

    modules/product_listing.php - around ("around" because I've modified this file a lot) Line 147:

    Code:
            $lc_price = '<div class="product_listing_price">' . zen_get_products_display_price($listing->fields['products_id']) . '</div>';
    and style the element in css ofcourse:

    .product_listing_price {
    font-family:Arial, Helvetica, sans-serif;
    font-size:14px;
    font-weight:bold;
    color:#ff6600;
    }
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

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

    Default Re: Which part of the code need to change for PRICE $xxx fonts size

    Nothing has changed.??

    I have found the line as below.

    case 'PRODUCT_LIST_PRICE':
    //$lc_price = zen_get_products_display_price($listing->fields['products_id']) . '<br />'; //
    $lc_price = '<div class="product_listing_price">' . zen_get_products_display_price($listing->fields['products_id']) . '</div>';


    and added the Css
    Downunder QLD

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

    Default Re: Which part of the code need to change for PRICE $xxx fonts size

    oops yes it did but not where I wanted. Still I will kepp it there as I like it

    I wanted in all products and New products page. Is the process is the same?
    Downunder QLD

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 9
    Last Post: 25 Mar 2013, 09:31 AM
  2. Which file I need to change the default template colour?
    By samcyh in forum General Questions
    Replies: 2
    Last Post: 8 Jun 2009, 09:51 AM
  3. Change the size/font etc of price with css?
    By mediathing in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Oct 2007, 10:09 AM
  4. Need help for having the page size change automatically to the viewer screen size
    By chris hill in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Aug 2006, 07:49 PM
  5. Where is the part in CSS to change the color of the middle part of the background?
    By drbarnet in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 29 Jul 2006, 08:12 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