Skip to content

Whats the best approach to modify a theme? #697

Answered by oscarotero
jesusfj710 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Jesús.

I need to add some documentation to the TOP theme and probably make some changes to make the customization easier.

For now, this is what we have:

  • If you want to customize the styles, just edit the file styles/theme.css to override the default styles and configure the theme variables (colors, typography, etc).
  • If you want to change the html code generated by an existing block, you have to download the template file in local and change it. For example, to edit the faq block, create locally the file _includes/blocks/faq/faq.vto and edit it. Lume will use this file instead of the remote file of the theme.
  • If you want to add new blocks, the theme is not ready for that yet. It's poss…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jesusfj710
Comment options

Answer selected by jesusfj710
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