Skip to main content

Renew Certification Button

  • August 20, 2024
  • 5 replies
  • 137 views

Sooooo, I really need some help, does anyone have any ideas how I can make the Renew certification button more obvious, I am struggling to find the right selector, without impacting the rest of the platform. I only want it to make changes on the course player pages. Getting slowly frustrated with users going I’ve recompleted the course but it hasn’t updated my records. Then I ask did you click the button? and the answer is always no what button!

 

 

Did this post help you find an answer to your question?

5 replies

  • Novice II
  • 6 replies
  • December 4, 2024

Hi there! 

We used the following CSS code to add a border and change the button color:

/* Target the specific 'Renew Certification' button by its aria-label */
.dcb-ui-notification-banner-actions button[aria-label="Renew certification"] {
    border: 2px solid #000; /* Solid black border */
    border-radius: 5px; /* Rounded corners */
    padding: 5px 10px; /* Space inside the button */
    box-sizing: border-box; /* Ensure padding does not affect size */
    background-color: #ffffff; /* Optional: White background */
    color: #000000; /* Optional: Black text color */
    font-size: 14px; /* Optional: Adjust font size */
    cursor: pointer; /* Show pointer cursor */
}

It seems to have helped our users. Hopefully this helps!


  • Author
  • Novice III
  • 8 replies
  • December 5, 2024

Hi Cshea,

 

Thank you so much for your help!


mjfreeman
Novice II
  • Novice II
  • 6 replies
  • January 14, 2025

Did this work for you? im trying to do the same thing but the code doesnt seem to do anything in my platform.


  • Newcomer
  • 2 replies
  • January 15, 2025

In the above CSS code, try replacing the CSS selector .dcb-ui-notification-banner-actions button[aria-label="Renew certification"] with .dcb-ui-notification-actions 

The aria-label attribute is commonly used to provide an accessible name for elements that may not have visible text, enhancing accessibility for assistive technologies and is recommended primarily for accessibility purposes and to use classes or IDs for styling.


mjfreeman
Novice II
  • Novice II
  • 6 replies
  • January 16, 2025

this change worked, thank you


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings