Not Solved forcing header banner image to resize with forum when screen resolution is changed.
#23
Not Solved
(2015-06-18, 04:54 PM)eNvy Wrote:
(2015-06-16, 12:40 PM)travbacon Wrote: Anyone else have an idea on this please?

Go to the header template.

In the header template, search this:

<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>

In this section:

<img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" />

Add a new class named "mylogo", like this:

<img class="mylogo" src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" />

Then, go to the global.css, and at the end of the last code, create a new class with the name of "mylogo", like this:

.mylogo {
    width: 100%;
{

That's all you need.

That worked wonders. Thank you. Clear and concise and works.
Reply


Messages In This Thread
RE: forcing header banner image to resize with forum when screen resolution is changed. - by gimpymoo - 2021-02-03, 04:37 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)