[Resolved] WP Separator Block Only Showing Full Width Line

Home Forums Support WP Separator Block Only Showing Full Width Line

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1291898
    Galen

    Hi Guys,

    When I use the WP separator block to create a dividing line, and when I use the default line, which is supposed to be a short centered line, after I build the page and view it live it creates a full width line. I assume this has something to do with how GP controls separator lines?

    What I would like is a centered line, at about 40% width, 2 pixels high, with this color #193491, as the default WP separator block line.

    Thanks
    (P.S. rebuilding site in a production location so URL of website is not accessible)

    #1292216
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    hr.wp-block-separator {
        max-width: 40%;
        height: 2px;
        background-color: #193491;
    }
    #1292291
    Galen

    That works the trick. Thanks.

    #1292672
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.