Can classes or IDs be added to the elements (blocks) of the web? To identify and add css properties to unique elements.
Can classes or IDs be added to the elements (blocks) of the web? To identify and add css properties to unique elements.
Hi,
Yes, in Odoo, just like in any other web development framework, you can add classes or IDs to elements (blocks) to identify and apply CSS properties to them. Odoo follows standard web development practices, so you can manipulate HTML templates and CSS files to achieve this.
Example :
<template id="custom_template" name="Custom Template">
<div class="custom-class" id="unique-id">
<!-- Your content here -->
</div>
</template>
Hope it helps
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
1
sep. 24
|
5880 | |||
|
1
juli 24
|
4630 | |||
|
1
juli 24
|
4262 | |||
|
1
dec. 22
|
5008 | |||
|
0
maj 22
|
3842 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.