Good morning guys,
I have attached a pic and my question.
How i can break and transfer this long desciprion line to next one (within the box)?
Veersion 3.0.2.0 with default template
Many thanks!
M
I have attached a pic and my question.
How i can break and transfer this long desciprion line to next one (within the box)?
Veersion 3.0.2.0 with default template
Many thanks!
M
Attachments
line.jpg (87.25 KiB) Viewed 616 times
Last edited by MZaitseva on Sun Jun 16, 2019 5:34 pm, edited 1 time in total.
This isn't a description, this is title. Make it shorter and in the future NEVER create such a long titles.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
In file catalog/controller/product/product.php find line, approx 213:
replace it with:
number "10" is how many characters you want to show.
Code: Select all
'text' => $product_info['name'],
Code: Select all
'text' => strlen($product_info['name']) > 10 ? utf8_substr($product_info['name'],0,10)."..." : $product_info['name'],
Last edited by kestas on Sun Jul 07, 2019 7:15 pm, edited 1 time in total.
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Ok but the problem is as @thekrotek says - you have tried to put a product description in the title field - don't do this!
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Who is online
Users browsing this forum: jkitz and 14 guests