# Dropdown Menu Stuck Open on Blog Post Pages After CMS 2.0 Update

**URL:** <https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-blog-post-pages-after-cms-2-0-update/56362>\
**Category:** Elements\
**Created:** [May 27, 2026, 5:04pm UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-blog-post-pages-after-cms-2-0-update/56362 "2026-05-27T17:04:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pegasus](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pegasus/32/25035_2.png) [@Pegasus](https://forums.realmacsoftware.com/u/Pegasus)\
**Post date:** [May 27, 2026, 5:04pm UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-blog-post-pages-after-cms-2-0-update/56362/1 "2026-05-27T17:04:30Z")

</div>

I’m currently testing something on one of my test blogs.

While doing that, I noticed the following issue:

I’m using the **Dropdown component** in my header menu with several links inside it.

Now I’ve discovered that only on my individual blog post pages, the dropdown menu is already open when the page loads, and I also can’t close it anymore by clicking.

Examples:

- [Keto, Vegan & Co: Was steckt hinter den verschiedenen Ernährungsweisen](https://www.nurkochen.de/kochblog/keto-vegan-und-co-was-steckt-hinter-den-ernaehrungsformen/)
- [Kochen Leichtgemacht - Hauptsache es schmeckt!](https://www.nurkochen.de/kochblog/kochen-leicht-gemacht/)

It should actually behave like this:

- [Kochblog](https://www.nurkochen.de/kochblog/)

Before switching to CMS 2.0, everything worked without any problems. Other than the CMS update, I haven’t changed anything else.

@dan @ben  
Any idea what could be causing this?

PS: Uploaded to Support

 ![Bildschirmfoto 2026-05-27 um 19.05.06](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/2/7/273ead5a6e81d5d73f5a6e624238f8218b9fbd02.jpeg)

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [May 27, 2026, 10:13pm UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-blog-post-pages-after-cms-2-0-update/56362/2 "2026-05-27T22:13:43Z")

</div>

It appears the required javascript isn’t loading, I’m wondering if it has something to do with the way you have things setup in the blog 🤔

For example it’s looking for js files, but can’t find them. See the safari console error report below:

 ![CleanShot 2026-05-27 at 11 .04.45@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/1/a/1a1ed674bd2995bbfa380d13dc0433cd634d06a6.png)

Ah-ha! After further investigation, I think it’s broken because you’re added a base href to the blog page 🥴

 ![CleanShot 2026-05-27 at 11 .11.02@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/7/3/732e6eb8a730c390570759d21db88d80e72b3de8.jpeg)

To fix the issue, stop doing this 😛

---

<div class="post-metadata">

**Author:** ![Pegasus](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pegasus/32/25035_2.png) [@Pegasus](https://forums.realmacsoftware.com/u/Pegasus)\
**Post date:** [May 27, 2026, 10:35pm UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-blog-post-pages-after-cms-2-0-update/56362/3 "2026-05-27T22:35:26Z")

</div>

OK, but where would then be the best place for `<base href="/blog/">`?

If I want to use pretty URLs, I need to use that, right!?

If not there, then where is the correct place for it? Because without it, my layout completely breaks and becomes unusable…

> **[Pretty URL's | CMS | RapidWeaver Elements Docs](https://docs.realmacsoftware.com/elements-docs/cms/cms/pretty-urls)**
>
> Turn ?item=slug query strings into clean, readable URLs.

---

<div class="post-metadata">

**Author:** ![differentdan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/differentdan/32/33530_2.png) [@differentdan](https://forums.realmacsoftware.com/u/differentdan)\
**Post date:** [May 28, 2026, 12:34am UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-blog-post-pages-after-cms-2-0-update/56362/4 "2026-05-28T00:34:01Z")

</div>

Hey @Pegasus

If I move your base tag up in the head section like so:

 ![move-base-tag](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/b/c/bcbab59a0e37522743a57731146714622dd0bdf3.jpeg)

 ![base-tag-before-scripts](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/f/8/f8e7a0e4b6670da058a6df2c36aaefe2af719ef6.png)

Then your menu works on those pages, like so:

---

<div class="post-metadata">

**Author:** ![Pegasus](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pegasus/32/25035_2.png) [@Pegasus](https://forums.realmacsoftware.com/u/Pegasus)\
**Post date:** [May 28, 2026, 7:52am UTC](https://forums.realmacsoftware.com/t/dropdown-menu-stuck-open-on-blog-post-pages-after-cms-2-0-update/56362/5 "2026-05-28T07:52:25Z")

</div>

works!

Thank you very much!

In fact, during the first days of ECMS 2.0, I originally had the `<base href="/blog/">` tag exactly in that place.

I can’t fully remember anymore what the issue was, but it caused some kind of problem on the websites, which is why I later moved it into the “headers” area instead.

Most likely, one of the bug fixes from the past few days resolved that issue, and now everything works correctly again.

In any case, thank you very much — it’s really a great feature that is slowly but surely turning the entire Elements app into a true WordPress alternative. Keep pushing until the summer break 🙂
