Whenever I attempt to change the hyperlink styling for the content, it appears to also change links on the navbar at the top of the page. I have been able to manage the content styling with the following, but struggling with the embedded hyperlinks that are part of the content.
because the page (Blog vs. Rest of site) styles are different I have to use a different hyperlink colors inside the article content.
I have tried .single-post .a:hover, for example and even tried applying a class to the content but at a loss so far.
How do I apply hyperlink styling, but only to content without impacting rest of page and nav bar?
.single-post p {
font-family: “Roboto”,“Work Sans”,sans-serif;
font-size: 18px;
line-height: 1.625;
font-weight: 300;
color: black;
overflow-x: hidden;
}
/* Single Blog Posts */
.single-post h3 {
font-weight: 300;
color: #003366;
}
/* A link that has not been visited /
el$:link {
color: blue;
text-decoration: underline;
}
/ A link that has been visited */
$el:visited {
color: blue;
text-decoration: underline;
background-color: yellow;
}