• Resolved fatmonk

    (@fatmonk)


    It works awesome, thanks for devving it!

    One question, I tried to put the chat beside the stream for the twitch shortcodes,

    my theme has a custom css section and I entered

    #div.dobdev-twitch-container {float: left; }
    #div.dobdev-twitch-chat-container {float: right}

    but it doesn’t seem to work, do I have to edit in the main stylesheet to have them side by side?

    I am not sure what part to edit.

    https://www.ads-software.com/plugins/dobsondev-shortcodes/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author DobsonDev

    (@dobsondev)

    Hi Cedric,

    Use the following and I think it should work better:

    #div.dobdev-twitch-container {float: left; width: 70%; }
    #div.dobdev-twitch-chat-container {float: right; width: 30%; }

    The padding-right: 5px; is optional but it adds a little small space between the main video and the chat which I think looks a little better then them touching.

    I think I’ll most likely implement this feature right into the plugin in a future content update, possibly tomorrow or later this week. I think this is a feature a lot of people will want so it’s probably a good thing to have.

    Thanks for using my plugin!

    Plugin Author DobsonDev

    (@dobsondev)

    EDIT: the code should be

    div.dobdev-twitch-container {float: left; width:70%; padding-right: 5px; }
    div.dobdev-twitch-chat-container {float: right; width: 30%; }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Love this plugin!’ is closed to new replies.