Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Flexform
  • #69516
    George
    Member
    Post count: 235

    Hi Guys,

    Instead of an [hr] tag or any divider line tags, how can i create a vertical line of a particular length?

    Is there styling I can add to any general settings?

    Any help is much appreciated.

    WP 3.9

    George

    #69538
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You can use given below code to create line . I hope that will help you .

    <div style="width:100%;height:2px;border:1px solid #eee;clear:both;"></div>

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #69547
    George
    Member
    Post count: 235

    Hi Mohammed,

    Thank you for the code.

    It unfortunately turned out as a horizontal line.

    #69573
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You can change the [hr] to vertical by adding this to your custom css:

    .horizontal-break {
      height: 45px;
      width: 4px;
    }

    – Kyle

    #69574
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    you can try this one .
    <div style="width:2px;height:100%;border:1px solid #eee;clear:both;"></div>
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #70233
    George
    Member
    Post count: 235

    Hi Guys,

    Thank you for your replies.

    Mohammed, your code didn’t work unfortunately, it came back as a small horizontal dash.

    Kyle, I would like to also use the [hr] code with its standard function, can you give me any code that i could add to my custom css for a new one. e.g. [vr] .vertical-break?

    Many thanks.

    #70300
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You would not be able to use [vr] because that is not set up as a shortcode, you would need to use the text editor and add

    <div class="vertical-break"> </div>

    and add this custom css:

    .vertical-break {
      height: 45px;
      margin: 20px auto 25px;
      width: 4px;
    }

    – Kyle

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register