The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December.
Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
Hi-
I'd like to add a background-image to the course badge in the dashboard. Does anyone know how I might do that? Would it be a javascript/css combo? I tried finding just the css target but could only get: div.ic-DashboardCard_header_hero but this did not seem to work.
Thank you!
Matt
Update: Way better answer.
This is now a feature in the beta instance of Canvas (and should be live soon). Here are the notes: https://community.canvaslms.com/docs/DOC-8024#jive_content_id_Course_Settings
---Original Post-----
Matt,
You can change the course card background to an image with the css attribute content. Here is an example:
#DashboardCard_Container > div > div:nth-child(3) > div.ic-DashboardCard__header > div.ic-DashboardCard__header_hero {
content:url('path/to/image');
}
If you want to apply a different image to each course, you will need to use javascript to apply the content style with the appropriate url.
Hope this helps,
Alex
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in