Cannot change font size for hyperlinked text in footnote

Minimal.odt (577.4 KB)
Hello forum,

I am having difficulty changing the font size for hyperlinked text in a footnote. I’ve attached a minimal. I want all the in footnotes, including hyperlinks, to be 10 pt Arial. However, the leading text “[77 ER 1342]” appears to be 12 pt, even if I keep trying to change it.

In the Sidebar select the Styles pane and within that select Character Styles.

  • Right click on Internet link and select Edit Style.
  • Select the Font Effects tab and make a note of the colour, 000080
  • Select the Font tab and click Reset to Parent. OK. Don’t worry that it shows Calibri as the Font, it makes that settings tab transparent so it will take it setting from None, that is, from the paragraph style
  • The colour will have gone from the link so Edit Style again and set the colour to 000080

BTW a minimal page doesn’t include 0.5 MB of embedded fonts.

2 Likes

@EarnestAl’s recipe won’t work because you didn’t describe accurately what your “minimal” document contains.


Text “77 ER 1342” is not associated with a hyperlink. Its font size is taller than the note and colour is different. Both attributes have been applied manually. So, customising or resetting Internet Link will have no effect (direct formatting has precedence over styles).

In addition, your document (I assume it was created by deleting all text from the original) has been edited at some stage by M$ Word and or saved as DOCX. Conversion to/from this format has brought its load of “pollution” in character and list styles, probably also in Heading n paragraph styles which are now derived from normal instead of Default Paragraph Style. And normal is completely detached from style hierarchy.

Your first task is to restore a consistent styling in your text, eliminating direct formatting , but this may prove difficult due to the DOCX damages (in particular DOCX has no character styles). The second task is to revert to usual style hierarchy.

Shouldn’t work.
There is something very odd going on in this file, there may be more surprises. I would be inclined to paste as unformatted text into a new, clean document and rebuild the styles

I managed to reproduce it

  1. Open a new document and type “Something” at the top. Click Insert > Footnote and endnote > Footnote
  2. Put some text in the footnote, “There is something very odd going on in this file”. Select the first half of the sentence and Insert > Hyperlink
  3. Direct format the footnote to Arial
  4. Go to Internet Link character style and edit the Font style to Arial 13. OK
  5. Go to Default Paragraph Style and change the font to Arial
  6. Select the hyperlink and the space after and set the font size to 10
  7. Select just the hyperlink and try to change the size by direct formatting

I am not sure if all steps are necessary but it is getting late. BTW For the record, I set Times New Roman as Default font in Tools > Options > LibreOffice Writer > Basic fonts (Western) and Default language for document to English NZ
SomethingOdd127611EA.odt (10.4 KB)

1 Like

I don’t completely grasp the meaning of this step. Did you fail to change the font size with DF? It works here (LO 25.2.6.2, Fedora 42).


Going back to minimal.odt, I realise I was wrong about hyperlink: there is one indeed (though perhaps not configured correctly). When I get rid of direct formatting in the note, changing Internet Link works as expected, notably removing the forced character size.

All in all, this file is not as odd as I first thought. Anyway, DOCX “pollution” has to be addressed.

1 Like

Hmm, perhaps it is a bug then.

I embedded the font because I was not sure if it could be a typeface issue.

My instructions as an example/template
Minimal_deleted direct formattings without fonts with pics_021754.odt (347.3 KB)

Thanks everyone for your help. I’ll keep experimenting, but it seems like changing “Internet Link” style’s font size is not a temporary workaround. While it could fix the font size in a footnote, it also fixes it at 10 pt everywhere else in the document that’s not in a footnote where I’d like normal 12 pt.