Home › Forums › Support › Exact size of sidebar with flexbox This topic has 2 replies, 2 voices, and was last updated 3 years, 6 months ago by Elvin. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts October 21, 2020 at 2:04 pm #1498977 Diogenes Hi. In the previous version of generatepress I had made my right sidebar exactly 390px with this CSS: @media (min-width: 1025px) { .sidebar.grid-30 { width: 390px; } .right-sidebar .content-area.grid-70 { width: calc(100% - 390px); } } With flexbox what would be the CSS? Thanks in advance. October 21, 2020 at 2:25 pm #1498990 Diogenes I got the solution, I’ll leave it here in case someone is interested: @media (min-width: 1025px) { .is-right-sidebar { width: 390px; } .site-content .content-area { width: calc(100% - 390px); } } Greetings. October 21, 2020 at 2:38 pm #1498996 ElvinStaff Customer Support Thank you for sharing this. Have a great day. 🙂 Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In