Skip to content

Instantly share code, notes, and snippets.

Rich Brown richb-hanover

Block or report user

Report or block richb-hanover

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@richb-hanover
richb-hanover / how-to-install-astra-child-theme.md
Created Apr 30, 2018
"How to Install Astra Child Theme" suggestion
View how-to-install-astra-child-theme.md

Child theme makes it easy to customize the theme files without having to worry about any updates breaking the changes you have made in the theme files.

You can generate a child theme for Astra from here.

  1. Enter the name you wish to give your child theme.
  2. If you want to add your own branding, click on advanced options and where you can edit the Theme name, version, author, author URL, description, folder name and screenshot.
  3. Once done, click on Generate. The child theme you just generated gets downloaded on your computer.
  4. You can now install it like any other WordPress theme.
  5. Feel free to copy any necessary Astra theme files in this child theme and customize them as you need.
View change-astra-header-breakpoint-width.md

In Astra Theme, the default header breakpoint is 921px. That means mobile header will be triggered at 921px screen size.

To change the default header breakpoint, edit the astra_header_break_point in a child theme. In the example below, the mobile header will be triggered at 1120px screen size. Change 1120 to the screen size of your choice.

/**
 * Change the breakpoint of the Astra Header Menus
 * 
 * @return int Screen width when the header should change to the mobile header.
 */
@richb-hanover
richb-hanover / Installing_Homenet.md
Last active May 24, 2019
Installing Homenet on LEDE/OpenWrt (DRAFT)
View Installing_Homenet.md

Installing Homenet on your Router

This set of instructions configures a fresh LEDE installation to run Homenet. They will likely work on a current build of OpenWrt.

There's lots of good info about Homenet elsewhere. See the External References section (below).

The general strategy is to connect your computer to the router's LAN Ethernet, convert the wireless and WAN interfaces to run Homenet, and test the changes so far. After things are working, configure the LAN Ethernet to Homenet through connect one of the (now Homenet) wireless interfaces.

  1. Install LEDE on your router. See the main Getting Started with LEDE page for details.
You can’t perform that action at this time.