- This topic has 55 replies, 5 voices, and was last updated 3 years, 10 months ago by
Leo.
-
AuthorPosts
-
June 22, 2022 at 5:14 pm #2261795
Ying
StaffCustomer SupportThat’s perfect, so do u recommend keep using the businessbloomer code? or should we achieve this using elements hook which you had shared?
Seem the PHP code works fine, then just use that 🙂
June 22, 2022 at 5:18 pm #2261797GeneratePressUser
Ok thanks, pls see private box
June 22, 2022 at 5:24 pm #2261798Ying
StaffCustomer SupportI tested 2 products, and they behave the same, I didn’t see the freezing moment.
But I have to say, it’s not very fast.June 22, 2022 at 5:25 pm #2261800GeneratePressUser
Was the favicon loading on ur end? or was just loading for 1st product and not 2nd?
June 22, 2022 at 5:27 pm #2261803Ying
StaffCustomer SupportBoth were loading.
June 22, 2022 at 5:28 pm #2261804GeneratePressUser
Hey Ying,
Ok thanks a lot.
June 22, 2022 at 7:06 pm #2261829Fernando Customer Support
Yes, this is the default behavior of default buttons in GP. It follows the Colors in Appearance > Customize > Colors > Buttons
If you wish to override this for these buttons, you can try adding this CSS in Appearance > Customize > Additional CSS:
button.plus, button.minus { background-color:#000; } button.plus:hover, button.minus:hover { background-color:#CC3333; }Hope this clarifies!
June 25, 2022 at 7:42 am #2264015GeneratePressUser
Hey Fernando,
That’s perfect, so how can I have the same for all the buttons on the website? coz after clicking certain button there is no point on having hover effect on it until somewhere else is clicked in the background.
June 26, 2022 at 3:14 am #2264666David
StaffCustomer SupportHi there,
coz after clicking certain button there is no point on having hover effect on it until somewhere else is clicked in the background.
Can you explain or share an example ?
June 26, 2022 at 8:10 am #2264977GeneratePressUser
Hey David,
Sure, without using this CSS:
button.plus, button.minus { background-color:#000; } button.plus:hover, button.minus:hover { background-color:#CC3333; }When I click on any of the buttons, then that button keeps having the hover effect even after my mouse is moved, it won’t go until I click somewhere else in the background.
For example see this image: https://prnt.sc/pbe1_jQQpVyo
June 26, 2022 at 8:56 am #2265007David
StaffCustomer SupportCan you link me to another page where there is a button that is retaining its ‘hover’ color after click ?
June 26, 2022 at 9:44 am #2265035GeneratePressUser
Hey David,
It seems that was the only one I guess which was causing that issue, weird, I can’t find any other button now doing such a thing, btw now since button and functioning is all solved can you pls tell how can the quantity button be taken on top and the add to cart button taken below it? in short instead of current inline format how to make it stacked.
Earlier we went to other route coz the button was causing issues but now its resolved, the main reason for opening this topic was alignment.
June 26, 2022 at 4:53 pm #2265211GeneratePressUser
Hey David,
OK I found the button which was causing that, pls check private box
June 27, 2022 at 3:58 am #2265592David
StaffCustomer SupportDo you mean this?
[screenshot deleted]
June 27, 2022 at 9:59 am #2266104GeneratePressUser
Hey David,
Yes, after dragging do they retain that hover effect? or its something to do with css?
Also after adding product to the cart and you can go to checkout page there you can see before place order button there is accept terms and conditions that too looks like that.
-
AuthorPosts
- The topic ‘Align Quantity and Add to Cart Buttons on Single Product Page’ is closed to new replies.