Hey guys,
This is more of a feedback / feature request than a question.
Usually, I’m using SVG’s rather than images in my navigation bars to display the website logo by adding the SVG code into a “Content Area” element. This works, but since the code has to be placed into that element, some custom CSS is required to ensure correct rendering of the SVG (especially in Firefox).
It took me a long time, but eventually I figured out that adding the following code to the “Content Area” with the SVG code provides the best results in the browsers I tested:
$el {
width: 100%;
height: 100%;
}
$el svg {
display: block;
}
Without this code, the SVG is not always rendered correctly.
So, as I said, this works fine. However, it is not required for the SVG inline code to be nested within the “Content Area” element. If we were able to add the SVG code directly inside the parent container, the results would be more compatible and everything would be easier.
What’s missing is a “SVG Inline Code” or “RAW HTML Code” element that doesn’t wrap an extra div around the content.