DARKF3D3 Posted July 10, 2018 Share Posted July 10, 2018 (edited) Hello, I don't understand how to change font and font size of product description on PS1.7.4 because the style is wrote directly into product description span: <span style="font-size:10pt;font-family:Arial;font-style:normal;">The best is yet to come! Start the day off right with a positive thought. 8,2cm diameter / 9,5cm height / 0.43kg. Dishwasher-proof.</span> Any help? Edited July 17, 2018 by DARKF3D3 (see edit history) Link to comment Share on other sites More sharing options...
christian_at_joseph Posted July 11, 2018 Share Posted July 11, 2018 (edited) This is depending on the theme. Usually it is enough to add a few lines into the custom.css of your theme folder: "your theme"\assets\css\custom.css like: #description .product-description{ font-family: "Times New Roman", Times, serif; font-size: 24px; } if it is fixed in the product description I would change it to a css class in the product.tpl file: {block name='product_description'} <div class="product-description">{$product.description nofilter}</div> {/block} Edited July 11, 2018 by christian_at_joseph additonal (see edit history) 1 Link to comment Share on other sites More sharing options...
christian_at_joseph Posted July 11, 2018 Share Posted July 11, 2018 (edited) the span style description is added in the backoffice to the product description. Select the product -> show source code -> remove it. (at least this was the case with the demo data) Edited July 11, 2018 by christian_at_joseph (see edit history) 1 Link to comment Share on other sites More sharing options...
DARKF3D3 Posted July 17, 2018 Author Share Posted July 17, 2018 On 7/11/2018 at 5:26 AM, christian_at_joseph said: the span style description is added in the backoffice to the product description. Select the product -> show source code -> remove it. (at least this was the case with the demo data) Expand You're right... I spent so much time trying to change style with css, then I noticed that the default PS products have that style added directly into the descriprion. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now