The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Noob question: Grid layouts Reply To: Noob question: Grid layouts


If I get what I think you are asking the answer is, I think, NO.

Fixed position elements always take their positioning points in relation to the viewport. They are also out of the flow for elements around them so they would be unaffected by the CSS Grid layout.

That said, I’m not entirely clear on what it is you are trying to achieve. There’s no reason you can’t have your fixed sidebar and the have the rest of the page be grid layout. If you need to allocate space for the sidebar you can do that as a ‘blank’ column in your grid….I think.