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

#   How to create rounded corners on shop buttons

##

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

Less More

- Posts: 110
- Thank you received: 0
-
-

15 years 8 months ago [\#10103](#10103) by [deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")  *[How to create rounded corners on shop buttons](/forum/4-how-to/10103-how-to-create-rounded-corners-on-shop-buttons#10103 "Hi  Is there a field or area where I can create rounded corners on my hikashop buttons? I Googled how to adapt buttons for cross-browser but they all involve an htc file for MSIE pre 9.    212.113.133.235/~englishr/index.php?opti...sk=listing&amp;Itemid=60  Please advise. TIA.")* was created by *[deborahharrison](/forum/user/1040-deborahharrison "View deborahharrison's Profile")*

Hi

Is there a field or area where I can create rounded corners on my hikashop buttons? I Googled how to adapt buttons for cross-browser but they all involve an htc file for MSIE pre 9.

[ 212.113.133.235/~englishr/index.php?opti...sk=listing&amp;Itemid=60](http://212.113.133.235/~englishr/index.php?option=com_hikashop&ctrl=category&task=listing&Itemid=60)

Please advise. TIA.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEwMTAzLWhvdy10by1jcmVhdGUtcm91bmRlZC1jb3JuZXJzLW9uLXNob3AtYnV0dG9ucz90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 8 months ago [\#10105](#10105) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to create rounded corners on shop buttons](/forum/4-how-to/10103-how-to-create-rounded-corners-on-shop-buttons#10105 "Hi  Is there a field or area where I can create rounded corners on my hikashop buttons? I Googled how to adapt buttons for cross-browser but they all involve an htc file for MSIE pre 9.    212.113.133.235/~englishr/index.php?opti...sk=listing&amp;Itemid=60  Please advise. TIA.")*

Hi,

If you want to have rounded corners only with CSS, IE pre9 will indeed require an htc file.

Alternatively, you can make your rounded corners in JS which won't require that htc file. There are several method out there:
[ www.curvycorners.net/](http://www.curvycorners.net/)
[ jquery.malsup.com/corner/](http://jquery.malsup.com/corner/)
[ www.html.it/articoli/nifty/index.html](http://www.html.it/articoli/nifty/index.html)

In all of these examples, you will have to use divs for your buttons. By default, the two button mode of hikashop (normal or CSS) use either an input or a link. If you want to change and use a div, you will need to define the function hikashop_button_render in the file templates/YOUR_TEMPLATE/html/hikashop_button.php basing your code on the code available in the file administrator/components/com_hikashop/helpers/cart.php
So it's not that easy.

Another easier way will be to use images, etc. For a complete list of rounded corners technics you can look at that page:
[ www.devwebpro.com/25-rounded-corners-techniques-with-css/](http://www.devwebpro.com/25-rounded-corners-techniques-with-css/)

In HikaShop, we decided to not use any specific rounded corner code, so the rounded corners that you can set on the div layouts won't work for IE per 9 unless you setup an htc file.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEwMTAzLWhvdy10by1jcmVhdGUtcm91bmRlZC1jb3JuZXJzLW9uLXNob3AtYnV0dG9ucz90bXBsPW1hcmtkb3du) 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.050 seconds

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