Jump to content
Graphics Submission Contest Read more... ×
Search In
  • More options...
Find results that contain...
Find results in...
  • Sign Up
Kyra

MyBB main page forum style

Recommended Posts

So while I understand HTML and CSS, I am woefully useless when it comes to PHP other than "damn, I wish I understood that so I could do this thing". So this is probably the first of many questions. 

 

I'm trying to change the main forum list on a myBB site so it's not just a single list, basically. I can add images, change colors, etc. etc. What I can't do is figure out how to re-write the HTML so it pulls in the correct forums (I can try to hard code it and then crazy things happen). I'm sure I'm explaining this poorly, so attached is a screenshot of what I would ideally like for it to look like. If that is a complete bear, I would settle for at least being able to have two forums side by side (i.e. like The Commons section in the attached screenshot). 

 

If there's a tutorial on this somewhere, please feel free to point my blind self in that direction. I just wasn't able to find anything. 

 

Screen Shot 2018-09-12 at 3.39.44 PM.png

Share this post


Link to post
Share on other sites

You don't need to touch the php! Just use flex to make it into a side by side layout.

 

To further customise individually, use .forum.noX where X is replaced with the forum's id number. You know the ID number by hovering over a link to the forum. The last number is the id. So for example

 

This forum

https://kit.wootflakes.com/mybb/forumdisplay.php?fid=2

Would be individually styled as

.forum.no2 {
  /* your stuff here */
}

To get what you want, Threshold name and The Gardens flex-basis will need to be:

 

.forum.noX,
.forum.noX {
  flex-basis: 100%;
}

Hope that helps you!

  • Fuck Yeah! 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.



×

Important Information

By using this site, you agree to our Terms of Use, Guidelines and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.