StrefaBiznesu Posted August 2, 2022 Share Posted August 2, 2022 (edited) Where to change product descriptions text-align. Can't find CSS source in code preview. Element.Style Text-align: justify On preview i can change to left and it looks fine. We need it permanently changed. Edited August 2, 2022 by StrefaBiznesu (see edit history) Link to comment Share on other sites More sharing options...
Prestachamps Posted August 2, 2022 Share Posted August 2, 2022 Hello, If you can't find in which CSS file you need to change, then disable the CCC part in the backoffice under "Advanced Parameters -> Performance -> CCC" and disable the "Smart cache for CSS". In custom.css you can override the product description with the .product-description selector p{ //code here } Have a nice day. Kind regards, Leo 1 Link to comment Share on other sites More sharing options...
StrefaBiznesu Posted August 2, 2022 Author Share Posted August 2, 2022 28 minutes ago, Prestachamps said: Hello, If you can't find in which CSS file you need to change, then disable the CCC part in the backoffice under "Advanced Parameters -> Performance -> CCC" and disable the "Smart cache for CSS". In custom.css you can override the product description with the .product-description selector p{ //code here } Have a nice day. Kind regards, Leo I have placed code in custom.css. Cleared the cache. No changes. Still justify. Link to comment Share on other sites More sharing options...
Nickz Posted August 2, 2022 Share Posted August 2, 2022 Did you clear also your browser cache? Plus if on shared server you maight have a server cache also to deal with. 1 Link to comment Share on other sites More sharing options...
ComGrafPL Posted August 2, 2022 Share Posted August 2, 2022 1 godzinę temu, StrefaBiznesu napisał: I have placed code in custom.css. Cleared the cache. No changes. Still justify. Try this instead: .product-description p{ text-align: left !important; } 1 Link to comment Share on other sites More sharing options...
StrefaBiznesu Posted August 2, 2022 Author Share Posted August 2, 2022 34 minutes ago, ComGrafPL said: Try this instead: .product-description p{ text-align: left !important; } Worked. Thanks. 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