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

Modular page, markup different places in the output

Started by Håkon Leinan 9 years ago · 0 replies · 521 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 jean-louis67, 3 weeks ago
2 308 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 311 3 weeks ago
General · by Veehem, 4 weeks ago
0 263 4 weeks ago
General · by milkboy, 4 weeks ago
0 265 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago