Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Modular page, markup different places in the output

Started by Håkon Leinan 8 years ago · 0 replies · 441 views
8 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 Jerry Hunt, 4 days ago
2 99 16 hours ago
General · by pamtbaau, 21 hours ago
1 63 21 hours ago
General · by Andy Miller, 1 day ago
0 48 1 day ago
General · by Marcel, 12 months ago
6 357 5 days ago
General · by Duc , 6 days ago
3 45 6 days ago