I’ve got a CSS question related to this which I hope is simple for you answer.
I’ve added the ‘Bookmarks’ link to the topnav and have styled it differently to stand out from ‘latest’, ‘top’ etc. However, I’m having trouble specifying the style of this link when the link is active. I.e. when the user has clicked the bookmark link. What CSS would I use to specify ‘current page’?
The code I have used so far for styling is:
a[href="/bookmarks"] {
background: #ebebeb !important;
color: #000 !important;
border-radius: 0px;
border-bottom: 0px solid !important;
}
/* mouse over link */
a[href="/bookmarks"]:hover {
background: #B9B9B9 !important;
color: #fff !important;
border-radius: 0px;
border-bottom: 0px solid !important;
}
Many thanks.