Hello
I want to create a full width layout as it is shown in the attached image
small left part for menu and the right part for content
I tried to make a block with column small left but still it does not give the required result
Thanks in advance
To create a full-width layout with a small left part for the menu and a larger right part for the content in OutSystems.
Create a new Block or Screen:
Use a Container for the Layout:
Add Columns for the Menu and Content:
Step 1: Create the Layout Structure
Add a Container:
Add Columns Inside the Container:
Step 2: Style the Columns
Example CSS
.container-full-width {
display: flex;
width: 100%;
height: 100vh; /* Full height of the viewport */
}
.menu-column {
width: 20%; /* Adjust this value as needed */
background-color: #f4f4f4; /* Optional: background color for the menu */
.content-column {
width: 80%; /* Remaining width */
padding: 20px; /* Optional: padding for content */
Step 3: Apply Classes to Containers
Parent Container:
Left Column (Menu):
Right Column (Content):
Step 4: Add Content
Add Menu Content:
Add Main Content:
With all due respect, this looks like an answer from ChatGPT though.
Hi Sultan Alnaabi, If your requirement is getting fulfilled using existing layout/block, then please go for custom using css/java script.
Regards
Shashi Kant Shukla
Hi Sultan Alnaabi ,
This was a demo link for your reference: Click here
Step 1: Copy the side menu layout and paste it into the layout. Then rename it.
Step 2: Open the "copysidemenu laytop" and delete the unnecessary container.
like as
Step 3: Remove padding for the MainContentWrapper container.
"Step 4: Change the main screen LayoutTopMenu to the copysidemenu layout.
Refer the OML.
Hello @Sultan Alnaabi
I understand your requirements, so I will share with you some examples with oml and screenshots that may help you.
First,
I have to create a new layout as a block in the OutSystems interface, block name will be LayoutSidemenuwithContent, which you have to check in my OML share with you. i have to use Adaptive\ColumnsSmallLeft.
Second,
I have to use LayoutSideMenu for best user interface that is already in your layouts Please check and use that