Jaje Posted May 28, 2013 Share Posted May 28, 2013 (edited) Hi guys! I use prestashop v.1.5.4 with the default top horizontal menu. I have 4 buttons on it and I would like to have different background collor on 1st and 3rd button. I'm css beginner, I know how to create class but don't know where to assign it to 1st and 3rd button. Any idea how do I do that? Edited May 29, 2013 by Jaje (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 28, 2013 Share Posted May 28, 2013 you use default prestashop template? Link to comment Share on other sites More sharing options...
Jaje Posted May 28, 2013 Author Share Posted May 28, 2013 Yeah default template! Link to comment Share on other sites More sharing options...
NemoPS Posted May 29, 2013 Share Posted May 29, 2013 Only first and third? If it was for even buttons you could have tried li:nth-child(even) {background: #CCC} 1 Link to comment Share on other sites More sharing options...
Jaje Posted May 29, 2013 Author Share Posted May 29, 2013 Thank you Nemo very, very much! 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