[Skip to main content](#vessel-content)

#   \*\*SOLVED\*\* Add to Cart Button Text Truncated

##

- **[BoardBoss](/forum/user/3031-boardboss "View BoardBoss's Profile")**
- [![BoardBoss's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3031-boardboss "View BoardBoss's Profile") Topic Author
- [ Offline](/forum/user/3031-boardboss)

Less More

- Posts: 9
- Thank you received: 0
-
-

15 years 4 months ago -  15 years 4 months ago [\#19478](#19478) by [BoardBoss](/forum/user/3031-boardboss "View BoardBoss's Profile")  *[\*\*SOLVED\*\* Add to Cart Button Text Truncated](/forum/3-bug-report/19478-solved-add-to-cart-button-text-truncated#19478 "Hi - System information: HikaShop Starter 1.5.1, Joomla 1.6.3, PHP 5.3.6  New installation with three categories, and one product in each. When I drill down to a product in the frontend, and then click on the product, the 'Add to cart' button appears as shown in the attached image.")* was created by *[BoardBoss](/forum/user/3031-boardboss "View BoardBoss's Profile")*

Hi - System information: HikaShop Starter 1.5.1, Joomla 1.6.3, PHP 5.3.6

New installation with three categories, and one product in each. When I drill down to a product in the frontend, and then click on the product, the 'Add to cart' button appears as shown in the attached image.

[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/hikashop_add_to_cart_chopped.PNG) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/hikashop_add_to_cart_chopped.PNG "&#91;img")

- [ ![hikashop&#95;add&#95;to&#95;cart&#95;chopped.PNG](/forum/attachment/1326) ](/forum/attachment/1326 "...rt&#95;chopped.PNG") [ ](/forum/attachment/1326?download=1 "...rt&#95;chopped.PNG")

Last edit: 15 years 4 months ago by [BoardBoss](/forum/user/3031-boardboss "View BoardBoss's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTQ3OC1zb2x2ZWQtYWRkLXRvLWNhcnQtYnV0dG9uLXRleHQtdHJ1bmNhdGVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 4 months ago [\#19483](#19483) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Add to Cart Button Text Truncated](/forum/3-bug-report/19478-solved-add-to-cart-button-text-truncated#19483 "Hi - System information: HikaShop Starter 1.5.1, Joomla 1.6.3, PHP 5.3.6  New installation with three categories, and one product in each. When I drill down to a product in the frontend, and then click on the product, the 'Add to cart' button appears as shown in the attached image.")*

That's not a problem in HikaShop but in the way your template style the buttons. It uses an image or a fix width which results in that problem.
You have several solutions:
1. Change the text to make it fit in the button. You can do that in the tab Languages of the configuration of HikaShop by editing your translation file.
2. Modify your template's button styling so that it works properly.
3. Change your template
4. Change the option "button style" from the tab Display of the configuration of HikaShop from "normal" to CSS. That will use the HikaShop custom CSS for buttons instead of your template CSS styling.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTQ3OC1zb2x2ZWQtYWRkLXRvLWNhcnQtYnV0dG9uLXRleHQtdHJ1bmNhdGVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[BoardBoss](/forum/user/3031-boardboss "View BoardBoss's Profile")**
- [![BoardBoss's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3031-boardboss "View BoardBoss's Profile") Topic Author
- [ Offline](/forum/user/3031-boardboss)

Less More

- Posts: 9
- Thank you received: 0
-
-

15 years 4 months ago [\#19490](#19490) by [BoardBoss](/forum/user/3031-boardboss "View BoardBoss's Profile")  Replied by *[BoardBoss](/forum/user/3031-boardboss "View BoardBoss's Profile")* on topic *[Re: Add to Cart Button Text Truncated](/forum/3-bug-report/19478-solved-add-to-cart-button-text-truncated#19490 "Hi - System information: HikaShop Starter 1.5.1, Joomla 1.6.3, PHP 5.3.6  New installation with three categories, and one product in each. When I drill down to a product in the frontend, and then click on the product, the 'Add to cart' button appears as shown in the attached image.")*

Hi - Thanks for the prompt reply. Nice catch. ![:)](/media/kunena/emoticons/8.png ":)")

It is interesting to note that I have used this particular template dozens of times in Joomla 1.5 without issue; however, the version I have installed is for Joomla 1.6, so I will pass this along to the template author.

To correct this situation in my case, I simply widened the image and corresponding CSS in the tempalate, which was option 2 in your list of suggestions. Again, it is a mystery why HikaShop does this when I use this template. I tried using option 4 in your list, but the style changed so dramatically to a two-toned yellowish color that was in a square container, and that did not look good.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xOTQ3OC1zb2x2ZWQtYWRkLXRvLWNhcnQtYnV0dG9uLXRleHQtdHJ1bmNhdGVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.163 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
