CMS items to spans

There's no way currently to insert values from the CMS mid-sentence (even on a <span>), which is something we often need to do. I get around it either by:

a) hacking together a few different text blocks
b) adding a class to a <span> and doing it with JS

  • Bell Curve
  • Nov 14 2017
  • Brad Poirier commented
    July 31, 2018 18:43

    Arrr, bumping this :)

    I find the need to do this very often. What I end up doing is:

    1) Creating a Div wrapper

    2) Setting the text block to display: inline

    3) Then stacking them next to each other with a slight margin-right of around 3-5px.

    This is practical for instance if I want to say:


    View more KITCHEN projects

    - Where KITCHEN would be the intended <span> item that is binded to the reference category... all wrapped up in one H3 tag or some other text... instead of the current process.


    Hopefully that makes sense.

  • Sturm Bernhard commented
    04 Jul 06:44

    Yes, definitely needed... Webflow is so good in creating semantic HTML, but on this particular issue it fails hurtfully.