Support » Plugin: Stock Ticker » Insert new line in Span

  • Resolved ashrafkotb


    How to insert a new line using Span? I’m trying to use a template as:

    <span style=”display:inline-block; width:20%”>Symbol: %symbol%</span>
    <span style=”display:inline-block; width:30%”>%company%</span>
    <span style=”display:inline-block; width:5%”>$%price%</span>
    <span style=”display:inline-block; margin-left:20px”>%change%</span>
    <span style=”margin-left:20px”>%changep%</span>

    But I need every span to be on a separate line.


Viewing 1 replies (of 1 total)
  • Hi @ashrafkotb

    I suppose you resolved this by setting display: block instead of inline-block, right?

    Btw, consider setting a custom CSS instead of injecting inline CSS to each ticker item. You can target nested span selector like .stock-ticker-wrapper .stock-ticker-container .stockticker .sqitem span {display: block}

    Kind regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Insert new line in Span’ is closed to new replies.