Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1059853

    Hi
    please look here:
    https://drive.google.com/open?id=1mrD0btxc0CxjmcoFOBAfDxxkZW5D0qzr

    left product = variable product and has one “Show details” icon in the middle.
    right product = simple product and has two icons (both linking to the product page)

    This is not a woocommerce issue – its a theme issue:
    class="<strong>avia</strong>_cart_buttons "

    How do i disble the cart-icon and make the “detail”-button centered like on the left product?

    Its a general question so please dont ask me about access!

    #1060997

    Hey MarcusJeroch,
    Sorry for the late reply, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    li.product.product-type-simple .avia_cart_buttons a.add_to_cart_button,li.product.product-type-simple .avia_cart_buttons span.button-mini-delimiter {
    display: none !important;
    }
    li.product.product-type-simple .avia_cart_buttons a.button.show_details_button {
    width: 100% !important; 
    }

    2019-01-31-073809

    Best regards,
    Mike

    #1069355

    Didnt work. Now its worse.
    Result:
    https://marcusjeroch.de/screens/shopbuttons.jpg

    Remember what the task is:
    – Remove “Zeige Details”-Button
    – Center “Details”-Button

    Btw: Whey are there two buttons anyway??

    In case you need the HTML:
    <div class="avia_cart_buttons "><a href="http://shop.xxxxxx.de/shop/option-test/" class="button"><span aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span> Details</a><a class="button show_details_button" href="http://shop.xxxxxx.de/shop/option-test/"><span aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span> Zeige Details</a> <span class="button-mini-delimiter"></span></div>

    #1069759

    Hi,
    Thanks, I checked again, and it’s working as my screenshot shows on the Shop Demo.
    Please include a link to your page so I can check what is wrong.
    Your HTML doesn’t provide enough information.

    Best regards,
    Mike

    #1069857

    Your screenshot is wrong too
    “Show Detail” is exactly the button that should NOT been DISPLAYED.
    please read my post

    #1069921

    Hi,
    Ok, please try this css:

    li.product.product-type-simple .avia_cart_buttons a.button.show_details_button,li.product.product-type-simple .avia_cart_buttons span.button-mini-delimiter {
    display: none !important;
    }
    li.product.product-type-simple .avia_cart_buttons a.add_to_cart_button {
    width: 100% !important; 
    }

    If this doesn’t help please include the url to the page in question so we can take a closer look.

    Best regards,
    Mike

    #1070311

    1. Now the correct button is visible – but still its not perfectly centered
    2: Please note that we are talking about two different product types (“Variable” & “simple & downloadable”)
    The problem with having two buttons (weird enough) is only on “simple & downloadable” products. Simply create a poduct like that in your testarea and you will see.
    3: Like i already said i C-A-N-T tell you an URL since i i moved it to my localhost

    #1070332

    Hi,
    OK, I didn’t see that you were working on your localhost.
    So I created a “simple & downloadable” product but the button is still centered after using the code above:
    2019-02-22-065842
    Please try removing any custom css, other than the code above, to see if that is causing the issue.
    Otherwise, it may be tricky to match all of your settings to create the same error, so try putting your demo online with a free WordPress host account so we can see the issue. Here is 11 free ones you can use easily.

    Best regards,
    Mike

    #1072711

    What about this?
    #top .avia_cart_buttons .button {
    width: 100%;}

    at least it works.

    PS:There is no other custom CSS.

    #1073473

    Hi,
    Are you saying that you have solved this?

    Best regards,
    Mike

    #1073582

    I am not sure if its correct what i did – but at least its centered now.
    But i am not good enough in CSS to know if it is the correct “syntax” and that it does not have effect on other places.
    Thats why i ask you.

    #1073621

    Hi,
    The syntax is correct, and it should not affect other elements. I wish I could help more, but I know I can’t see your page.
    Please let us know once your page is live, I will be more than happy to assist with any issues.

    Best regards,
    Mike

    #1075048

    You could help with another related topic
    1: I got products which have a certain tag assigned
    2: All products with this tag should have a border

    I cant figure out what the correct selector is.
    I tried these:
    li .product_tag-tagname {border: 10px solid #000000 !important;}
    or
    li .product .product_tag-tagname {border: 10px solid #000000 !important;}
    or
    product_tag-tagname li {border: 10px solid #000000 !important;}
    and some others but i dont get it

    #1075226

    Hi,
    The color has to go first:

    .product.product_tag-fun {
    border: #000 10px solid;
    }

    the tag for my product was “fun”

    Best regards,
    Mike

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.