With the Odoo website builder, how can I create a table like the one below? I don't care about the exact formatting. I'm just looking for the basic ability to create a table.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
Creating a table like the one shown in your image using the Odoo Website Builder is straightforward. Here's how you can do it:
1. Using the Website Builder's Table Tool
-
Go to Website Editor:
- Navigate to Website > Website Builder in Odoo.
- Open the page where you want to add the table or create a new one.
-
Insert a Table:
- While in edit mode, locate the HTML Editor block.
- Click Add Block and choose an HTML block.
-
Edit the HTML Block:
- Enter the following basic HTML for a table:
<table border="1" style="border-collapse: collapse; width: 100%; text-align: center;"> <thead> <tr> <th>Measurement</th> <th>Small</th> <th>Medium</th> <th>Large</th> </tr> </thead> <tbody> <tr> <td>Approx. Inseam and Height</td> <td>26.0"-29.0" <br> 5'0"-5'6"</td> <td>29.0"-32.0" <br> 5'6"-5'10"</td> <td>32.0"-35.0" <br> 5'10"-6'3"</td> </tr> <tr> <td>(A) Reach</td> <td>15.74" (400mm)</td> <td>16.14" (410mm)</td> <td>16.33" (415mm)</td> </tr> <tr> <td>(B) Stack</td> <td>23.62" (600mm)</td> <td>23.62" (600mm)</td> <td>25.19" (640mm)</td> </tr> <tr> <td>(C) Min Seat Height (from ground)</td> <td>30.5"</td> <td>32.5"</td> <td>34.5"</td> </tr> <tr> <td>(D) Max Seat Height (from ground)</td> <td>36.5"</td> <td>40.5"</td> <td>42.5"</td> </tr> <tr> <td>(E) Stepover Height (from ground)</td> <td>22.5"</td> <td>23.5"</td> <td>24.5"</td> </tr> </tbody> </table>
-
Save and Preview:
- Save your changes.
- Preview the table on your website to ensure it looks as intended.
2. Using Table Blocks (If Available)
If your version of Odoo has a drag-and-drop Table Block:
- Add a Table Block from the block library.
- Use the visual editor to fill in your data row by row.
- Adjust formatting using the toolbar for alignment and styling.
3. Style the Table
For better aesthetics, you can add inline CSS or custom CSS in your website's theme. For example:
<style> table { border-collapse: collapse; width: 100%; text-align: center; font-family: Arial, sans-serif; } th, td { border: 1px solid #ddd; padding: 8px; } th { background-color: #f4f4f4; } tr:nth-child(even) { background-color: #f9f9f9; } tr:hover { background-color: #f1f1f1; } </style>
4. Export and Import
If you’re familiar with Excel or Google Sheets:
- Create the table in your spreadsheet tool.
- Copy the table and paste it directly into the HTML block.
- Most spreadsheet tools will generate compatible HTML for tables.
This approach will allow you to replicate the table with ease. Let me know if you need help refining the design or adding advanced features!
Is there any solution to this as of today? :) doesn't work with / for blog/page.
I believe you would only need to enter the forward-slash character "/" and then start typing the word "table". The option to insert the table appears in a list.
When you click on that you will see a small tool pop-up that allows you to select how many rows and columns you want the table to have. Drag the cursor to select and then click.
I would include an image but cant seem to work out how to do that here.
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire