Skip to content

Instantly share code, notes, and snippets.

@yuriinalivaiko
Created October 6, 2022 17:58
Show Gist options
  • Select an option

  • Save yuriinalivaiko/7f72548c06545bda55d8e5d9ab241f6b to your computer and use it in GitHub Desktop.

Select an option

Save yuriinalivaiko/7f72548c06545bda55d8e5d9ab241f6b to your computer and use it in GitHub Desktop.
This CSS code snippet changes the grid layout of the member directory in the Ultimate Member plugin to 4 columns. This snippet influences only large screens where the member directory is wider than 960px.
/* member directory grid with 4 columns */
.um-directory:not(.uimob340):not(.uimob500):not(.uimob800):not(.uimob960) .um-members-wrapper .um-members.um-members-grid .um-member {
width: 21%;
}
@yuriinalivaiko

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment