Site logo

[Resolved] GP breaking the design of Documents BSF plugin

Home Forums Support [Resolved] GP breaking the design of Documents BSF plugin

Home Forums Support GP breaking the design of Documents BSF plugin

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #1920924
    Adrien

    Hi,

    GP breaking the design of Documents BSF plugin (https://wordpress.org/plugins/bsf-docs/)

    Please see the bug here:
    > https://www.awesomescreenshot.com/image/13038467?key=9ee1b7cb125e7a23cc56392b0b5ae9fd

    Please see below how this should look:
    > https://www.awesomescreenshot.com/image/13038532?key=fc72030a6411d6451ba9cf2f0d69f06e

    I have done a complete debug. There are no plugin conflicts, cache is disabled, there are no issues with elements or css.

    Thank you very much for your help. Kind regards, Adrien

    #1920930
    Ying
    Staff
    Customer Support

    Hi Adrien,

    Try add this CSS:

    div#content {
        flex-wrap: wrap;
    }
    div#bsf-live-search {
        width: 100%;
    }

    Let me know if this helps 🙂

    #1921043
    Adrien

    Thank you very much! This solved my issue. Appreciate your help.

    #1923248
    Ying
    Staff
    Customer Support

    No problem 🙂

    #2575224
    Adrien

    Hello, I’m reopening this ticket because the code above does not work anymore.

    When Im trying to use BSF plugin for documentation everything is upside down. I had the same issue with another KB plugin.

    Could you help? I have enclosed my page URL. Thanks a lot for your help.

    PS: The search bar should be horizontal.

    #2575233
    Adrien

    Here are two screenshots.

    Default 2023 WP theme:
    https://pasteboard.co/3aiuuXoJLbQt.jpg

    GeneratePress:
    https://pasteboard.co/tzROk97nz8ys.jpg

    #2575250
    Adrien
    #2575393
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    body[class*="docs"] #content {
        flex-wrap: wrap;
    }
    
    body[class*="docs"] #content > div {
        width: 100%;
    }
    #2575461
    Adrien

    Hello David! You’re code is a great improvement thank you.
    However, as you can see now and on the enclosed screenshot, this right side bar can be removed with a layout element and on mobile the right side column is pushing all screen to the right side with a big gap.

    https://pasteboard.co/FCs3OFuUEQ8G.jpg

    Thanks for your help.

    #2575484
    David
    Staff
    Customer Support

    That wrapper they add around the content is a pain.
    Try adding this CSS to fix that :

    .docs-wraper {
        display: flex;
        flex-wrap: wrap;
    }
    #2575524
    Adrien

    It didn’t work. It looks like the Element layout >> sidebar/content (Left sidebar) does not show.
    Instead, it’s replaced with the right sidebar and its widgets.
    I’ve already debugged but couldn’t find any conflict anywhere and my debug.log is empty. Im on PHP 7.4.

    #2575532
    Adrien

    Add-on: David if you see the search bar container with grey background, it’s supposed to be full width. Maybe it’s related to the issue with the sidebar.

    Solved.

    #2575549
    David
    Staff
    Customer Support

    So is it ALL good ?

    #2575571
    Adrien

    Not at all 😉
    Looks, it’s what im trying to explain:

    https://pasteboard.co/6iYRXrTJMSwl.jpg

    My layout element is set to >> sidebar/content.

    Here my left sidebar don’t show at all and is replaced by the right sidebar with its respective widgets.

    I’m sorry for the headache.

    #2575788
    David
    Staff
    Customer Support

    No problems 🙂
    What is the display rules you have for your Layout Element ?

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