Changing number of columns in members #276
-
Checks
Link to your website repohttps://github.com/KwonVitalLab/KwonVitalLab.github.io Version of Lab Website Template you are using1.1.0 DescriptionCurrently, the default number of columns on members layout is 4. How can we change this to 5 or other number of columns? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The members page isn't really columns, it's just regular text wrapping, like in a word document. You can observe this on smaller screen sizes, depending on the number of members: Notice that there aren't strict "columns", because the third member is in the center of the other two. The member circles have a set size, and we simply try to fit as many on one line as we can before wrapping (and center-aligning) them. It is important to understand this. Not everyone will have the same screen size as you, and the layout of your site has to change to accommodate that. Having said that, you can get what you're after in a few different ways:
|
Beta Was this translation helpful? Give feedback.
The members page isn't really columns, it's just regular text wrapping, like in a word document. You can observe this on smaller screen sizes, depending on the number of members:
Notice that there aren't strict "columns", because the third member is in the center of the other two. The member circles have a set size, and we simply try to fit as many on one line as we can before wrapping (and center-aligning) them. It is important to understand this. Not everyone will have the same screen size as you, and the layout of your site has to change to accommodate that.
Having said that, you can get what you're after in a few different ways:
$page
variable in/_styles/se…