This topic has 6 replies, 3 voices, and was last updated 8 years, 11 months ago ago by Eva Kemp
Hi there
I found on a privious post that your support closed with the comment “svg logo is not possible” … but it is… you just have to install one of many svf plugins and it works… but of course not in safari…
i found an workaround with an embedded solution in the <body> tag like
<embed src=”file.svg” type=”image/svg+xml”></embed>
so it worked on an simple WordPress installt but i your header.php is way to complex for me… there is no closing body tag? can you help me where to put this line in without breaking the entire site?
thx
Hello,
You can add the code in header.php after the line 42.
Regards,
Eva Kemp.
Hello,
I also want to make logo with SVG file.
In the header.php, which part could I add the svg file link?
Hello,
Open wp-content/themes/legenda/framework/theme-functions.php file on line 948 and replace the code <img src="<?php echo $logoimg ?>
with the link to your logo image <img src="http://your_link>
.
Regards,
Eva Kemp.
Dear Eva,
I changed all code that you picked to <img src="www.brownbagcoffee.co.kr/wp-content/uploads/brownbag/logo_002.svg" />
and it still does not work.
Please check again.
Regards,
Hello,
I’ve added the code in functions.php of your child theme:
if (!function_exists('etheme_logo')) {
function etheme_logo() {
global $panel_filters;
$logoimg = etheme_get_option('logo');
$logoimg = apply_filters('etheme_logo_src',$logoimg);
if($panel_filters) {
$logoimg = apply_filters('logo_panel_filters',$logoimg);
}
?>
<?php if($logoimg): ?>
<a href="<?php echo home_url(); ?>"><img src="http://www.brownbagcoffee.co.kr/wp-content/uploads/brownbag/logo_002.svg" alt="<?php bloginfo( 'description' ); ?>" /></a>
<?php else: ?>
<a href="<?php echo home_url(); ?>"><img src="www.brownbagcoffee.co.kr/wp-content/uploads/brownbag/logo_002.svg" alt="<?php bloginfo('name'); ?>"></a>
<?php endif ;
}
}
Please clear browser cache and check the logo.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up