- Posts: 16
- Thank you received: 0
Title getting cut off on mobile device
- piranhapete
-
Topic Author
- Offline
Less
More
8 years 5 months ago #294246
by piranhapete
Title getting cut off on mobile device was created by piranhapete
Please Log in or Create an account to join the conversation.
8 years 5 months ago #294257
by nicolas
Replied by nicolas on topic Title getting cut off on mobile device
Hi,
You have a space between the 6 and the oz so the word is not getting cut in the middle.
If you want the title to stay on one line, you can add such CSS:
.hikashop_product_name_main{ white-space: nowrap !important; }
Note however that since the title size is so big (because of the CSS of your template), if you have a long title, it will go out of the screen, which is what this avoids.
The simplest would be to reduce the font-size of the title (h1) in the CSS of the template. You'll need to check with your template provider about that.
www.hikashop.com/support/documentation/1...ize-the-display.html
You have a space between the 6 and the oz so the word is not getting cut in the middle.
If you want the title to stay on one line, you can add such CSS:
.hikashop_product_name_main{ white-space: nowrap !important; }
Note however that since the title size is so big (because of the CSS of your template), if you have a long title, it will go out of the screen, which is what this avoids.
The simplest would be to reduce the font-size of the title (h1) in the CSS of the template. You'll need to check with your template provider about that.
www.hikashop.com/support/documentation/1...ize-the-display.html
Please Log in or Create an account to join the conversation.
Time to create page: 0.042 seconds