All Topics 1125
SupportCategory: Materialize WPCan’t find anywhere to change Materialize header navbar logo and footer content after uploading theme
Can’t find anywhere to change Materialize header navbar logo and footer content after uploading theme
By rpreilley asked 6 years ago

I have worked with some other WordPress themes before, but this one is taking some getting used to. I’m still fairly new to WordPress, but other themes in the Appearance tab have super easy options to upload a new image for the header logo, or just Header/Footer options in the Appearance tab to do this. Apparently I need to edit the site-logo.php file, but everything I do returns the alt text instead of my logo.

$fallback_logo = get_template_directory_uri() . ‘/images/logo.png’;
$fallback_retina_logo = get_template_directory_uri() . ‘/images/logo2x.png’;

$default_logo = materialize_option(‘logo’, ‘url’, $fallback_logo);
$default_ratina_logo = materialize_option(‘retina-logo’, ‘url’, $fallback_retina_logo);

This is the code in that file. I am trying to replace the “/images/logo.png” with the url of the imported picture I want to use, but it is not working.

Any help would be greatly appreciated.

Support is Offline

Our office hours

Monday - Thursday / 10am - 6pm (GMT +6)

Our Time

Your Time