[Resolved] Wrappers are displaying incorrectly.

Home Forums Support [Resolved] Wrappers are displaying incorrectly.

Home Forums Support Wrappers are displaying incorrectly.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2073194
    Jakub

    Hi, I tried several themes (for testing) and my GP is only one from many themes, where wrappers are not displaying correctly.

    Instead display blocks side by side, they are one block under the second block with scrolling.

    Can you help me please? I tryied change everything in GP setting and nothing help.

    Page: https://studijni-svet.cz/kurzy/seznam/

    Thank you very much

    #2073472
    David
    Staff
    Customer Support

    Hi there,

    how should the layout look? Can you share a screenshot of that ?

    #2073501
    Jakub

    Hi David,

    it is GP-no sidebars template

    There is GP: https://studijni-svet.cz/kurzy/wp-content/uploads/2022/01/gp.png

    Random another theme: https://studijni-svet.cz/kurzy/wp-content/uploads/2022/01/gp2.png

    I thougt it is because of small body width, but problem is elsewhere.

    Web link: https://studijni-svet.cz/kurzy/seznam/

    Jakub

    #2073654
    Ying
    Staff
    Customer Support

    Hi Jakub,

    It is because the paddings added to the div made the total width of the 2 div more than 100%.

    As you can see, if we disable the paddings, the layout would be normal:
    https://www.screencast.com/t/ovgA6KeWj

    1. Add this CSS to remove the paddings:

    .site-content .tutor-course-filter-wrapper>div {
        padding: 0;
    }

    2. The filter wrapper’s max width is set to 1140px which I think is too narrow. It’s better to increase both the wrapper max width and the container width at customizer > layout > container.

    #2073699
    Jakub

    Hi Ying,

    thank you for the reply, however it is not caused by plugin code, it is somewhere in the GP theme. Because all the elements are cropped. The same problem is when I publish 250px banner in the 260 px sidebar, it is scrolled or cropped.

    I tried 5 themes and only GP is not working.

    You can see:

    https://studijni-svet.cz/kurzy/wp-content/uploads/2022/01/gp3.png

    Thank you,

    Jakub

    #2073719
    Ying
    Staff
    Customer Support

    Can you activate another theme so I can compare both theme codes๏ผŸ

    Let me know ๐Ÿ™‚

    #2073732
    Jakub

    Twenty Twenty theme activated ๐Ÿ™‚

    #2073824
    Ying
    Staff
    Customer Support

    You can now activate GP, remove the CSS I provided before, then add this CSS:

    .tutor-course-filter-wrapper, .tutor-course-filter-wrapper * {
        box-sizing: border-box;
    }

    Let me know if this helps ๐Ÿ™‚

    #2073832
    Jakub

    Yes, it worked! thank you so much Ying, you are the best ๐Ÿ™‚ Have a nice day

    #2073836
    Ying
    Staff
    Customer Support

    Great!

    You are welcome ๐Ÿ™‚

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