Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Modular page, markup different places in the output

Started by Håkon Leinan 9 years ago · 0 replies · 664 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 themetman, 24 hours ago
2 40 17 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago