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

How can I replace "Grav" with a logo?

Started by Muut Archive 10 years ago · 4 replies · 572 views
10 years ago

Thanks for the great product. I've successfully installed Grav and need to upload my company logo to replace the text "Grav" at the top left section of the antimatter theme. Is there a simple guide I can follow? I've searched and gone over the source but I'm not experienced enough to figure out how to achieve this.

10 years ago

Before editing a theme, it's best practice to inherit it first. You don't have to, especially if you're just fiddling for testing, but for a production site, it's best keep your customizations separate from the parent theme.

10 years ago

Just what I needed, thanks. Should any users need help with this, I modified the line highlighted by isuvar as follows:
---<h3><a href="{{ base_url == '' ? '/' : base_url }}"><img src="/path/to/images/logo.png" style="width:200px;height:50px;" alt="title";></a></h3>

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1357 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2955 9 years ago
Archive · by Muut Archive, 9 years ago
3 1121 9 years ago