Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Modular page, markup different places in the output

Started by Håkon Leinan 9 years ago · 0 replies · 583 views
9 years ago

Hey

I have a problem using modular pages that I can´t get my head around:

I have a one page site. This is created using a modular setup.

To make it even more complex, I have nested modular pages:

  • Level1 (main)
    • Level2 (gallery header)
      • Level 3 (gallery image)

The problem is that in level 3, I have a modal popup, But this modal window gets wrapped inside the "level 2" block.

How can I make something like this:

  • Level1 (main)
    • Level modal for all images is Level 3
    • Level2 (gallery header)
      • Level 3 (gallery image)

Hope that this question is understandable. I find this hard to explain...

Håkon

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 5 days ago
0 91 5 days ago
General · by lynbor, 4 weeks ago
3 426 2 weeks ago
General · by lynbor, 3 weeks ago
7 546 2 weeks ago
General · by Harry, 2 weeks ago
0 152 2 weeks ago
General · by Old Man Umby, 1 month ago
2 300 3 weeks ago