Example: Q: A Panda Bear is White & _____________ If user insert black (not case sensitive) than show “submit” other wise hide the submit button
]]>The Icon for in the classic editor, to insert a code, is visible for all users, even contributors, I think it should be only visible to admins, Is there anyway to hide the button?, Don’t want guestusers to use the code,,
]]>Thank you
]]>I’m looking for some assistance if possible. I’m trying to hide the add to cart button (only button) for non logged in users however I do have a free sample button which links to this so every time I hide this it removes everything.
I am using the Elementor builder and Hello Theme.
I have tried:
remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’);
remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’, 30 );
—————————–
.add_to_cart_button {
display: none;
}
// Returns the add to cart button on the shop/category pages for logged in visitors
.logged-in .add_to_cart_button {
display: inline-block;
}
// Hides the add to cart button on the single product pages for all visitors
.single_add_to_cart_button {
display: none;
}
// Returns the add to cart button on the single product pages for logged in visitors
.logged-in .single_add_to_cart_button {
display: inline-block;
}
But not having much look, any help would be appreciated.
Thanks in advance
]]>I see there is js on the preferences button that changes display: none to display: inline-block for the class “cmplz-categories-wrap”.
Using plugin editor I was not able to find the file which assigns the Dismiss button its classes <- I wanted to add it a class “cmplz-categories-wrap” to let it display once the Preferences button is clicked.
Can you guide me to the correct file? Or if I’m totally misguided, can you point me in the right direction?
Thanks!
Vladimir
]]>On a computer, the “previous” button stays oddly next to the PayPal buttons even after selecting “credit or debit card”, occupying a significant part of the screen (even though it can’t be clicked)
On mobile, the “previous” button occupies a significant amount of space, staying next to the PayPal buttons before selecting and really squeezing the entry fields after selecting “credit or debit card”, occupying a huge part of the screen
I can change the button text via the pagination field, but there is no way to turn the buttons off or hide them. How can I hide the “previous” button? Can I add CSS code to the custom CSS field of the form?
Thank you for any help.
]]>