Jump to content
  • Sign Up

5.x - Subforums on column type display


Recommended Posts

This tutorial is to change the default display of the subforums from rowlist into column list. Greetings to Split for releasing it.

Add the following code into the custom.css and replace "x" with the number of columns you want to be displayed.

.ipsSubList li {
	float: left;
	width: calc(100% / X - 5px);
}

@media screen and (max-width: 979px) {
	.ipsSubList li {
		width: calc(100% / X - 5px);
	}
}

.ipsSubList a {
    width: max-content;
}

Simple example for 3 columns style.

.ipsSubList li {
	float: left;
	width: calc(100% / 3 - 5px);
}

@media screen and (max-width: 979px) {
	.ipsSubList li {
		width: calc(100% / 3 - 5px);
	}
}

.ipsSubList a {
    width: max-content;
}

 

W2VOcW5.png

Link to comment
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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...