Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
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

rpa468x64.jpg.2437571bbace1df78339f7a59db520e3.jpg 

Roleplay Architects: Grab a friend (or many friends!) and just write.

You can also find me at:

Realm of Roleplays  static-historicalrp.jpg

 

Share this post


Link to post
Share on other sites

Sorry for the SUPER delayed reply, but thank you!! This is AMAZING. I've got some catchup to do with new(ish) CSS things it seems 🙂 

  • You're Welcome 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.



×
×
  • Create New...

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.