[Resolved] Can pseudo section be created?

Home Forums Support [Resolved] Can pseudo section be created?

Home Forums Support Can pseudo section be created?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2063280
    Patricia

    I have a client who does not want to use blocks. She is adamant about that. So I am using the Classic Editor plugin. Before you removed Sections, it would have been simple to create a section in the middle of the content with a background that was full width and text maintaining the container width. Is there a way to create an area that previously could have been a section using CSS?

    GP 3.1.0
    Premium 2.1.1

    #2063321
    Leo
    Staff
    Customer Support

    Hi there,

    You would need to set the content container to full width:
    https://docs.generatepress.com/article/content-container/#full-width

    Then use custom HTML like:

    <div class="full-width-section">
        text here
    </div>

    and CSS;

    .full-width-section {
        background-color: #000;
    }

    Or you can try Tom’s solution here:
    https://generatepress.com/forums/topic/previous-latest-gpp-version-1-12-3/#post-1754467

    Hope this helps ๐Ÿ™‚

    #2064226
    Patricia

    I tried Tom’s solution and it worked perfectly!

    #2064240
    Leo
    Staff
    Customer Support

    Glad to hear ๐Ÿ™‚

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