[Support request] generate_after_primary_content_area not really working on Flexbox

Home Forums Support [Support request] generate_after_primary_content_area not really working on Flexbox

Home Forums Support generate_after_primary_content_area not really working on Flexbox

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1566370
    Fabien

    Hi,

    The generate_after_primary_content_area hook is not really working since moving to Flexbox. Indeed the hook display the content in a column (next to the main area) instead of below…

    #1566412
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can use the private information field.

    Let me know 🙂

    #1566857
    Fabien

    Hi Leo,

    Unfortunately, I am working in a local env. However, you can just try with a new/balnk install. I just did a test and the problem is still here :

    https://share.getcloudapp.com/6qux5QX4

    #1566921
    Fabien

    The same story goes for generate_inside_container due to flexbox

    #1567577
    David
    Staff
    Customer Support

    Hi there,

    you will need to hook your content within a DIV ( if it doesn’t output one ).
    Then use some CSS, first to make the flexbox wrap and then give your hook element a width like so:

    @media(min-width: 769px) {
        .site-content {
            flex-wrap: wrap;
        }
        .my-hook-element {
            flex: 1 0 100%;
        }
    }
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.