question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom Theme Documentation

See original GitHub issue

Is there a resource anywhere that describes exactly how to modify or extend the theme? I’d simply like to make some slight modifications to the existing core theme. I’d like to change the way that the challenge tiles are displayed in the challenges page, but it’s all dynamically generated by Javascript, and I can’t find any documentation on the workflow for modifying that. I see assets/js/pages/challenges.js which I assume is somehow related to static/js/pages/challenges.dev.js which again is somehow related to static/js/pages/challenges.min.js, but I have no clue how one is generated from the other.

Trying to move challenges.dev.js to challenges.min.js or challenges.js to challenges.min.js simply breaks the challenges page, which to me means that it’s not actually just a minified javascript file. What is the workflow for modifying these pages?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:10

github_iconTop GitHub Comments

2reactions
iimogcommented, Apr 5, 2021

Running npm run build after making a change to one of the assets/js files recreates the minified versions (given dependencies are installed with npm install). Anyway, I’d also appreciate further documentation.

2reactions
oohwoohcommented, Feb 10, 2021

Any update on this? We’d really love to make some custom themes but it’s pretty hard to do so without proper documentation - or are there just no theme docs to force more people to pay for them?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started | Theme Developer Handbook
Ready to start developing WordPress themes? You're in the right place. In this opening chapter, we'll take a look at what WordPress themes…...
Read more >
Theming Drupal | Drupal | Drupal Wiki guide on Drupal.org
Theming Drupal. Theming guide for Drupal. You can browse contributed themes or build a custom theme for your site.
Read more >
Themes - MkDocs
The bare minimum required for a custom theme is a main.html Jinja2 template file which is ... mkdocs.yml docs/ index.md about.md custom_theme/ main.html...
Read more >
WordPress Custom Theme Tutorial (Step-by-Step Guide)
Learning to create custom WordPress themes opens up a whole new world for you to explore. It allows you to build custom designs...
Read more >
Creating a custom theme - uData Documentation
The theme engine is based on Flask-Themes2 so reading its documentation might help. To create your custom theme, the easiest way is to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found