huntwolfe Posted January 7, 2010 Share Posted January 7, 2010 I have been fairly successful at customizing everything I feel is needing attention until now. I want to get the selected subcategory to be highlighted in a different color so that users will see more readily the category that they are presently in. As an example; Category 1 Category 2 Category 3 Subcategory 1 Subcategory 2(this is the category that you are currently in) Subcategory 3 Category 4 Category 5 I did find the portion of code within the "catalog/included/boxes/categories.php" that shows the command to make the subcategory BOLD, and, to me, this would be a logical place to overide the .boxText class, and select a new class for that particular portion, then set back to normal, but I don't know how. Is this making sense? Let me know what you think. Thanks Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted January 7, 2010 Share Posted January 7, 2010 Have you tried changing that <B> tag to a <font color=red> tag? I don't know if it will override the style or not.. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
huntwolfe Posted January 7, 2010 Author Share Posted January 7, 2010 Thank you for the reply and idea. I have tried adding a span style, and it created a T_STRING error. I used the following code, <span style='color:"red"'> , but I did not substitute the bold tag, I simply added it afterward. Let me know your ideas. Thank you. Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted January 7, 2010 Share Posted January 7, 2010 Thank you for the reply and idea. I have tried adding a span style, and it created a T_STRING error. I used the following code, <span style='color:"red"'> , but I did not substitute the bold tag, I simply added it afterward. Let me know your ideas. Thank you. That's because you are nesting single quotes inside the php code.... Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
huntwolfe Posted January 7, 2010 Author Share Posted January 7, 2010 That's because you are nesting single quotes inside the php code.... THAT'S IT!!!! You rock. Thank you for the tip. I added the code<span style= color:"red"> after the <b>, with a </span style> after the </b> and it works perfect. Link to comment Share on other sites More sharing options...
tatty Posted March 29, 2010 Share Posted March 29, 2010 Hello, This looks like exactly what I'd like to do... style the subcategories differently. Would you mind posting a bit more information about exactly what I'd need to edit in categories.php? Thank you. Tatty Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.