Lilly
May 3, 2024, 2:58pm
22
jrgong:
As inbox link we are using /my/messages
. Since it’s rewritten to /u//messages, the link is not highlighted when the user visits the page. Is there any way to enable that?
2.is there way to adjust the position of the menu in the sidebar relative to the core entries? We would like to place the section all the way at the bottom.
None of the links in the sidebar are highlighted when visited by default, that I know of. only when mouse-over or clicked. But that sort of visual formatting is theme dependent. Can be achieved with some mouse-effects CSS I think. I think perhaps:
.sidebar-section-link-wrapper .sidebar-section-link.active {
color: $current_link_font_color;
background: $current_link_background_color;
}
where $current_link_font_color
and $current_link_background_color
are color palette variables or hardcoded to whatever you want.
This is the method to use for this:
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;
}
}