I create a link with \nameref:
\section*{\Huge {\color{DarkRed}This is a headline}}
\label{sec:headline}
When I reference to this section with
\nameref{sec:headline}
The link is displayed the same size (Huge) and color (Dark Red) as the section title.
The hyperref setup is:
\usepackage[colorlinks=true,linkcolor=black]{hyperref}
How can I avoid that link color and size are taken from the section setup. I want to keep them independent from one another.
EDIT: Minimal working example:
\documentclass{article}
\usepackage[colorlinks=true,linkcolor=black]{hyperref}
\begin{document}
\nameref{sec:headline}
\newpage
\section*{\Huge {\color{red}This is a headline}}
\label{sec:headline}
\end{document}
\documentclass{...}and ending with\end{document}. – Marco Daniel Feb 23 at 14:47\section! – Marco Daniel Feb 23 at 14:48