-
AuthorPosts
-
October 2, 2017 at 11:33 pm #859428
I have two SVG logos I’m attempting to use for my main logo and its transparent version. When I upload the transparent SVG, it works fine. But then when I upload the main logo SVG file, it causes both of them to disappear.
It works when I have a PNG for my main and SVG for my transparent. But not when I’m using a SVG for both.
- This topic was modified 7 years ago by caseykidd1.
October 4, 2017 at 5:06 am #859878Still have not yet found a workaround, outside of simply using a JPG for the non-transparent logo and the SVG for the transparent version.
October 4, 2017 at 2:39 pm #860148Hi,
I could not log in, got a 404 on the link. Could you please post a valid login link.
Best regards,
VictoriaOctober 23, 2017 at 5:23 am #867440Link has been updated.
- This reply was modified 7 years ago by caseykidd1.
October 23, 2017 at 8:44 am #867489did you gave the logo img a width?
.logo img { width: 350px; height: auto }
October 23, 2017 at 8:54 am #867498I haven’t. Should I have?
October 23, 2017 at 9:37 am #867512trial and error.
You couldn’t destroy something – so give it a chance (in quick css / Enfold Options)for explanation. WordPress using no plugin for svg use is setting height and width dimensions to zero of every svg.
I don’t know why your svg on transparency options is visible – maybe you set up before a width for it. But! it has to be set an absolute width
a relative width for it will not work – allthough a max-width with relativ values works !EDIT : it seems to be that you are right !
i tested it on my testpage with ( i do not often have transparency header option) – in former times there was the alternate logo set even with svg.
but now there is nothing.
You can set it for normal logo as i said above ( the other logo i will have a look now) ???October 23, 2017 at 2:05 pm #867613on my real page https://webers-webdesign.de/testseite
and Enfold 4.07 you can see it with two svgs – the class “av_alternate_logo_active” is set correct – on my test-page with enfold 4.12 too – but no alternate logo seenOctober 23, 2017 at 2:14 pm #867615did you use that subtext logo function in your functions.php ?
or a code to have on a different site a different logo – or a text next to logo ?
Because alternate logo is set in this way.
I have it on my Enfold 4.12 Version on Testpage made for demonstration on how to change logo for a unique site – and bingo no alternate logoSo have a look into your functions.php
October 23, 2017 at 2:30 pm #867620must be a conflict with a code in functions.php of the child theme
- This reply was modified 7 years ago by Guenni007.
October 23, 2017 at 5:51 pm #867762I have not added or removed any functions that come out of the box. This appears to be a bug.
October 23, 2017 at 9:18 pm #867838So for me as a participant as you is now finished help. Without seeing the frontend it is nearly imporssible to help furthermore
October 23, 2017 at 9:19 pm #867839What frontend? The website is live at hardemancountytn.org. Pull it up and see what I’m talking about.
October 23, 2017 at 10:37 pm #867860i’m participant no mod – so on private input field i do not see the links. by the way the frontend is your page.
So now to your site – on my end here : Mac OSX Hight Sierra with safari, firefox, chrome and opera i see both your svg for transparency – and the svg on normal case:
On sourcecode ( and there you see that this alternate logo is created as subtext) i see both: click the image
So delete and refresh your cache in your browsers.
October 25, 2017 at 1:53 am #868480Hi,
The main and transparent logo are both svg.
<span class="logo"><a href="http://www.hardemancountytn.org/" style="max-height: 90px;"><img height="100" width="300" src="http://www.hardemancountytn.org/wp-content/uploads/2017/10/logo.svg" alt="Hardeman County Chamber of Commerce" style="max-height: 90px;"><span class="subtext"><img src="http://www.hardemancountytn.org/wp-content/uploads/2017/10/logo_white.svg" class="alternate" alt="" title="" style="max-height: 90px;"></span></a></span>
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.