MyBB Community Forums

Full Version: How to change logo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I got this tip on the theme and try this and now you wonder how to replace the logo. I just want to change the icon.

https://community.mybb.com/thread-220773...pid1328476


I use the theme default.



[Image: 0RaiY19v_t.png]
in general, logo image path is entered at the theme properties
admin panel >> themes (link at left column menu) >> click on your theme (at the right side)
--> scroll down for Board Logo and enter the logo image path (eg. images/logo.png) and save the theme properties
Thanks for the reply. When you read the code it is as-. > .logo_icon SVG

Header:

<header class="header">
        <div class="wrapper">
            <h1 class="header__title">
                <a href="{$mybb->settings['bburl']}/index.php" class="logo logo--light  header__title__logo">
<span class="logo__icon"><?xml version="1.0" encoding="UTF-8"?>
<svg width="48px" height="44px" viewBox="0 0 48 44" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 47 (45396) - http://www.bohemiancoding.com/sketch -->
<title>Artboard</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Artboard" fill-rule="nonzero" fill="#FFFFFF">
it could be added through global.css stylesheet of the theme.
search for .logo__icon and look at its background property