Archived topic
Order of the elements in the right sidebar
5 replies · Started by Alberto on July 2, 2019
Hi good day.
I have 3 modules in the right sidebar: the vertical secondary menu of generate press, the modules "search" and the module "cart" of Woocommerce.
The problem I have is that I need to place the whole "search" module on top, then the "cart" module and finally the secondary menu, but now I will not be able to order it.
I can order the module "cart" and the module "search" but it does not allow me to place the secondary menu below everything as I wish.
Thank you in advance.
Hi there,
Any chance you can link us to your site?
Let me know :)
Tom.
It is disabled to the public. I can send you a screenshot to explain the problem.

Give this CSS a shot:
.inside-right-sidebar {
display: flex;
flex-direction: column;
}
.inside-right-sidebar .widget {
order: -1;
}
.inside-right-sidebar .secondary-navigation {
margin-top: 30px;
}
Tom.
Thank you! It worked perfectly!
Regards!
You're welcome :)