Well I've been playing for the first time with MyBB. I don't know what I'm doing but I'm learning.
I don't want my forum to wrap. How can I do this?
I guess I need to modify the global.css but what will be the code to insert?
This forum
http://community.mybb.com/ has wrapping disable and I want the same for my forum.
Picture of my forum without resizing the window.
http://i.cubeupload.com/BDN75c.png
Picture of my forum resizing the window.
http://i.cubeupload.com/gmHDDP.png
^^^ Ugly and all wrapped.
Now if you look at this forum when you resize the window.
http://i.cubeupload.com/RYM1OE.png
It still looks nice, clean and neat like I want mine to look like.
How can I do this? Thank you!
And sorry if this was answered already but I search Google and the forum and I didn't find anything with the words "prevent or disable". I found many information on the built in option about how many characters before word wrapping to maintain the forum layout but that wasn't what I was looking for.
find the container in global.css and set a min-width - 960px or so.
(2014-04-14, 12:15 AM)Leefish Wrote: [ -> ]find the container in global.css and set a min-width - 960px or so.
Thanks for the answer.
I just notice this forum doesn't wrap because it's inside of a page.
I notice it when I click the "Home" button on the top which takes me to
http://www.mybb.com/ ...
But I will see what I can do with your suggestion!
Thanks again!
Do you know how to use the browser inspector tools? Try right clicking on an element in the forum pages here on MyBB Community and see what the width to the container is set at in the forum - 940px.
Yes thank you! I found it by searching in the code where I found this:
http://community.mybb.com/cache/themes/t...global.css
And then inside their global.css I found this:
#container {
width: 940px;
background: #fff;
margin-left: auto;
margin-right: auto;
margin: auto;
border: 1px solid #878787;
border-top: 0;
border-bottom: 0;
height: auto;
}
But I will continue the next day because I couldn't make it work and I believe it's because I need some rest.
Thanks for the help!
Appreciated!
If your site is live please give a link to the forum. Then we can look at the css using the inspector tools and advise you better.
(2014-04-14, 06:57 AM)Leefish Wrote: [ -> ]If your site is live please give a link to the forum. Then we can look at the css using the inspector tools and advise you better.
Hey thank you Leefish.
The link to my forum is:
http://nanoloco.net78.net/
Also today I didn't have time to play with it and tomorrow probably I won't either.
I just came to see and understand the admin panel better because I couldn't go to bed without at least clicking on something! LOL
And for my surprise I click on MyBB Credits where I notice your name is under "Support Representative" which is amazing to see you people here in the forum helping others like me.
I speak for everybody when I tell you thank you very much for all your help and congratulations in your position with MyBB group.
I think it might be the way you are saving the css sheet. I just did a very quick test on your forum and adding a min-width to the forum container did work as expected:
#container {
background: #fff;
width: 95%;
min-width: 940px;
color: #000000;
border: 1px solid #e4e4e4;
margin: auto auto;
padding: 20px;
text-align: left;
}
If you want the white container always centered like it is here on MyBB then remove the "width:95%;".
Thank you Leefish
...
I got it working now thanks to you.
Couldn't do it without your help!
I guess my problem was I was typing:
width: 940px;
Instead of:
min-width: 940px;
Now I'm trying to remove one of the options but I can't manage to remove it.
http://community.mybb.com/thread-153086.html
This thing about being a forum administrator and modifying the forum it's harder than what I thought.
But I like it! It's challenging!