-
AuthorPosts
-
October 29, 2024 at 7:30 pm #1470149
What is the easiest way to showcase a bento box layout on page landing. Example: one larger image on the left and two images on the right and 100% full height?
I want to replicate this https://bentogrids.com/
October 29, 2024 at 9:30 pm #1470161Hey blizzmarketing,
You could try using the Grid Row element for a layout like that.
Best regards,
RikardOctober 29, 2024 at 9:37 pm #1470166The Grid layout doesn’t work bc I want the image on the left to be 100% height and then the two image on the right to be on top of each other.
October 30, 2024 at 8:40 am #1470210Hi,
Thank you for the update.
You may need to manually create the html and css for this layout. You can add this html in a Code Block element for example:
<div class="av-bento-container"> <div class="av-bento-box av-bento-left-box">Left Box (100%)</div> <div class="av-bento-right-container"> <div class="av-bento-box av-bento-top-box">Top Box</div> <div class="av-bento-box av-bento-bottom-box">Bottom Box</div> </div> </div>Then insert this css code:
.av-bento-container { display: flex; height: 100vh; } .av-bento-container .av-bento-left-box { flex: 1; background-color: #4CAF50; color: white; padding: 20px; text-align: center; } .av-bento-container .av-bento-right-container { display: flex; flex-direction: column; width: 300px; } .av-bento-container .av-bento-top-box { flex: 1; background-color: #2196F3; color: white; padding: 20px; text-align: center; } av-bento-container .av-bento-bottom-box { flex: 1; background-color: #f44336; color: white; padding: 20px; text-align: center; }Best regards,
IsmaelOctober 30, 2024 at 4:29 pm #1470258Thank you for your response Ismael! I am all set here. Feel free to close this ticket. :)
October 30, 2024 at 9:08 pm #1470278Hi,
Thanks for the update. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘Bento Box Layout’ is closed to new replies.
