Post by antmagn » Mon Sep 02, 2024 1:17 am

Hello everyone,
I somehow lost the add to cart buttons when viewing product categories. I think I made a modification on stylesheet file which I did not noticed I made that problem....Can anyone help me?
https://tonias-handmade.com/
Version 3.0.3.8 default theme

Attachments

CaptureCart.JPG

CaptureCart.JPG (49.85 KiB) Viewed 402 times

Last edited by antmagn on Mon Sep 02, 2024 3:34 pm, edited 1 time in total.

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by Cue4cheap » Mon Sep 02, 2024 2:57 am

<button type="button" onclick="cart.add('47');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">Add to Cart</span></button>

Don't know what that was before but you need to change it back or remove it.
Mike

Edit: Well that was a wrong guess on my part :-D
Last edited by Cue4cheap on Mon Sep 02, 2024 9:58 pm, edited 1 time in total.

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by by mona » Mon Sep 02, 2024 6:34 am

In your stylesheet approximately line 652 you have

Code: Select all

.product-thumb .button-group button {
    width: 60%;
    border: none;
    display: none;
    float: left;
    background-color: #eee;
    color: #3d6e21;
    line-height: 38px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}
remove

Code: Select all

display: none;
display none means do not display !

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by antmagn » Mon Sep 02, 2024 3:33 pm

by mona wrote:
Mon Sep 02, 2024 6:34 am
In your stylesheet approximately line 652 you have

Code: Select all

.product-thumb .button-group button {
    width: 60%;
    border: none;
    display: none;
    float: left;
    background-color: #eee;
    color: #3d6e21;
    line-height: 38px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}
remove

Code: Select all

display: none;
display none means do not display !
Thank you very much, that was the problem! I will mark the post as solved. :)

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm
Who is online

Users browsing this forum: No registered users and 18 guests