This topic is locked

css menu

7/27/2026 13:10:00
ASPRunner.NET General questions
M
max benelli author

I would like to change the menu selection color shown in the photos

Screenshot 2026-07-27 173832.png
Screenshot 2026-07-27 173931.png
ChatGPT 7/27/2026

Certainly! To change the menu selection color in ASPRunner.NET, you typically need to modify the CSS styles used for the menu. Here’s how you can do that:

  1. Locate the CSS File: ASPRunner.NET uses CSS for styling. You can find the CSS file in your project directory. Look for a file named something like style.css or check the themes folder for specific theme styles.


  2. Edit the CSS: Open the CSS file in a text editor. Look for the class that defines the menu item styles. Common classes to look for include .menu, .selected, .active, or similar.

    For example, you might find something like this:

    .menu-item {
    background-color: #ffffff; /* default background color */
    color: #000000; /* default text color */
    }
    .menu-item.selected {
    background-color: #007bff; /* change this to your desired color */
    color: #ffffff; /* optional: change text color */
    }

  3. Change the Colors: Modify the background-color and color properties for the .selected class (or the relevant class in your CSS) to your desired colors.


  4. Save the Changes: After making the changes, save the CSS file.


  5. Refresh Your Application: If your ASPRunner.NET application is running, refresh it to see the changes take effect.


  6. Clear Cache: If you don't see the changes immediately, consider clearing your browser cache or doing a hard refresh (usually Ctrl + F5).



If you need to customize further or if you can't find the right CSS classes, please provide additional details about your specific setup or the current styles, and I can offer more targeted assistance.