• Hey thanks for the great plugin. I was wonder how i would place an icon within a divider as shown here:

    http://semantic-ui.com/elements/divider.html

    I have tried the following shortcode:

    [ss_divider title=”” style=”ui divider” class=”tag icon”]

    as the “tag” icon is considered an extra class as shown in the code of the page:

    <h4 class=”ui horizontal divider header”>
    <i class=”tag icon”></i>
    Description
    </h4>

    But for some reason that is not working for me. How could I achieve that please? Thanks

    https://wordpress.org/plugins/semantic-shortcode/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Al S

    (@scoc)

    Sorry I should have mentioned that I am trying to have a divider with an icon in the center but WITHOUT text. Just divider and icon. Thanks

    Plugin Author sachin8600

    (@sachin8600)

    Just replace text with &nbsp; below is eg:

    <h4 class="ui horizontal divider header">&nbsp;<i class="tag icon"></i>&nbsp;</h4>
    Thread Starter Al S

    (@scoc)

    Excellent, thanks so much 🙂

    I had to play around with it a little to center the icon exactly. For Divi I place it in a “code” module and then played with the spaces. But this is what I ended up with:

    <h4 class=”ui horizontal divider header”>   <i class=”tag icon”></i> </h4>

    In this case it centered the icon exactly. But for other builders (Ultimate Addons for Visual Composer it was slightly different)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Icon within divider’ is closed to new replies.