[Resolved] Adjust gutenberg separator line

Home Forums Support [Resolved] Adjust gutenberg separator line

Home Forums Support Adjust gutenberg separator line

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1119308
    Chris

    In the wordpress editor, the separator line isn’t full width, which is what I want: http://prntscr.com/qi9g6a.

    But when I preview it, it shows a full width line: http://prntscr.com/qi9giw

    I came across this article and it seems the length of the line is determined by the theme. Would you know how to change the length?

    #1119385
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the page in question where the line can be seen?

    You can edit the original topic and use the private URL field.

    Let me know ๐Ÿ™‚

    #1119397
    Chris

    Done ๐Ÿ™‚

    #1119403
    Leo
    Staff
    Customer Support

    This is what I’m seeing which is normal?
    https://www.screencast.com/t/Fk5UBUOOvp5O

    #1119921
    Chris

    Right, that’s a full-width line.

    I’d like a 1/4th line, like this: http://prntscr.com/qii5oj

    #1119986
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    .wp-block-separator {
        width: 25%;
    }
    #1120037
    Chris

    Is there a way to have both options: full-width & 25%?

    #1120067
    David
    Staff
    Customer Support

    You can use this CSS instead:

    .wp-block-separator:not(.is-style-wide) {
        width: 25%;
    }

    Then the default separator will be 25% but the Wide Line option will be 100%

    #1120106
    Chris

    That worked! Thanks a ton, David!!

    #1120705
    David
    Staff
    Customer Support

    You’re welcome

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.