Steffen Posted February 22, 2011 Share Posted February 22, 2011 Hello allI use blocktopmenu that have blue hover buttons with white text. When it is "active", text changes back to my default #333 color, but still on blue background. I want the text to be white on the blue background when the page is active.I've been trying all sorts of solutions for 2 hours in the Superfish CSS, but no luck at all. Also been searching the forums, but found only a German and a Frenchman with the same problem - no apparent solution in those two topics.Please help - grey on blue is not visible Pictures attached for reference: Link to comment Share on other sites More sharing options...
assib Posted August 4, 2011 Share Posted August 4, 2011 Hi, I'm having the same problem but got no answer to my post. Did you find the solution ? If yes, I'll be happy to know it Thanks Assaf Alink to my post :http://www.prestashop.com/forums/topic/121673-matrice-top-menu-selected-category-color/page__p__596843__fromsearch__1?do=findComment&comment=596843 My web site : http://http://www.tupperware92.fr/ Link to comment Share on other sites More sharing options...
empressia Posted February 6, 2012 Share Posted February 6, 2012 Hi, i have solution. go to file: blocktopmenu.php and to line 352 change : case'CMS': $selected = ($page_name == 'cms' && (Tools::getValue('id_cms') == $id)) ? ' class="sfHover"' : ''; to this: case'CMS': if(Tools::getValue('id_cms') == $id) { $selected =' class="sfHover" ' ; } else { $selected=''; } // $selected = ($page_name == 'cms' && (Tools::getValue('id_cms') == $id)) ? ' class="sfHover"' : ''; Now, you can change sfHover class in css file. Link to comment Share on other sites More sharing options...
Pyssou Posted May 14, 2013 Share Posted May 14, 2013 Hi, Thank you for your tuto about the cms page, what about the link page or the product page. I'm in the blocktopmenu.php till 2 days but i don't find how. Thank you 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