Skip to content

Modifications to Learnr User-Interface #716

Answered by gadenbuie
kgranillo10 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @kgranillo10! I'll answer each one individually:

Remove the Menu Bar to the left of the interface

If you want to hide the navigation menu but still use learnr's content paging via the Continue button, you can use a little bit of CSS:

.topicsList .nav {
	display: none;
}

Or to completely remove the sidebar and make the content panel "full-width", use these rules:

.topicsContainer {
  display: none;
}

.topics {
  width: 100%;
}

Remove the "Run Code" button and only leave the "Submit Answer" button

Similarly, you can use a small CSS rule to achieve this.

.btn-tutorial-run:not(:last-child) {
	display: none;
}

This rule will actually only hide the "Run Code" button if the "Submit Answe…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@kgranillo10
Comment options

@gadenbuie
Comment options

@gadenbuie
Comment options

@kgranillo10
Comment options

@gadenbuie
Comment options

Answer selected by kgranillo10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants