A
A
Andrew2018-03-10 14:17:16
opencart
Andrew, 2018-03-10 14:17:16

How to display the name in the product card in two lines (Opencart)?

The name of the product must contain both the name and the specific name of the product. In some products, where the name is long, it also moves to the second line, but I would like to clearly distinguish this matter, for example: 1st line - Toilet water, 2nd - Del Mar. Or maybe you need to drive the name and the name into different fields and display them in the card?
Tell me, how can this be implemented (br does not work here)?
5aa3be5231764764807003.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jupiter Max, 2018-03-10
@vardoLP

The easiest option is for the block in which the heading is located, to make internal indents on the left and right. padding-left:your size; padding-right: your size;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question