This is intriguing, I can't reproduce it.
Are you using pdfLaTeX as compiler?
If you keep this problem a suggest you to use Overleaf overleaf.com/latex/templates/ufgte...
Check this, I'm using it directly in Overleaf and it is working nicely:
\setLayout{horizontal}
\begin{frame}
\frametitle{Sample frame title}
This is a text in second frame. For the sake of showing an example.
\begin{itemize}
\item<1-> \textbf{Text }visible on slide 1
\item<2-> Text visible on slide 2
\begin{itemize}
\item text sub\textbf{item}
\end{itemize}
\end{itemize}
\end{frame}
I'm compiling it with XeLaTeX on my ubuntu-based system, Pop!_OS, because it is required I use the Times New Roman font. I will certainly test it out on Overleaf.
This is intriguing, I can't reproduce it.
Are you using pdfLaTeX as compiler?
If you keep this problem a suggest you to use Overleaf overleaf.com/latex/templates/ufgte...
Check this, I'm using it directly in Overleaf and it is working nicely:
I'm compiling it with XeLaTeX on my ubuntu-based system, Pop!_OS, because it is required I use the Times New Roman font. I will certainly test it out on Overleaf.
Ah, ok.
Using pdfLatex, try to use \usepackage{newtxtext,newtxmath} below \usetheme in tex file
To change the font of titles, comment line 11 in sty file
result: