expand / collapse doesn't work on heading if it's set later

Copper Contributor

I am sorry if the subject is hard to understand I'll try to explain it as well as I can.  So when I am using H1 I will refer to the (Heading 1) style, H2 for the (Heading 2), and normal for (normal style). Assume we are creating a new .docx file, in the start I choose H1 I type my Heading, and then I press enter. Now there are two sides to this problem, the first side can happen if I choose H2 and start typing (for example "Way 1 [finding a nice spot]" ), the expand collapse option is there but selecting a part of the text and changing its style will change that this text is part of the H2 (for example selecting and changing the style of "[finding a nice spot]"). Now the first side of the problem is if (after typing the title with H1 and pressing enter) I choose to write something with normal style (let's go again with the above example) now after typing "Way 1 [finding a nice spot]" after selecting the text "Way 1" I change it to H2 but the expand / collapse option is not there and the arrow on the left doesn't appear.

 

In the screenshot attached you can see that while the text is set as heading 2 it doesn't show the expand / collapse option on right-click

2 Replies

Hey @kalazzz ,

 

I was able to replicate your experience and I think the cause is just that you have two different styles on the same line. This seems to confuse word so it doesn't show the expand/collapse arrow for H2 since you also have a normal style on the same line.

 

The easiest solution would be to have H2 on its own line and your normal style text below, but it doesn't sound like that's what you want.

 

I found a solution that sounds closer to what you want and that was to just choose H2 for that whole row of text, then manually change the text you want to have a normal appearance by highlighting it and changing it to a more normal appearance. In my example, H2 is Calibri light headings, size 13 & blue font so I changed the "normal" text to Calibri body, size 12 and black font. This allowed me to keep the dropdown arrow and collapse the section as expected.

 

The only problem I can see with this solution is if you auto-generate a table of contents, the normal text will show along with the H2 text as shown in my example below, but this may not be a problem for you. You can manually edit the table of contents, but you will need to do that every time you update it. The solution for that would be to not edit it until your document is complete.

 

Collapsed example with table of contents:

sally365_0-1607020170297.png

 

Expanded:

sally365_1-1607020233157.png

I hope this helps!

 

 

@sally365 

Hello, thanks a lot for your help. Unfortunately, I already tried that before posting here and the problem is that I am doing everything for the table of contents. So no that doesn't solve my problem. The closer solution is actually changing the table of contents manually but that's something I am trying to avoid, I prefer having it on the above line from changing the table every time. 

 

Soooo I guess there is no solution to my problem?

 

edit:
Also, this way if I am not wrong when I expand-collapse it, it won't collapse everything (only the things under the first line or paragraph because they have a different style) because the first line is also set as heading 2.