Site logo

[Support request] Navigation as header merge with first row query loop

Home Forums Support [Support request] Navigation as header merge with first row query loop

Home Forums Support Navigation as header merge with first row query loop

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2420945
    Shuhui

    Hi there,

    I’m building a website where all pages have merged content to the navigation. I managed to make it work everywhere EXCEPT on the “news” page where the first row is a generateblock query loop to show the latest post as a highlight banner. On that page, the navigation merge with well but the row isn’t full width unlike other pages. So the background image is contained and therefore the navigation menu doesn’t appear complete. I’m guessing there is some kind of parameters of the query loop block that prevent it to make a full width banner, but I’m not sure what to change here. I would appreciate your insight on this.

    Hope you can help me out!

    Cheers

    #2420964
    Fernando
    Customer Support

    Hi Clemence,

    Can you try placing this Query Loop inside a GB Container Block, and set this Container to full width through the toolbar? Example: https://share.getcloudapp.com/BluRjW09

    #2421032
    Shuhui

    Hi Fernando, just did, no change. I also set the inner container of the container to full width but it doesn’t help.

    #2421045
    Fernando
    Customer Support

    I see. Try giving the Grid Block under the Query Loop Block a class of cu-new-query through the Advanced section in its Block settings. Then, add this CSS through Appearance > Customize > Additional CSS:

    .gb-grid-wrapper.cu-new-query > .gb-query-loop-item {
        width: 100%;
    }

    Let us know how it goes.

    #2421064
    Shuhui

    Yayy works!

    Thanks a lot 🙂

    Should I remove the Container Block that I added or it should be left as is?

    #2421394
    David
    Staff
    Customer Support

    Hi there,

    keep the Container Block 🙂

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