MyBB Community Forums

Full Version: Help with a new theme
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Why not <img src="test" style="width: 100%" alt="" />. Instead?

Also you seems to have a problem with your Important information thingy. There is a < which is blocking some of the text from showing.
<You are currently not logged in, Please log in or register.
If this is your first visit, be sure to check out the
The < at the top of the code.
CraKteR Wrote:Why not <img src="test" style="width: 100%" alt="" />. Instead?
That'll work fine too.
where do i put <img src="Forum logo.bmp" style="width: 100%" alt="" />

As currently the logo is in the theme manager:

Forum Logo
The URL of the image to display as the forum logo in this theme.

as images/Forum logo.bmp
This should be done from the template manager, in the header template
<img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" />

Replace with
<img src="{$theme['logo']}" style="width: 100%" alt="{$mybb->settings['bbname']}" />
Ok im getting there but now the logo looks pixilated and horrible when the forum is viewed full size. What size should i make the logo so i don't have this problem.
I believe that it is better to add full width and height instead of using width=100%

for example if your images is 150X160

Then use
<img src="{$theme['logo']}" width="150" height="160" alt="{$mybb->settings['bbname']}" />
ok im tring to do my new theme but none of the images are showing
Make sure you have selected the right images folder in the themes manager. If that didn't help.. provide me with a link.
Pages: 1 2