change the style of this button only...

  • Posts: 40
  • Thank you received: 0
7 years 8 months ago #279478

hi
I'm trying to figure out how to change the style of this .hikashop_cart_input_button.
I want to disable it, to make it invisible, but if I change the CSS the "add to cart button" disappears as well

quick hint?

thank you

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
7 years 8 months ago #279490

Hello,

I'm sorry but our forum do not provide such kind of CSS support.
And even if we could ; with just an image and no link ; it would be impossible to know what you're talking about, the context, the classnames, etc.

But we do have a nice documentation which is talking about CSS basis : www.hikashop.com/support/documentation/1...the-display.html#css

Regards,

PS : When you create a subject in our forum ; it's best to provide the information that we're asking, like your HikaShop version number, website url (which can stay private) and so on.


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 40
  • Thank you received: 0
7 years 8 months ago #279523

I'm sorry. I didn't mean to ask for that.
I thought you could easily address me to the part that needs to be edited.

HikaShop Business 2.6.3

I'd like the "choose options" button in this page to be hidden
www.barbaragiganti.com/it/shop/bags.html

but if I edit the CSS attribute also the add to cart button in this page disappears
www.barbaragiganti.com/it/shop/bags/product/1-rock-fashion.html

Please Log in or Create an account to join the conversation.

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
7 years 8 months ago #279555

Hello,

I understand the issue, the point is that your "Add to cart" and "Choose options" button have the same Class, and so like this it's impossible to use Css in order to create Css command that don't impact the "Add to cart".

Now you have a solution, via an override view (html & php knowledge required), you can add another Css class, in the "add_to_cart_ajax" view if you use the new ajax add to cart feature.
If you use the legacy mode, the view will be the "quantity_legacy".

Note : have a look on this documentation to see how to proceed an override view.

In your add_to_cart_ajax view around line 140, you will see this :



And so, with this you will be able to add via this new class different Css command from the "Add to cart" button.
Hope this will help you.

Regards

Last edit: 7 years 8 months ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 40
  • Thank you received: 0
7 years 8 months ago #279610

merci bcp
grace à vos conseilles, j'ai bien reussi

Please Log in or Create an account to join the conversation.

Time to create page: 0.139 seconds
Powered by Kunena Forum
loading