2015-05-12, 12:02 PM
Pages: 1 2
2016-06-22, 03:47 AM
I need help with this too. I want to change the background of MyBB for all pages on the forum.
I tried using both the current thread, and this thread below, as a reference:
http://community.mybb.com/post-815111.html
I went to themes-->Default and edited global.css.
I uploaded an image called lunarYearShirt.jpg to the images folder of MyBB.
This is my global.css currently:
I tried a few combinations of of the background-image line.
I tried clearing my browser cache, and my template cache from myBB.
I don't see any changes.
My next question after I get the above to work, would be how to change the "MyBB" header logo image at the top of the forum.
But I think I would better understand that, after getting the above to work.
Ok, I see the background image during the screen that comes up briefly after a post is submitted.
That's not exactly what I want to change.
I want to change the main background image that's on the page.
Ok, I was able to change the header logo.
But there's so much white space. How can I make the image stretch across? Or if I need to resize it, what should I resize it to?
Or, what can I make it do to make it look better?
Also, my above issue about changing the default whitebackground on almost all pages, into an image, is still there. It shows on on pages after I submit a post, but not on the main pages.
I tried using both the current thread, and this thread below, as a reference:
http://community.mybb.com/post-815111.html
I went to themes-->Default and edited global.css.
I uploaded an image called lunarYearShirt.jpg to the images folder of MyBB.
This is my global.css currently:
body {
/* background: #fff;*/
background-image: url(images/lunarYearShirt.jpg);
color: #333;
text-align: center;
line-height: 1.4;
margin: 0;
font-family: Tahoma, Verdana, Arial, Sans-Serif;
font-size: 13px;
overflow-y: scroll;
}
I tried a few combinations of of the background-image line.
I tried clearing my browser cache, and my template cache from myBB.
I don't see any changes.
My next question after I get the above to work, would be how to change the "MyBB" header logo image at the top of the forum.
But I think I would better understand that, after getting the above to work.
Ok, I see the background image during the screen that comes up briefly after a post is submitted.
That's not exactly what I want to change.
I want to change the main background image that's on the page.
Ok, I was able to change the header logo.
But there's so much white space. How can I make the image stretch across? Or if I need to resize it, what should I resize it to?
Or, what can I make it do to make it look better?
Also, my above issue about changing the default whitebackground on almost all pages, into an image, is still there. It shows on on pages after I submit a post, but not on the main pages.
2018-10-04, 03:17 AM
You should use .png file
you looking for "#content"
and insert the red text like under
#content {
background: #fff url(images/bg5.png);
width: auto !important;
padding: 20px 10px;
overflow: hidden;
}
you looking for "#content"
and insert the red text like under
#content {
background: #fff url(images/bg5.png);
width: auto !important;
padding: 20px 10px;
overflow: hidden;
}
2019-07-13, 02:19 PM
I have tried this method using my directory url(images/33mwvb.png); but it puts it in the footer section blending with the my powered by mybb section or not at all. What am I doing wrong or does the background of my forum not allow for a full page background image?
Pages: 1 2