LittleBuddy.us Posted June 2, 2014 Share Posted June 2, 2014 How can I change font size & text content on product page in PS 1.5.6.2? www.best99wares.net Q1: I have tried to modified product.css but nothing changed. BTW, I can`t find where is 'product_reference'. Q2: Where can I change the text content ? Link to comment Share on other sites More sharing options...
vekia Posted June 2, 2014 Share Posted June 2, 2014 1) in your css file create this: #product_reference label {font-size:20px!important;} 2) go to localization > translations > front office translations search for product.tpl there and you wll be able to translate it there Link to comment Share on other sites More sharing options...
LittleBuddy.us Posted June 2, 2014 Author Share Posted June 2, 2014 1) in your css file create this: #product_reference label {font-size:20px!important;} 2) go to localization > translations > front office translations search for product.tpl there and you wll be able to translate it there 1) Where shall I insert this code? I try it like this, but still nothing changed. I wonder if I put it to wrong place? #attributes .attribute_list #color_to_pick_list {list-style-type:none;width:125px;} #attributes .attribute_list #color_to_pick_list li {float:left;margin:0 8px 8px 0;padding:1px;border:1px solid #ccc;clear:none} #attributes .attribute_list #color_to_pick_list li.selected {border:1px solid #000;} #attributes .attribute_list #color_to_pick_list a.color_pick {display:block;height:20px;width:20px;} .product_attributes {padding:10px 0 0;border-top:1px solid #ccc;} #product_reference label {font-size:20px!important;} /* attributes */ #attributes select {width:120px;border:1px solid #cdcdcd;} /* quantity_wanted */ #quantity_wanted_p input {width:50px;border:1px solid #cdcdcd;} 2) I can`t find product.tpl from localization > translations > front office translations, are you talk about back office? I tried it, but Prestashop said Warning! Your PHP configuration limits the maximum number of fields allowed in a form 1000 for max_input_vars. Please ask your hosting provider to increase the this limit to 1441 at least or edit the translation file manually. But I just want to change 'items' to 'pcs'. Is there another way to modify it? Thanks. Link to comment Share on other sites More sharing options...
vekia Posted June 2, 2014 Share Posted June 2, 2014 1) anywhere you want in global.css, for example - at the end of the file 2) max input vars + prestashop - possible solutions Link to comment Share on other sites More sharing options...
LittleBuddy.us Posted June 3, 2014 Author Share Posted June 3, 2014 (edited) 1) I found why is not work before, I have to wait a day after put this code into css file and this feature will display on website. But I like to make the number bigger, shall I put the code like "#product_reference span {font-size:20px!important;}" ?Yes, I confirm it this morning... 2) I asked hosting provider to increase my limited to 1441, but still not work.... I have increased the limited to 2000,it works... Edited June 5, 2014 by LittleBuddy.us (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts