Support » Plugin: Live Stream Badger » CSS coding

  • Resolved Pazia

    (@pazia)


    Hello Tadas Krivickas,

    First of all, thanks for the plugin.

    I’ve tested the plugin out for some minutes, so apologize with my question sounds dumb 🙂

    Is it possible to customize the plugin setup in anyway to display viewers in a table etc.? I noticed that BarCraft Sweden (StarCraft II) used it, but there’s just a number, and I’d kinda like it to be like this…

    Stream – Status – Viewers
    me online 4

    Is that possible? Thanks in advance!

    http://wordpress.org/extend/plugins/live-stream-badger/

Viewing 1 replies (of 1 total)
  • Plugin Author Tadas Krivickas

    (@tkrivickas)

    Hi,
    Thanks for the feedback.
    In general, almost anything is possible. For example, I was able to use pseudo elements :before and :after to add text ‘Online’ and ‘0’ to Online/Offline streams:

    .lsb-status-widget-indicator.lsb-on:before {
        content: "Online";
        float: left;
    }
    .lsb-status-widget-indicator.lsb-on {
        text-align: right;
    }
    .lsb-status-widget-indicator {
        width: 30%;
    }
    .lsb-status-widget-indicator.lsb-off:before {
        content: "0";
        float: right;
    }

    However I suggest you proceed with an easier approach, e.g. just adding green/red status images for each list item.

    I think it is not going to change within plugin, because it does not make sense to have both status and viewership count. ‘Offline’ implies there are 0 viewers as well as any number implies that the stream is Online.

Viewing 1 replies (of 1 total)
  • The topic ‘CSS coding’ is closed to new replies.