hello,
I have inserted svg function in function.php and I have exported as an example logo text in svg format from photoshop to my computer.
I uploaded this svg file to my theme but I see only text without background
I never used svg before is this normal ? I want to be sure if it is not normal then I have to look for the problem somewhere else?
this code lijn I added in my function.php:
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_filter('upload_mimes', 'add_file_types_to_uploads');
I want to use svg with advice of photoshop expert because ping format text logo’s maded with photoshop they are not good. they are all vague.
I want only to be sure if the svg has no background ?
