zerryxu Posted December 27, 2013 Share Posted December 27, 2013 I add a picture here: I hope to change the color of background, and words color, thank you! Link to comment Share on other sites More sharing options...
tuk66 Posted December 27, 2013 Share Posted December 27, 2013 Go to the /modules/blocktopmenu/css folder and search for .sf-menu class. Link to comment Share on other sites More sharing options...
vekia Posted December 27, 2013 Share Posted December 27, 2013 to change main background of first item (menu bar) you have to modify background param in: .sf-menu { margin: 10px 0; padding: 0; width: 980px; background: #ffa07a; } it's a /modules/blocktopmenu/css/superfish-modified.css file to cange background of sub-items: you have to modify background param in: .sf-menu li li { background: rgba(113, 113, 113, 0.9); } and .sf-menu li li li { background: rgba(113, 113, 113, 0.9); } (the same file) Link to comment Share on other sites More sharing options...
zerryxu Posted December 27, 2013 Author Share Posted December 27, 2013 how to change the word color to black then? Link to comment Share on other sites More sharing options...
zerryxu Posted December 27, 2013 Author Share Posted December 27, 2013 by the way I don't understand this: rgba(113, 113, 113, 0.9); how to change then? Link to comment Share on other sites More sharing options...
NemoPS Posted December 27, 2013 Share Posted December 27, 2013 Black would be rgba(0,0,0,1). The values are red, green, blue. opacity (alpha) If you want, you can also use the hex, which is #000000 for black, like background: #000000 Link to comment Share on other sites More sharing options...
zerryxu Posted December 27, 2013 Author Share Posted December 27, 2013 then where to change the word color, which is more I want to know, thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted December 27, 2013 Share Posted December 27, 2013 Using the rule vekia suggested, you can try .sf-menu li a { color: white } Link to comment Share on other sites More sharing options...
zerryxu Posted December 27, 2013 Author Share Posted December 27, 2013 I hope the word become black, it doesn't work Link to comment Share on other sites More sharing options...
NemoPS Posted December 27, 2013 Share Posted December 27, 2013 of course, this makes them white, just change white to black Link to comment Share on other sites More sharing options...
zerryxu Posted December 27, 2013 Author Share Posted December 27, 2013 I can't find the place Link to comment Share on other sites More sharing options...
zerryxu Posted December 27, 2013 Author Share Posted December 27, 2013 Using the rule vekia suggested, you can try .sf-menu li a { color: white } I can't find this place, I only find sf-menu a { display: block; position: relative; color:#fff; text-shadow:0 1px 0 #333; I change the color to #000000, but it doesn't work Link to comment Share on other sites More sharing options...
vekia Posted December 27, 2013 Share Posted December 27, 2013 modules/blocktopmenu/css/superfish-modified.css line 82 .sf-menu a, .sf-menu a:visited { color: #fff; white-space: nowrap; } Link to comment Share on other sites More sharing options...
zerryxu Posted December 27, 2013 Author Share Posted December 27, 2013 it works thank you very much! Link to comment Share on other sites More sharing options...
vekia Posted December 27, 2013 Share Posted December 27, 2013 you're welcome i marked whole topic as solved. with regards, milos Link to comment Share on other sites More sharing options...
Recommended Posts