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

#   Contact us CSS on variants

##

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

Less More

- Posts: 2
- Thank you received: 1
-
-

4 years 11 months ago [\#337987](#337987) by [Libes](/forum/user/61205-libes "View Libes's Profile")  *[Contact us CSS on variants](/forum/26-product-category-display/903669-contact-us-css-on-variants#337987 "Hi, i changed the css of the product page (show&#95;default) and it looks fine but when i add variants to a product and i chose one of them the buttton &quot;Contact us&quot; shows the class &quot;hikabtn&quot; which i don't want to add. And i can't figure it out where to remove that class (i don't want to change the css of &quot;hikabtn&quot; becuse elsewhere i need it).  Thanks for your help")* was created by *[Libes](/forum/user/61205-libes "View Libes's Profile")*

Hi,
i changed the css of the product page (show_default) and it looks fine but when i add variants to a product and i chose one of them the buttton "Contact us" shows the class "hikabtn" which i don't want to add. And i can't figure it out where to remove that class (i don't want to change the css of "hikabtn" becuse elsewhere i need it).

Thanks for your help

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDM2NjktY29udGFjdC11cy1jc3Mtb24tdmFyaWFudHM/dG1wbD1tYXJrZG93bg==) 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: 86593
- Thank you received: 14334
-
-

4 years 11 months ago [\#337989](#337989) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Contact us CSS on variants](/forum/26-product-category-display/903669-contact-us-css-on-variants#337989 "Hi, i changed the css of the product page (show&#95;default) and it looks fine but when i add variants to a product and i chose one of them the buttton &quot;Contact us&quot; shows the class &quot;hikabtn&quot; which i don't want to add. And i can't figure it out where to remove that class (i don't want to change the css of &quot;hikabtn&quot; becuse elsewhere i need it).  Thanks for your help")*

Hi,

You can do the same change in product / show.php where the HTML of the variants is generated.

However, I would still recommend to do this with CSS instead of view overrides.
If you do:
.hikabtn{ color: red; }
it will change the color of the elements with hikabtn everywhere, and you don't want that.
But what you can do instead is use the parent element class, like so:
.hikashop_product_contact_main .hikabtn{ color: red; }
That way, is will only change the color for the contact button and not the other buttons, even though they all use hikabtn.

The following user(s) said Thank You: [Libes](/forum/user/61205-libes "View Libes's Profile")

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

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

Less More

- Posts: 2
- Thank you received: 1
-
-

4 years 11 months ago [\#338000](#338000) by [Libes](/forum/user/61205-libes "View Libes's Profile")  Replied by *[Libes](/forum/user/61205-libes "View Libes's Profile")* on topic *[Contact us CSS on variants](/forum/26-product-category-display/903669-contact-us-css-on-variants#338000 "Hi, i changed the css of the product page (show&#95;default) and it looks fine but when i add variants to a product and i chose one of them the buttton &quot;Contact us&quot; shows the class &quot;hikabtn&quot; which i don't want to add. And i can't figure it out where to remove that class (i don't want to change the css of &quot;hikabtn&quot; becuse elsewhere i need it).  Thanks for your help")*

Thanks,
it worked perfectly using css and parent element class!

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

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

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