Is it possible to create custom shapes? I need to add a few custom shapes onto the hero image. I will post a pic of what the shapes look like so you have an idea of what I am trying to do. The 2 orange shapes I would like to figure out how to create.
You can insert custom code either globally in the site dashboard (all pages) or per page in the page’s settings.
You would only need to use custom code for shapes using css attributes not yet supported in the designer. Things like pseudo classes :before and :after.
Everything else you can use the designer interface.
In the example, they are using the elements ID to target it with the desired CSS. Webflow uses class names instead of IDs.
This targets an elements ID #parallelogram { In Webflow and CSS generally classes are commonly used for the same effect .parallelogram {
So you would design normally, giving elements class names in order to create your design. If you need more CSS that isn’t yet covered by the designer you would use the custom code area to add to the CSS by targeting the class name that you gave the element.
If you take the 6 point star example in the article. You would create a div and give it a class name “star-six”.
You would then re-create all of the settings given in the example under that name.
You will notice that the example also needs the pseudo class :after to work. This isn’t supported in the designer. You will need to use the custom code area.
Copy and past this code into the custom code area. All custom CSS goes between the same style tag.