Archived topic
Customizing hyperlinks
9 replies · Started by Harshit on November 25, 2018
How can I add underline to hyperlinked text and make them bold as well? Will prefer CSS code.
Also, when scrolling to the bottom of any post, my floating social share button covers the footer. Would appreciate a solution for that as well.
Hi there,
Are you referring to the links in the article? Any chance you can guide me to one so I can nail down the CSS right away?
As for the floating social icons, what is the expected behaviour? Have you checked with the plugin support to see how it is supposed to work?
Oh yes, links in the article.
Ok, for the social plugin, I think that it's a glitch in plugin after the update as I have it installed as non-floating on my other site but a few other sites which have it floating are exhibiting the same behavior. So, that's issue of plugin.
Try this CSS for the link style:
body:not(.blog):not(.archive) .inside-article a {
font-weight: bold;
text-decoration: underline;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know :)
That Works but it bolds and adds underline to titles as well for articles on the homepage.
Try this instead: https://generatepress.com/forums/topic/customizing-hyperlinks/#post-738881
Let me know :)
Still same.
Give it another shot: https://generatepress.com/forums/topic/customizing-hyperlinks/#post-738881
It should work now :)
That Worked.. Thanks a lot!!
No problem :)