How To Edit Code In Webflow
Here is how to display and edit code in Webflow:
- Open the Add Elements menu from the left sidebar menu.
- Search for the Code Block element or scroll down to find it.
- Drag and drop this element to where you wish to add it in your project.
- Upon dropping, a Code Block Editor window will open.
- Enter the code you wish to display.
- When done, click on Save & Close.
- You now have a code block inserted in your project.
- When selected, click on the small gear icon next to its name to view additional settings.
- This menu allows you to modify code, select language for styling, pick a theme etc.
- The language options from the menu allows you to pick from a very comprehensive list of languages for styling and readability.
- To control other settings of this element such as alignment, classes, properties, click on Show All Settings which will simply take you to the right sidebar menu.
- Make any changes you wish and you're done!
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it