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
CMS
  • Distinc Assum commented
    28 Mar 06:39am

    When you try to use CMS then you you initially not even use the best help on the CMS item so that you will cover the detail. Add your own value in edubirdie review during the use of the project and get your desired result every time.

  • Sturm Bernhard commented
    4 Jul, 2019 06:44am

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

  • Brad Poirier commented
    31 Jul, 2018 06:43pm

    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.

  • and 2 more