Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2014
    Location
    Hong Kong
    Posts
    56
    Plugin Contributions
    0

    Default How to add "Model" infront of my model number above my product pictures?

    Hi, could anyone please teach me how can I add the word "Model" infront of my model number above my product's pictures?

    This is my website: www.missyone.com

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

    Default Re: How to add "Model" infront of my model number above my product pictures?

    Add to your stylesheet.css:
    Code:
    h1#productName+font:before {content: 'Model: ';}

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

    Default Re: How to add "Model" infront of my model number above my product pictures?

    You could add the Model: in the same PHP file that creates the model number output, but as that is in a custom template file and not stock Zen Cart, we can't tell you how to do that without seeing the PHP file in question. Since it is only presentational content, the CSS should do fine.

  4. #4
    Join Date
    Feb 2014
    Location
    Hong Kong
    Posts
    56
    Plugin Contributions
    0

    Default Re: How to add "Model" infront of my model number above my product pictures?

    Hi dear, Im in my stylesheet.css. Could you please kindly explain in details what to do with the below code?

    h1#productName+font:before {content: 'Model: ';}

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

    Default Re: How to add "Model" infront of my model number above my product pictures?

    Just add the entire thing on a new line anywhere in your stylesheet (the bottom of the file is a good place, to easily find your additions later).

  6. #6
    Join Date
    Feb 2014
    Location
    Hong Kong
    Posts
    56
    Plugin Contributions
    0

    Default Re: How to add "Model" infront of my model number above my product pictures?

    Thanks dear, I've already added the below code on the bottom of my stylesheet.css but it's not working. THe word model is not showing infront of the model number. Please kindly advice.

    h1#productName+font:before {content: 'Model: ';}

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: How to add "Model" infront of my model number above my product pictures?

    Works for me on your site, using Web Developer.

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

    Default Re: How to add "Model" infront of my model number above my product pictures?

    The rule is not anywhere near the bottom of your active stylesheet.css, nor can I find it anywhere else in the file. Exactly what file did you add it to, and in what folder? Are you sure it uploaded properly to your site?

  9. #9
    Join Date
    Feb 2014
    Location
    Hong Kong
    Posts
    56
    Plugin Contributions
    0

    Default Re: How to add "Model" infront of my model number above my product pictures?

    Dear, I've uploaded to /public_html/admin/includes/stylesheet.css , is this correct? I did just copy and paste the below code into the bottom of the sheet and click save. But not working.

    h1#productName+font:before {content: 'Model: ';}

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

    Default Re: How to add "Model" infront of my model number above my product pictures?

    Not at all. You will never need to edit any /admin/ files in normal circumstances. If someone wants you to touch an admin file, they will say so explicitly. You should be editing /includes/templates/your_template/css/stylesheet.css. (Replace your_template with the folder name of your custom template.)

 

 

Similar Threads

  1. Replies: 3
    Last Post: 15 Feb 2013, 03:17 PM
  2. How du I get the "model number" to show in the shopping cart??
    By Petlife in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 15 Jul 2011, 05:37 AM
  3. Replacing "model" with "part number"
    By enigma666666 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 26 May 2010, 09:52 PM
  4. NEWBIE: How do I add "MODEL" info to Home Page Listings?
    By hugozc in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 9 Nov 2009, 10:37 AM
  5. Put the text "Part #" infront of model # on product_listing.php
    By edwardtilbury in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Mar 2009, 05:18 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