Charles0130 Posted July 24, 2015 Share Posted July 24, 2015 Hi, I need to suppress the left/right margin in my long description on the product page, how to do that ? Thanks, Charly. Link to comment Share on other sites More sharing options...
clint Posted July 24, 2015 Share Posted July 24, 2015 Hi Try section.page-product-box p {margin-left:30px ; margin-right:30px} in your product.css Clint Link to comment Share on other sites More sharing options...
Charles0130 Posted July 25, 2015 Author Share Posted July 25, 2015 Hi Try section.page-product-box p {margin-left:30px ; margin-right:30px} in your product.css Clint Hi Clint, Sorry, but I don't find this line in my product.css, should I add it anywhere ? And this will add margin or 30px, no ? Thanks for your help. Link to comment Share on other sites More sharing options...
clint Posted July 26, 2015 Share Posted July 26, 2015 (edited) Yes add it there at the very bottom, this will add 30px margin each side of the product description, Re reading the post though you would be better off using padding if attached is what you are trying to achieve section.page-product-box p {padding-left:30px ; padding-right:30px} Edited July 26, 2015 by clint (see edit history) Link to comment Share on other sites More sharing options...
Charles0130 Posted July 27, 2015 Author Share Posted July 27, 2015 Yes add it there at the very bottom, this will add 30px margin each side of the product description, Re reading the post though you would be better off using padding if attached is what you are trying to achieve section.page-product-box p {padding-left:30px ; padding-right:30px} Hi Clint, Thanks, but me I want to SUPPRESS the margin. Link to comment Share on other sites More sharing options...
clint Posted July 27, 2015 Share Posted July 27, 2015 I'm unsure exactly what you mean by supress the margin. Can you clarify and I'll post working code. Link to comment Share on other sites More sharing options...
Charles0130 Posted July 28, 2015 Author Share Posted July 28, 2015 I'm unsure exactly what you mean by supress the margin. Can you clarify and I'll post working code. Find bellow the margin I want to suppress, in Red color. Thanks again. Link to comment Share on other sites More sharing options...
clint Posted July 28, 2015 Share Posted July 28, 2015 I understand, the gap between the category description and the outside. So, at the bottom of product.css add #page .page-product-box .rte { padding-left: 0px; padding-right:0px; } 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