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
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
Add to your stylesheet.css:Code:h1#productName+font:before {content: 'Model: ';}
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.
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: ';}
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).
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: ';}
Works for me on your site, using Web Developer.
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?
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: ';}
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.)