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

#  Profile for Spanka

##

[![Spanka's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/18221-spanka "View Spanka's Profile")

**[ Offline](/forum/user/18221-spanka)**

- **User Type:** User

- **Register Date:** 08 May 2013
- **Last login:** 13 years 1 month ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 21:21

- **Posts:** 1
- **Profile views:** 49

- **Gender:** Unknown
- **Birthdate:** Unknown

- Posts

#  Spanka's recent posts  (1 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/4-how-to/31988-add-to-cart-styling#114603) | [Add to Cart styling](/forum/4-how-to/31988-add-to-cart-styling#114603 "Hi Nicolas,  I'm trying to style the 'add to cart' area of my products pages, but running into a few problems that I can't find how to solve.  I want to use a custom buttom behind the words 'add to cart', set Button Style to CSS in the configuration area and edited this to suit my needs:  a.hikashop&#95;cart&#95;button, a.hikashop&#95;cart&#95;button:hover{ background-image:url(&quot;../images/button.jpg&quot;)); width:158px; height:27px; color:#FFF; font-family:Verdana,Arial,Helvetica,sans-serif; font-size:14px; padding:5px 8px; text-decoration:none; cursor:pointer; float:left; white-space:nowrap; text-transform:uppercase;}  However, dit has no effect whatsoever, still only see the text, no button.  Also I want to move the characteristics dropdown to the right of the content area, but keep the word 'size' to the left and make the options dropdown a lot wider, how can I achieve this? I want to move the add to cart button to the right as well underneath the dropdown. Been looking at css but can't find how to accomplish this, any help much appreciated!  Please see attached pic, this is how I've currently got it to look, but need to change to above description.  Many thanks for your help! Johanna")         Category: [How to?](/forum/4-how-to "If you didn't find the answer on our documentation neither on existing posts, please ask your question here.")     Topic started 14 years 10 months ago, by [jcwerb](/forum/user/4458-jcwerb "View jcwerb's Profile")       [Last Post](/forum/4-how-to/31988-add-to-cart-styling#114603 "Old topic bump!  MariettoR - thanks - saved me a lot of time searching for this! But I'm a bit hesitant to edit this - it's a core file. I notice in the code (line 35ish), it has:  Can I just create a copy of cart.php and put it my templates/&#91;template-name&#93;/html folder?  EDIT: as a quick workaround, you can just edit /templates/&#91;your-template-name&#93;/html/product/quantity.php (or wherever else you need to change buttons) by editing the displayButton call.  From this:  To this (note the extra paramater on the end - I'm adding a class &quot;button&quot;):  The class parameter immediately follows the min parameter. This approach allows you to add a class to a given button call, which you can then override with CSS. In my case, I'm adding the class of &quot;button&quot; and completely removing Hika styling as my themes (by RocketTheme) already have a bundle of good to go styling ready for anything.") 13 years 3 months ago     by [Spanka](/forum/user/18221-spanka "View Spanka's Profile") | Replies:11  Views:3341 | [Last Post](/forum/4-how-to/31988-add-to-cart-styling#114603 "Old topic bump!  MariettoR - thanks - saved me a lot of time searching for this! But I'm a bit hesitant to edit this - it's a core file. I notice in the code (line 35ish), it has:  Can I just create a copy of cart.php and put it my templates/&#91;template-name&#93;/html folder?  EDIT: as a quick workaround, you can just edit /templates/&#91;your-template-name&#93;/html/product/quantity.php (or wherever else you need to change buttons) by editing the displayButton call.  From this:  To this (note the extra paramater on the end - I'm adding a class &quot;button&quot;):  The class parameter immediately follows the min parameter. This approach allows you to add a class to a given button call, which you can then override with CSS. In my case, I'm adding the class of &quot;button&quot; and completely removing Hika styling as my themes (by RocketTheme) already have a bundle of good to go styling ready for anything.") by [Spanka](/forum/user/18221-spanka "View Spanka's Profile")      13 years 3 months ago |

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

Time to create page: 0.053 seconds

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

[](#top)
