Giter VIP home page Giter VIP logo

ktc-child-theme's Introduction

Know the Code Child Theme

This Genesis-powered child theme is for Know the Code. It is specifically designed for our website. The view files for the templates and menus are custom for our needs.

Can I use this theme as a starter?

Not really, but kinda. Why? It's specifically designed for Know the Code. However, you can use it as inspiration for your project or theme. Use the architecture, task runner setups, Sass structures, etc. Modify the view files for your needs and strip away what you don't need.

Features

This theme includes the following features:

  1. Genesis-powered
  2. ModularConfiguration architecture
  3. Sass-powered styling
  4. UpGulp - gulp for task running lint, concatenation, optimization, and minification.

Dependencies

This child theme is dependent upon the following:

  1. The Genesis theming framework from StudioPress.

Optional dependency plugins

This theme uses Fulcrum and Help Center plugins. Why? Fulcrum gives us some functions such as login page stylesheet handler, development environment, and parent-child. The Help Center is specific to Know the Code.

Depending upon your project, you may want Fulcrum. Typically though, you do not need these plugins. The theme includes a checker to determine if these are loaded. If no, it loads a dependency helper file.

Instructions to install:

  1. Open up terminal and navigate to the themes folder.
  2. Then type: git clone https://github.com/KnowTheCode/KTC-Child-Theme
  3. Change the folder name to ktc
  4. Navigate into the new folder cd ktc
  5. It will now run.

Sass Files

To make styling changes, navigate to assets/sass. There you will find each of the partial files which contain the CSS styling.

The variables are setup for our color scheme. Therefore, you want to use the variables found in the utilities/variables/_variables.scss file. For example, let's say that you want the background-color to be our branding green color. You would use $green as the color. This variable holds the hex color.

Gulp and Sass

When you are actively making styling changes, you need to convert the Sass files into a compressed CSS file. The first step is to make sure that you have all of the node modules installed, i.e. that are defined in the package.json file. To install, you will need npm and node installed in your machine. Automating Tasks with Gulp walks you through the process.

Once everything is installed, then you type gulp watch. You can now make changes to the Sass files and have them compiled into native CSS. Two files will be stored in the theme's root directory: style.css and style.min.css. The minified version is loaded within the theme as it's more optimized and will download faster to the viewing devices.

Contributions

All feedback, bug reports, and pull requests are welcome.

ktc-child-theme's People

Contributors

hellofromtonya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ktc-child-theme's Issues

White screen after theme install

Hallo Tonya,
After I install this theme and activate it, I see a white screen. I'm using the latest Genesis version. And if I put die( 'it is loading' ); in functions.php I do get this message.

Please, help!

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.