Hi Enfold Team,
how can i change the design of the portfolio sorting options above the masonry? I would like to design them as buttons via CSS.
Also i would need to get rid of the / between the sorting options.
Thank you
Phil
Morning,
There are a couple of pieces of css that you’ll need to use and tweak as to your liking
/* create each none active item as a button */
#js_sort_items a {
background-color: #FFFFFF;
padding: 12px 16px 10px;
border: 1px #00aa67 solid;
}
/* create each active item as a highlighted button */
#js_sort_items .active_sort {
background-color: #00aa67;
color: #ffffff!important;
padding: 12px 16px 10px;
text-decoration: none;
}
/* add some space between the new button */
#js_sort_items a {
margin-right: 10px!important;
}
/* remove the seperator */
.text-sep {
display: none!important;
}
/* optional centre the buttons */
.avia-fullwidth-portfolio #js_sort_items {
text-align: center;
}
TJ
Thank you for that solution, TJ!
I had to change #js_sort_items to .av-sort-by-term to make it work, but now it works like a charm.
Thank you again!
Ah good stuff :)
Each element builder handles the sort function differently so the classes and ids for masonry / portfolio etc are not the same.
Glad you sorted (get it?) it out
TJ
Hi Phil,
Glad that it’s all good. Thanks for using Enfold :)
@tjswarbs78: Thanks for helping out :)
Best regards,
Nikko