valeriestw Posted February 27, 2003 Share Posted February 27, 2003 I'm hoping somebody here can help me get this worked out. I've installed the Category Tabs menu v1.3 by Borkur Ingi Jonsson (based on previous contribution by Paul Marshall). The stylesheet has an area to set the colors for the "On tab" to be different from the other tabs. This is working for me as far as the background of the tab, but not for the text. Instead, it is inheriting the A. class formatting. I have looked through the categories_tab.php file but it appears to be correctly setup. I can't figure it out. Here's the relevant code: // display category name $categories_string .= $foo[$counter]['name']; $categories_string .= '</a></td>'; if ($onpage) { $categories_string .= '<td valign="top" class="ontab">'; } else { $categories_string .= '<td valign="top" class="tab">'; } $categories_string .= tep_image(DIR_WS_IMAGES . 'trans_corner_right.gif', ''); $categories_string .= '</td>'; if ($foo[$counter]['next_id']) { $onpage = 0; show_category_tabs($foo[$counter]['next_id']); } } As far as I can tell, it is saying for the onpage tab to use the ontab format for printing the label. But it isn't. The only time I can get a color change for that label to show up is when I change the A. format. Any suggestions? Any help would be greatly appeciated! Quote www.knownworldweb.com Link to comment Share on other sites More sharing options...
Guest Posted February 27, 2003 Share Posted February 27, 2003 There is no tag in the stylesheet for A.ontab or A.ontab:hover add these and that should work I also noticed text-decoration : none; you might want to change these to (remove the space) text-decoration: none; Quote Link to comment Share on other sites More sharing options...
valeriestw Posted February 27, 2003 Author Share Posted February 27, 2003 Tom, you are my hero!! That fixed it. Thanks a bunch! Valerie Quote www.knownworldweb.com Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.