scatterheart Posted November 23, 2008 Share Posted November 23, 2008 Hi! Im trying to change the hover-effect in the menu (that makes the links go bold when activated), but somehow this do not seem possible to do in the stylesheet.css file. Does anyone know which file that controls the hover and how to remove/change it? Also, is there an easy way to change the tree-like structure of the menu? I would like it to be just plain and simple. Thanks in advance! Link to comment Share on other sites More sharing options...
ABCommerce! Posted November 23, 2008 Share Posted November 23, 2008 In the stylesheet you have: A:hover { color: #AABBDD; text-decoration: underline; } Which is not the same as A:active { } Which you can add to the page. To make it bold add; font-weight: bold; Link to comment Share on other sites More sharing options...
scatterheart Posted November 23, 2008 Author Share Posted November 23, 2008 In the stylesheet you have: A:hover { color: #AABBDD; text-decoration: underline; } Which is not the same as A:active { } Which you can add to the page. To make it bold add; font-weight: bold; Hi! Thanks for your answer, but thats not really what I meant. The links in my menu (the box with categories) is going bold when I click on them, and this I would like to remove. I cannot find any code in the stylesheet that controls these links. The rest of the links in my shop works fine and is not bold when clicked on. Link to comment Share on other sites More sharing options...
Guest Posted November 23, 2008 Share Posted November 23, 2008 Hi! Thanks for your answer, but thats not really what I meant. The links in my menu (the box with categories) is goingbold when I click on them, and this I would like to remove. I cannot find any code in the stylesheet that controls these links. The rest of the links in my shop works fine and is not bold when clicked on. Are you using a template? I can't think of any other reason why your link effects would not defined the stylesheet. Take a look in includes/header.php (that's just a shot in the dark). Link to comment Share on other sites More sharing options...
ABCommerce! Posted November 23, 2008 Share Posted November 23, 2008 In catalog/includes/boxes/categories.php you will see the <b> and </b> there $categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">'; if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '<b>'; } // display category name $categories_string .= $tree[$counter]['name']; if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '</b>'; } if (tep_has_category_subcategories($counter)) { $categories_string .= '->'; } $categories_string .= '</a>'; Just remove the bold part $categories_string .= '<b>'; to $categories_string .= ''; Make a backup first in case it doesn't do the trick for you. Link to comment Share on other sites More sharing options...
scatterheart Posted November 23, 2008 Author Share Posted November 23, 2008 In catalog/includes/boxes/categories.php you will see the <b> and </b> there $categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">'; if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '<b>'; } // display category name $categories_string .= $tree[$counter]['name']; if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '</b>'; } if (tep_has_category_subcategories($counter)) { $categories_string .= '->'; } $categories_string .= '</a>'; Just remove the bold part $categories_string .= '<b>'; to $categories_string .= ''; Make a backup first in case it doesn't do the trick for you. Thank you so much! It did do the trick=) Does anyone know how to change the tree-like structure? I would like to sort the categories under different headlines, like "Accessories" as category and all headlines in that category viewable without having to click on it first. Like this: Clothes Dresses Blouses Trousers Accessories Hats Jewelllery Bags Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.