abzgraphics Posted June 13, 2015 Share Posted June 13, 2015 HI , AM TRYING TO EDIT A FEW THINGS ON MY WEBSITE & AM A LITTLE STUCK AT THE MOMENT . IS IT POSSIBLE IF SOMEONE CAN HELP . I HAVE A NAVIATION BAR ON MY WEBSITE , WHICH CONTAINS A BUTTON CALLED "MEGA SALE" , MY MAIN AIM IS TO HIGHLIGHT THE BUTTON RED SO IT STANDS OUT FROM THE REST OF THE BUTTONS . HOW CAN I GO AHEAD AND ACHIVE THIS ? YOUR HELP WILL BE MUCH APPRECIATED ! website : http://bit.ly/1B9XBsH THANK YOU REGARDS Link to comment Share on other sites More sharing options...
Paulito Posted June 13, 2015 Share Posted June 13, 2015 (edited) Hello You could add this code to the bottom of global.css #header .sf-menu > li:nth-child(8) {background-color: #c20000!important;} Result http://screencast.com/t/6m0mJc5cwHmu The (8) is the eighth menu item - their is a better way of approaching this where you can always keep the last menu item as a different colour but I caan't remember it at the moment. Paul PS. It is really a good idea Not to capitalize your posts, it looks like your shouting Edited June 13, 2015 by Paulito (see edit history) Link to comment Share on other sites More sharing options...
Paulito Posted June 14, 2015 Share Posted June 14, 2015 Hello again, Just remembered, you can use this code to always keep the last tab in your nav bar a certain colour: .sf-menu > li:last-child {background-color: #c20000!important;} Paul 1 Link to comment Share on other sites More sharing options...
abzgraphics Posted June 14, 2015 Author Share Posted June 14, 2015 Hello again, Just remembered, you can use this code to always keep the last tab in your nav bar a certain colour: .sf-menu > li:last-child {background-color: #c20000!important;} Paul HI , Thanks for your help , ive implemented this & managed to get the red background working . the only issue is that the text is grey & it does not stand out with the red back ground . is there a way i can make it white ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now