Hi,
I was wondering if it’s possible to rearrange the categories listing above the custom section in the sidebar. If so, could someone assist me with this?
Thank you in advance!
Hi,
I was wondering if it’s possible to rearrange the categories listing above the custom section in the sidebar. If so, could someone assist me with this?
Thank you in advance!
There’s not a setting for this, but it can be done by adding CSS to admin/customize/themes
.sidebar-wrapper {
.sidebar-custom-sections {
display: contents;
}
[data-section-name="community"] {
order: -3;
}
[data-section-name="categories"] {
order: -2;
}
[data-section-name="custom-section-title-here"] {
order: -1;
}
}
You can change the order of any navigation sidebar menu sections with my Navigation Menu Display Control theme component.
Hi @awesomerobot Thank you for your reply. Its a great css the one you have provided, however I want categories should come after First section which includes Topics, My Posts, Review, Admin & More…
I hope you understand.
Ah, sorry I misunderstood… I revised my answer to reflect this above.
@awesomerobot Excellent CSS. It’s perfectly working. Thank you so much…
This is only work for desktop what about mobile?