Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Unable to change/add logo to antimatter header

theme

Started by anarchocat 1 year ago · 1 replies · 38 views
1 year ago

I'm trying to add a logo to my header using the Antimatter theme. I followed this tutorial : /forum/themes-styling/antimatter-favicon-and-logo-t5558

I changed the following :

HTML
<div id="logo">
      <h3><a href="{{ base_url == '' ? '/' : base_url }}">{{ config.site.title }}</a></h3>
</div>

To the following :

HTML
<div id="logo">
      <h3><a href="{{ base_url == '' ? '/' : base_url }}">{{media['theme://images/logo.png'].html}}</a></h3>
</div>

However, this is what I see in place of the logo on my page :

TXT
 <img alt="" src="/user/themes/antimatter/images/logo.png" />

Which is not the right way to write an img tag.

I'm not sure what went wrong...

1 year ago

Check that answer again. I see it was updated a minute ago

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 53 10 hours ago
Support · by Anna, 3 days ago
2 60 13 hours ago
Support · by Justin Young, 14 hours ago
1 30 14 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 56 5 days ago