SVG in Sections : Non Rectangular Sections

I am trying to create non rectangular sections using muffin builder ( similar to elements builder )
Is there a way of creating non rectangular  look & feel using muffin builder?

Ideally it the right place to create the non rectacgular look will be in the section, similar to the decorative svg,
however I have no idea where to enter custom html code that can include svg into the section area. 

The approached I took for test is to created a full column in a wrapper and used a visual editor item.
The visual editor item should take raw html code under the text tab, however any SVG code in the visual editor gets removed
apon saving the block. 

So I am stuck.
zak

Comments

  • Hello,
    You can insert any HTML code into the Column item of the Muffin Builder.
    With the Muffin Builder you can only change the width size from 1/1 to 1/6, you cannot change it to other shape than rectangular.
    Of course, you can attach some border-radius into it to make it circle or elipse ;)
    thanks
  • edited July 2020

    so something like this  using svg

    https://css-tricks.com/creating-non-rectangular-headers/

    or 

    this

    with code like

    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">
      <path fill="#0099ff" fill-opacity="1" d="M0,256L48,229.3C96,203,192,149,288,154.7C384,160,480,224,576,218.7C672,213,768,139,864,128C960,117,1056,171,1152,197.3C1248,224,1344,224,1392,224L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path>
    </svg>


    Column Item works!

    https://ibb.co/txJVHW8

     however now my challenge is to get it across the entire full width of the screen. Not just bound to the box.

    Ideally I would like to use the section area where I will have a background image for that whole section 
    and using the svg to create a fancy divider for my secitons 




  • You can do that using the "Decoration Top" and "Decoration Bottom" background image in the section options, see the screen:

    thanks
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.