[Support request] Add a div in the mobile menu

Home Forums Support [Support request] Add a div in the mobile menu

Home Forums Support Add a div in the mobile menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #452261
    META

    Hi! Can you tell me how to add (with a hook) a div in the mobile menu (inside so the div use the sticky option)? You have an example here: Example
    I try to add the div in the after header content, but nothing show.
    Thanks

    Alexandre

    #452314
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You should be able to use this hook: https://docs.generatepress.com/article/generate_inside_mobile_header/

    #452375
    META

    I i used this hook but the div go on top?
    Can you help out with the css need to have this configurartion?

    #452397
    Leo
    Staff
    Customer Support

    Hi there,

    I’m not seeing any content added in that hook?

    You will likely need that div to float right like:

    .div-name {
        float: right;
    }
    #452404
    META

    I used a fixed position with content after header with a z-index.
    Thanks anyway

    #452532
    Leo
    Staff
    Customer Support

    Just to make sure you’ve solved this problem?

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