MyBB Community Forums

Full Version: can't change emerald theme logo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
https://prnt.sc/EXzBD0R1SEoo
I can't change the part you see in the picture from the header section, when I replace it with the "<img src="İmage Link" />" part, it overflows the logo
Emerald was the theme I was using until about a week ago, and I was able to change the logo. What do you mean by "overflows"? Maybe a screenshot? I was able to put my image link at the very bottom of the header template above <navigation>. If you're trying to replace the diamond, that's only for a small icon, so a big logo would overflow. But again, a screenshot would be helpful.
(2022-12-11, 03:09 PM)judel Wrote: [ -> ]Emerald was the theme I was using until about a week ago, and I was able to change the logo.  What do you mean by "overflows"? Maybe a screenshot?  I was able to put my image link at the very bottom of the header template above <navigation>.  If you're trying to replace the diamond, that's only for a small icon, so a big logo would overflow. But again, a screenshot would be helpful.

https://prnt.sc/PWDWF-uhnfNv

https://prnt.sc/gIOGQsyxPzKA

After I write this code in the theme, the logo does not appear, I do not understand why it is like this
Oh, so you want your logo where the text name usually goes. Looks like you left off the closing </a> tag.
(2022-12-11, 07:07 PM)judel Wrote: [ -> ]Oh, so you want your logo where the text name usually goes. Looks like you left off the closing </a> tag.

<a href="{$mybb->settings['bburl']}" id="logo"><img src="image"</a>

Can you write the correct code for this code?


https://prnt.sc/jyAXy1WmYOL9
It looks like you had it mostly right but without the ending tag, like this:
<a href="{$mybb->settings['bburl']}" id="logo"><img src="https://resimlink.com/HvSqF0s1Le.jpg"></a>
That is presuming that your image is .jpg, since I now notice that was missing as well.
Otherwise, replace "https://resimlink.com/HvSqF0s1Le.jpg" with the actual address of the image you want to use.

just remember that "image" has to be the full file name, include the .gif, .png or .jpg.