Close

Center justification default on mobile interface

bcdiesel
6 years ago
#13943 Quote
Avatar
  • 45
Hi there,

Quick question - is there somewhere in the CSS files where I can remove the default center justification setting for text? Most of our product descriptions use full justification which seems to be replaced by center justification in the mobile theme. 


Cheers!
Travis
Valentin
6 years ago
#13944 Quote
Avatar
  • Moderator
  • 172
bcdiesel wrote:
Hi there,

Quick question - is there somewhere in the CSS files where I can remove the default center justification setting for text? Most of our product descriptions use full justification which seems to be replaced by center justification in the mobile theme. 

Cheers!
Travis



Greetings Travis,

to fix this issues I suggest you copy the following code to your
Custom Head Styles
section, which is located in your theme administration panel -> Nop-templates -> Themes -> Traction -> Settings:


.product-essential .full-description,
.product-essential .short-description {
text-align: left;
}


Any customizations you do on your theme, you better use this approach, instead of modifying the default CSS, because this way, even if you update your theme, your changes will be saved.
Best Regards,

Valentin Kirov
Nop-Templates.com
bcdiesel
6 years ago
#13946 Quote
Avatar
  • 45
Worked like a charm, thank you