Changing the Color of the Navigation Buttons

Concept

The appearance of the navigation buttons that display along the top or left side of your PastPerfect Online site can be modified by making changes in the Custom CSS field of IMS. The default CSS includes properties to change the background color of the buttons and the color of the text. If you would like to make additional changes to the appearance of your buttons, contact our staff for assistance or work with your web designer.

In the Custom CSS field, colors are often represented by a pound sign (#) followed by a six-digit hex code/value. For help selecting a color and finding the hex code, see the HTML Color Picker link listed in References.

Warning: Making changes to the CSS will alter the appearance of your site, and if done incorrectly could cause the site to lose all styling.

Task

If previous modifications have been made by PastPerfect staff or someone in your organization, the hex codes referenced in these steps may not be the same as the hex codes in your Custom CSS field. Your colors may also be listed in a different format, such as rgb(0, 0, 0) or rgba(0, 0, 0, 0.5).

  1. Sign in to admin.pastperfectonline.com.
  2. Select the CSS tab.
  3. Locate the line with .navMenu a.


  4. To change the colors, replace the hex codes to the right of each property with the hex code of your choice. Be sure to leave the pound sign (#) and semicolon (;) before and after the hex code.


  5. Once you have made your changes, click the Update Museum button at the top or bottom of your page to save the changes.
  6. Click the Open Web Site link at the top of the page to view your changes.
  7. To change the appearance of the buttons when you hover over or click on them, close your browser, then return to the Interface Management Site and select the CSS tab. Some organizations change both the background color and the text color, while others decide to leave the background color unchanged and change only the color of the button text.
  8. Locate the lines with .navMenu a:hover, .navMenu a:focus.


  9. If you want the button’s background color to change when a web visitor hovers or clicks on a button, select a different background color for .navMenu a:hover than you did for .navMenu a. To change the colors, replace the hex codes to the right of each property with the hex code of your choice. Be sure to leave the pound sign (#) and semicolon (;) before and after the hex code.
    leftNav hover background

  10. Once you have made your changes, click the Update Museum button at the top or bottom of your page to save the changes.
  11. Click the Open Web Site link at the top of the page to view your changes.

References