-
AuthorPosts
-
October 31, 2023 at 6:30 pm #1424267
Hi Mike,
What’s the best way to handle maintaining a left menu on some pages (not using the native left menu though).?
I’m currently using a widget to do this but I’m wondering if it’s possible to use the Grid Row element in such a way that it will allow me to have a 1/3 + 2/3 Grid Row (so I can put my menu in the 1/3 first section, then I can stack 1/1 and 1/2 elements in the second 2/3 side to give me ways of controlling the height of that 2/3 right section better). I can kind of do this now but the problem I have is the left and right sides of the Grid Row element do not line up with the Colour Elements or Breadcrumbs already on the pages…
What left right padding do I need to put into Grid Rows to make them line up correctly with the other elements?
Or is there a better way to do what I’m describing above?
It doesn’t;t really work using Colour Sections and varying width columns because the left (widget) menu is of a fixed height and if my one or two other columns at the right of it aren’t of the same height then my next row of columns have a big gap between them at the right side…
Looking forward to hearing from you…
James.
November 3, 2023 at 5:14 pm #1424562Hey jamesbarrell,
Thank you for your patience and the link to your test pages, as I understand your intention I believe the 1/3 + 2/3 Grid Row is the best approach. The grid row element is a full width element so this is why the page margin/padding is ignored, I recommend adding a custom class to the grid row element that you plan to use in this way for all of your pages and then add some custom css to add the margin/padding to the grid row to match your page layout.
Please give this a try and let us know f=if you need further assistance.Best regards,
MikeNovember 3, 2023 at 5:22 pm #1424567This reply has been marked as private.November 3, 2023 at 5:48 pm #1424578Hi,
The color section is another full width element, it’s width is set by the layout, in your case:.responsive .container { max-width: 90%; margin: 0 auto; padding: 0px 50px; }
so something like this for your grid row may help:
#av-layout-grid-1 { max-width: 90%; margin: 0 auto; padding: 0px 50px; }
I recommend changing the ID to a custom class, and adding a media query to it so it is not used for mobile devices, and since the gri row already has some left & right padding you may need to reduce the padding in the css a little to suit.
Give this a try.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.