Forum Discussion
expand / collapse doesn't work on heading if it's set later
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:
Expanded:
I hope this helps!
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.