Mustafas Posted July 31, 2014 Share Posted July 31, 2014 Hi alltogether, I am new to Prestashop and now I am customizing the Shop to fit it to the complicated german law. I have now this issue: I had to add some information to the tax_info (the law wants that). But now you see the line overrun. How can I include a word wrap here? I found the corresponding tpl, its the displayproductpriceblock.tpl, and this are the corresponding lines: {if $is_object} <span class="tax-shipping-info eu-legal"> {if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) || !isset($display_tax_label))} <span class="tax_info"> {if $priceDisplay == 1}{l s='tax excl.' mod='eu_legal'}{else}{l s='tax incl.' mod='eu_legal'}{/if} </span> {/if} But how to add the word wrap, such that I have no overrun with bigsized displays and no unnecessary line-break (word wrap) in smaller displays (where this default responsive design changes the tax_info space, s.t. it has the full horizontal line, so no break is needed then).But as a first result a simple break in all cases would be enough The very same problem arises on the checkout page, when the display is smaller than 990px but larger than 770px. This is the result for those displays: And also the responsiveness is gone and you have to croll horizontally to get the screen above.Thanks for your help!Mustafas Link to comment Share on other sites More sharing options...
dioniz Posted August 1, 2014 Share Posted August 1, 2014 For product page open product.tpl end add your text just after this closing div: </div> <!-- end prices --> I'm not sure what text you have in mind on checkout page. 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