-
AuthorPosts
-
April 24, 2022 at 11:49 am #1349272
Hi,
SVG-Logo does not show up.logo.svg:
-Upload sucessfull
– I set it in the Enfold settings
– I can see it in the Enfold-settings
– I dont see it in the frontend (logo area is empty)logo2.svg:
Upload: You dont have permission to upload this filetype
(I also tried to add this code in the function.php:/** * add SVG to allowed file uploads **/ function add_file_types_to_uploads($file_types){ $new_filetypes = array(); $new_filetypes['svg'] = 'image/svg+xml'; $file_types = array_merge($file_types, $new_filetypes ); return $file_types; } add_action('upload_mimes', 'add_file_types_to_uploads');
)
kind regards
ElviraApril 24, 2022 at 11:55 am #1349274Even with this code in my functions.php (provided by this forum) i cant upload logo2.svg
Why??add_theme_support('avia_template_builder_custom_css'); function cc_mime_types($mimes) { $mimes['svg'] = 'image/svg+xml'; return $mimes; } add_filter('upload_mimes', 'cc_mime_types');
April 24, 2022 at 2:35 pm #1349283did you check if your logo2.svg does open in a browser? Just drag&drop the svg from your desktop to an opend browser window.
April 24, 2022 at 3:25 pm #1349284Hi,
i just tested and they all open in a browser.BTW: Did you notice that there is a problem with “logo1” too?
kind regards
ElviraApril 25, 2022 at 8:35 am #1349354Hi Elvira,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardApril 26, 2022 at 6:47 am #1349463btw – that is the right snippet, but that first line :
add_theme_support('avia_template_builder_custom_css');
is not part of the needed code. this is an additional entry of your functions.php.
i’m participant as you are – so i do not see any hidden private content. But if you like i will chack your svg or page too.May 10, 2022 at 6:37 pm #1351250Problem is that the website is still on my localhost.
So how can we solve this?Just to make sure that the problem is not my SVG….can you provide me with a tested and working SVG and i try to embed it?
This way we could have circled the problemEvi
May 12, 2022 at 6:19 am #1351464Hi,
You can use any svg files from this site.
Do you have the latest version of the theme (4.9.2.3)? Please feel free to update us once the site is live.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.