Hello,
I’m using a svg file (correction, tried to use) for my logo, and maybe that’s just not going to work overall because…
The darn thing gets crazy big on some mobile devices and covers the navigation menu – lol.
And then on big ‘ol screens it doesn’t align as far left as the title so everything is aligned.
I don’t mind using a png, but if it’s possible, I’d love to use a svg.
Please advise.
P.S. for some reason when I tried to install the child theme, the whole site design went nuts (possible plugin discrepancy?) Yea, so I’d rather use a png file than try to figure that all out. ha ha
Thanks a million!!
Hey Intell,
Please try the following in Quick CSS under Enfold->General Styling to align the logo on mobile devices:
@media only screen and (max-width: 767px) {
.responsive #top .logo {
position: static;
display: table;
height: 80px !important;
float: none;
padding: 0;
border: none;
width: 60%;
}
}
When you have activated the child, then please go to Enfold->Import/Export and import the parent theme settings. If your settings don’t apply after that, then please try to save the theme options in order to regenerate the theme resources.
Best regards,
Rikard
open your svg code and have a look if it has width and height information inside on svg tag.
by the way – you can simplify your svg code on svgomg
choose on right options : prefer viewbox to width/height
maybe that will help
Edit: i tested my suggestion on uploading a svg file with width and height information. There must be something different.
There must be a css rule in your setting that prevents your svg logo from fitting into the surrounding container – in any case, i didn’t have to set any extra css rules to achieve this.