[SOLVED] Help is needed.
Home – SaaS › Forums › Support questions › WooPrice Calculator (Pro) › [SOLVED] Help is needed.
- This topic has 0 replies, 1 voice, and was last updated 4 years ago by
Anonymous.
-
AuthorPosts
-
March 22, 2017 at 10:11 am #8348
Denis Mikhnevich
ParticipantThanks for the new update – it became much faster and easier to connect the calculator. It is a pity that you do not use standard category selection windows. Your windows are very small and without real trees structure – it is very difficult to choose the right category when there are many.
I’m compelled to ask for help =)
I can not fix the style in the Minicart widget myself. I tried to do this through additional styles, but in the main styles is the !important property…
.woocommerce ul.product_list_widget li img {
box-shadow: none;
float: left !important;
height: auto;
margin-right: 10px !important;
width: 70px !important; ------------------------!!!!
}Please tell me how to reduce this button or disable it?
[confidential]http://jaluzeru.miiixjn2.beget.tech
log: WPC
pass: fI*ytIRZX%2TrSyanbHceRfo
The site caching is enabled![/confidential]
[attachment=36]Button.jpg[/attachment]March 22, 2017 at 12:31 pm #8354Anonymous
GuestHi Denis,
ok thanks for feedback about categories windows.
This question should be asked to WooCommerce forum instead of us. WPC doesn’t manage any cart widget.
Anyway you could use:
.woocommerce ul.product_list_widget li img {
display: none !important;
visibility: hidden !important;
}Regards,
SMarch 22, 2017 at 1:38 pm #8353Denis Mikhnevich
ParticipantThe code you proposed hides the photo of the product. In the Minicart, the syules of elements are connected in some strange way. Before you contact, I have tried a lot of options, but no one has helped…
One more question. If this button is not added by WPC plugin, then why is the picture in the directory …/wp-content/plugins/woo-price-calculator/assets/edit.png , and in the code has comments ?
UPD
It seems to me that you did not quite correctly add this element – did not define the unique style for this button, and it was “wrong” inherited.March 23, 2017 at 9:20 am #8352Anonymous
GuestHi Denis,
I didn’t understand which button did you mean, now I understand.
For next time please send us screenshot or url for fastest support. 😉Here another question about it, you can change image or write text:
https://woopricecalculator.com/forum/all-questions/25-button-in-cart-to-edit-dimensions#118I can see a class in img cart for edit.png: class=”wpc-edit-icon”. Could you use a display: none for that class?
Regards,
SMarch 23, 2017 at 10:23 am #8351Denis Mikhnevich
ParticipantUh, I added a picture via the “Attachments” button in the first message …
[attachment=38]Button.jpg[/attachment]Please, write the complete chain to override the class edit.png: class=”wpc-edit-icon”, as in the example:
.woocommerce ul.cart_list li img, .woocommerce ul.product_list_widget li img {
display: none;
}
… I could not do this myself.March 23, 2017 at 10:49 am #8350Anonymous
Guest🙂 We can’t see any images in first message.
You have more approach to hide it, add this code to your CSS:
1.
.wpc-edit-icon {
display: none !important
}2.
.quantity .button > img.wpc-edit-icon {
display: none !important
}It will hide the icon.
You don’t really need to use this chain “.woocommerce ul.cart_list li img, .woocommerce ul.product_list_widget li img” but you could write, depending on where you want to hide the button:
.woocommerce ul.cart_list li img.wpc-edit-icon, .woocommerce ul.product_list_widget li img.wpc-edit-icon {
display: none !important;
}or regarding previous code:
.woocommerce ul.product_list_widget li img.wpc-edit-icon {
display: none !important;
}Regards,
SimoneMarch 23, 2017 at 11:13 am #8349Denis Mikhnevich
ParticipantThank you very much, Simone!
Unlike many other developers, your ansvers always are very fast and useful. =) -
AuthorPosts
- You must be logged in to reply to this topic.