Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi,
Any chance of adding a way to load a logo in Vantage Theme Settings using a URL as opposed to an upload. I’m trying to use one file across sites in a multisite installation test.
HG/mws
Hi HG
Unfortunately, not without custom development. If you’re using a child theme you can create a folder called “parts” in the child theme and then copy /parts/masthead.php from the parent to the child folder, same location. On line 9 you’ll find:
You can replace:
with your own logo using an HTML img tag:
http://www.w3schools.com/tags/tag_img.asp
Thanks Andrew. Great way to do it. Easier just to upload it on each site.
If I understand, some areas of the theme can be designated in a child theme’s “…/parts/” folder. Does this work for footers and more? What other “parts” are recognized this way?
Thanks,
HG
For sure :)
With the parts folder we’re just copying the layout of the parent theme. If you check out the parts folder in the parent you’ll find:
footer.php
masthead-logo-in-menu.php
masthead.php
menu-empty.php
menu.php
Any of those could be used in your child theme parts folder.
From the WordPress Codex:
Load a template part (other than header, sidebar, footer) into a template. Makes it easy for a theme to reuse sections of code and an easy way for child themes to replace sections of their parent theme.
https://codex.wordpress.org/Function_Reference/get_template_part
Thanks Andrew. Any answer on my question about menu gradient backgrounds?
HG
Sure, I’ll grab that now.