Home › Forums › WoodMart support forum › Problem with Information Box icon
Problem with Information Box icon
- This topic has 7 replies, 2 voices, and was last updated 1 year, 1 month ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
March 14, 2023 at 7:44 pm #451169
hamster2116ParticipantHello dear team, I’m having a sudden problem with” information box”. I am using Elementor. The svg icons I upload are invisible. I already disabled all unrelated plugins, purged cache, and it seems nothing is conflicting. Would you please check it out?
March 15, 2023 at 4:06 pm #451411
Aizaz Imtiaz AwanKeymasterHi,
Please check this manual: https://elementor.com/help/enable-svg-support-in-elementor/
Best Regards.
March 15, 2023 at 4:39 pm #451427
hamster2116ParticipantThis does not help. I have SVG uploads enabled in Elementor. And on other elements, such as List with icons, it works.
March 16, 2023 at 1:11 pm #451681
Aizaz Imtiaz AwanKeymasterHi,
Sorry, this is not possible in the Woomdart theme. You have to use the Elementor pro plugin for this.
If you want to upload the SVG then you should use the icon type as With image then upload the SVG image: https://ibb.co/ySs1K0m.Actually, we removed this ability because when
<svg>
icon is uploaded our options doesn’t work correctly and it usually confused our customers.That is why now it is possible to use
<img>
tag only. But if he still wants to use<svg>
You should add the following code in the child theme’s functions.php file:if ( ! function_exists( 'woodmart_print_custom_css' ) ) { function woodmart_print_custom_css() { ?> <style> html .elementor-control-list_type ~ .elementor-control-type-media ~ .elementor-control-type-icons .elementor-control-svg-uploader { display: flex; } </style> <?php } add_action( 'elementor/editor/before_enqueue_styles', 'woodmart_print_custom_css' ); }
Best Regards.
- This reply was modified 1 year, 1 month ago by Aizaz Imtiaz Awan.
March 16, 2023 at 2:11 pm #451706
hamster2116ParticipantThe list works for me ( I use “image” option)
But the Information box that comes with Woodmart does not work when I upload an SVG there, the icon is not visible.
March 17, 2023 at 10:57 am #452005
Aizaz Imtiaz AwanKeymasterHi,
Our woodmart information box supported SVG icons. There is an issue with the server. Please ask your hosting provider support about this issue.
Your server blocks requests to load the SVG image with the help of the
file_get_contents
PHP function. You need to disable this restriction mechanism or consult with your hosting provider for help.Best Regards.
- This reply was modified 1 year, 1 month ago by Aizaz Imtiaz Awan.
March 27, 2023 at 7:14 pm #454547
hamster2116ParticipantI can confirm I have no server side restrictions like this. I have zero problems using SVG on the site.
After doing troubleshooting, it seems the woodmart information box with icon is not working for me.
Instead I used the Elementor icon box and it works perfectly.
So I don’t know what’s the issue here, maybe it’s an isolated problem within my install but for now I found a workaround that’s good for me.
March 28, 2023 at 1:25 pm #454797
Aizaz Imtiaz AwanKeymasterHello,
We have once checked and confirmed from the Test Site in this regard, the Information Box element with Icons is working fine there: https://snipboard.io/AEkBwe.jpg
So, maybe there was some specific issue related to this on your Site.
But we are glad to hear that you have found out a workaround yourself and are happy with that. You are great !
Feel free to contact us, if you need any further assistance. We are always there for your help.
Thanks for contacting us.
Have a great day!Topic Closed.
Best Regards -
AuthorPosts
The topic ‘Problem with Information Box icon’ is closed to new replies.
- You must be logged in to create new topics. Login / Register