Not Solved forcing header banner image to resize with forum when screen resolution is changed.
#1
Not Solved
Hi. I noticed that when you resize the screen, the forum resizes too. I put a larger banner header in place of the mybb logo at 1024 pixels. Is there a way to have the banner image to resize also so it'll look the same width as the forum. so it will be consisitent looking on laptops and tablets, etc.

great software, gave up on smf finally.


thanks.
Reply
#2
Not Solved
Set width of image to 100% with CSS and be sure container is 100% width.
Find me here or at my new blog about MyBB, Web Design, SEO
My Services
MyBB Themes
Reply
#3
Not Solved
I have just been running in circles with the exact same problem with 1.8. Image was perfect width at 900 resolution but members with 1080 resolution had a smasl offset image.

Could you post a sample code?

Thanks!
Reply
#4
Not Solved
you can add the foll. codes to global.css of your theme....

#logo img {
  width: 100%;
}
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#5
Not Solved
Sorry to hijack but I have a similar question.

I am trying to get the logo to automatically downsize for small screen resolutions. For some reason I can't get it to work. If I use the code above to set the width: 100%, it resizes the logo to fit the width of the container which makes it basically the full width of the page which is huge. I want to keep it regular size and only shrink down for smaller resolutions.
Reply
#6
Not Solved
Set the logo css so

#logo img {
max-width:100%;
}
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
#7
Not Solved
That made no difference.
Reply
#8
Not Solved
So to hijack my thread back. Would someone be so kind to post how to do it so it will answer those who have this same question in the future. TIA
Reply
#9
Not Solved
Sure. Please provide a forum url.
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
#10
Not Solved
(2015-03-19, 01:45 AM)Leefish Wrote: Sure. Please provide a forum url

xxx.com

please suggest logo size for both reg and mobile site.  thank you so much for taking time to do this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)