Tagged: 

Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #365189

    I saw a thread that showed the code for the Quick CSS to remove the “Add to Cart” and “Show Details” button, but I was wondering how to remove just the “Show Details” button?

    Thanks in advance!

    -Aric

    #365501

    Hey a3brown4!

    Try adding this to your custom CSS.

    button-mini-delimiter { display: none !important; }
    .show_details_button {
        display: none !important;
    }
    

    Regards,
    Elliott

    #420377

    Could you also teach how to change the “Show Details” text? It does not translate correct to Danish..

    #420384

    Hi!

    Thank you for coming back.

    You have to edit enfold\config-woocommerce\config.php line 223:

    Look for:

    
    	if(in_array($product->product_type, array('subscription', 'simple', 'bundle')))
    	{
    		$output .= '<a class="button show_details_button" href="'.get_permalink($product->id).'"><span '.av_icon_string("details").'></span>  '.__("Show Details","avia_framework").'</a>';
    	}
    

    and replace “Show Details” with the text you like.

    Could you tell us the correct translation so we can update the translation file for the future releases please?

    Best regards,
    Günter

    #420388

    Its amazong how fast you guys respond, thanks!

    Den correct Danish translation is: “Vis detaljer”

    #420403

    Hey!

    Thank’s a lot for this. I forward it to Kriesi for the next update.

    Enjoy the theme and feel free to come back with further questions and/or problems you have.

    Cheers!
    Günter

    #672799

    Hello
    It does not translate correct to Portuguese Brasil…
    beyond the “show details” are not the product filters translated:

    Sort by Default Order
    Default Order
    Name
    Price
    Date
    Popularity

    Display 15 Products per page
    15 Products per page
    30 Products per page
    45 Products per page

    everyone should be in Portuguese ..
    it happens in all our sites

    thanks.

    #674472

    Hi,

    Did you install WordPress in your own language? https://codex.wordpress.org/Installing_WordPress_in_Your_Language

    Best regards,
    Ismael

    #714085

    Hi Ismael. The Problem is:
    My theme is in portuguese and translated except:
    Filter the products as I mentioned above. And the “show Details” button.

    I have opened the translator in POEDIT and these words do not exist.
    I had to translate in enfold/config-woocommerce/config.php

    #714088

    Hi!

    You can try using this free software – https://poedit.net/ and edit language files in Enfold/lang folder. Please make sure to update the file before ediring.
    If you are using a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/ please see – http://kriesi.at/documentation/enfold/child-theme-translations/

    Best regards,
    Yigit

    #764225

    i have the same problem
    i have try this css but not work

    button-mini-delimiter { display: none !important; }
    .show_details_button {
    display: none !important;
    }

    #764230

    the code is right but i not understand why not load the custom css…..

    #764569

    Hi,

    Is

    button-mini-delimiter

    a class? If so you are missing the . at the beginning of the statement.

    Best regards,
    Rikard

    #769481

    Hello! this worked for me :D
    .show_details_button {
    display: none !important;
    }
    .button-mini-delimiter {
    display: none !important;
    }
    .show_details_button {
    display: none !important;
    }

    I dont know why it works only if I repeated this before and after delimiter…

    #769485

    Hey!


    @paul_chezan
    Glad you figured it out and thanks for sharing your solution :)
    There might be an error in your custom CSS as it should work when you add the code once :)

    Regards,
    Yigit

    #770953

    Hello, @Yigit, it worked like this: first it removes the button, the second should remove the delimiter but it removes it only if I put once again the first code… and that’s the third.. :) If you figure it out where is the error I’ll be glad to fix it, because I don’t like strange codes either… :D

    #771482

    Hi,

    Ok, thanks for the feedback. So everything is working as it should?

    Best regards,
    Rikard

    #772340

    Hello!
    Yes it works like it should, but @Yigit said that there might be a CSS error because I had to introduce twice the same code to work…
    kind regards! :D

    #772434

    Hi,


    @paul_chezan
    Please start a new thread and attach temporary admin logins in private content field so we can look into it. If you post it here, it will be visible to creator of this thread as well :)

    Best regards,
    Yigit

    #1142154

    Hi,

    I changed the text in Line: 410 in enfold-child/config-woocommerce/config.php

    But it is not working, Can you please tell any other solution?

    Kind regards

    #1142598

    Hi,

    You can’t override the config file in the child theme. What you need to do is remove the default hook.

    remove_action( 'woocommerce_after_shop_loop_item', 'avia_add_cart_button', 16);
    

    And create your own hook and callback. Just copy the “avia_add_cart_button” function in the child theme’s functions.php file, rename it, then do your own modifications.

    Best regards,
    Ismael

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