Skip to content

Instantly share code, notes, and snippets.

@leanderlindahl
Created September 8, 2015 09:44
Show Gist options
  • Save leanderlindahl/dac0788c99cf568df1f2 to your computer and use it in GitHub Desktop.
Save leanderlindahl/dac0788c99cf568df1f2 to your computer and use it in GitHub Desktop.
/**
* Hide <select> and submit-button
*/
#views-exposed-form-filter-articles-page-1 .form-type-select {
display: none;
}
#views-exposed-form-filter-articles-page-1 .form-submit {
display: none;
}
/**
* Pure styling, should probably be put in your theme stylesheet
* instead of in this module
*/
.pop-list {
display: block;
text-align: left;
margin: 0 auto;
padding: 0;
}
.pop-list li {
margin: 25px 5px 25px 0;
float: none;
display: inline-block;
margin: 25px 5px 25px 0;
font-size: 16px;
text-transform: uppercase;
}
.pop-list li a {
background-color: #CCC;
height: 40px;
border-radius: 40px;
padding: 10px 16px 9px;
color: #FFF;
line-height: 23px;
text-decoration: none;
border-bottom: none;
}
.pop-list li a.active {
background-color: #0071b3;
}
.view-filter-articles .views-row{
float: left;
padding: 15px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment