You can hide unwanted course card links on the Student Dashboard with this simple change to your theme code.
Currently, students will see the option to Start a Course or See Overview on the course cards on their Student dashboard.
You may want to hide the See Overview link to prevent users from navigating to the course landing page from the dashboard. If you want to hide this element, you can do so by customizing the theme for your site following the instructions below.
How to Hide the See Overview Link
- First, find the theme file to edit by heading to Design your Site > Theme Library > Ellipses menu > Edit code.
- In the theme editor, go to Snippets > dashboard_course_card
- Locate this snippet of code (you should see it listed twice in this file):
<a href="{{ card.landing_page_url }}" class="course-card__overview" aria-label="{{ card.name }}: {{ 'liquid.partials.dashboard_course_card.link_see_overview' | translate }}">
{{ 'liquid.partials.dashboard_course_card.link_see_overview' | translate }}
</a> - Then, insert <! -- and --> tags around both instances of this code to prevent this from displaying on your site. You can also highlight the text and use the shortcut Command + / on a Mac, or Control + / on a PC. The final code should look like this:
<!--<a href="{{ card.landing_page_url }}" class="course-card__overview" aria-label="{{ card.name }}: {{ 'liquid.partials.dashboard_course_card.link_see_overview' | translate }}">-->
<!-- {{ 'liquid.partials.dashboard_course_card.link_see_overview' | translate }}-->
<!--</a>--> - Then, click Save.
More on Code Customizations
We do not generally provide support for code customizations, however we have created these resources to help with migrating from a Legacy theme to Site Builder.
If you are looking for any further assistance with custom code, we have some other common code customization instructions here. We also have some wonderful freelance web developers on our Thinkific Experts page who you can reach out to if you need! There's also the Thinkific Store on Fiverr, for smaller, quicker jobs.