_manny_ Posted April 26, 2014 Posted April 26, 2014 I’m amazed that no straightforward solution exists to customise the current page active link. In Bedford, using the 'Nav Link (Active)' property changes link colour of the current page and also all other links on mouse hover. A specific property for 'Nav Link (Current Page)' is required. My code doesn’t work, so any ideas you may have will be much appreciated: #headerNav nav .active-link { color: #d14836 !important; } This method works in the Dovetail template, but it has no effect in Bedford: #topNav ul li.active-folder a { color: #d14836 !important; }
Guest Posted April 26, 2014 Posted April 26, 2014 maybe try this: #headerNav nav a:active { color: #d14836 !important; }
_manny_ Posted April 26, 2014 Author Posted April 26, 2014 Thanks so posting but this unfortunately this method does not work. Any other solutions will be much appreciated.
_manny_ Posted July 4, 2014 Author Posted July 4, 2014 Finally found the answer to my question by examining the 'base.less' file in the Styles folder in Developer mode. Place this code in your Custom CSS and you will be able to change the color of your active page link to whatever you desire: #headerNav nav, #sidecarNav nav { .active{ > a, > a:visited, > label{ color: #ffffff; } } }
Guest Posted July 22, 2015 Posted July 22, 2015 This one worked on my Bedford site: #headerNav nav .active a:visited, #sidecarNav nav .active a:visited{ color:red !important; }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.