This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "breakpoints"; // for bp mixin see https://snippets.cacher.io/snippet/fc10ef4581746c8e4b96 | |
$margin-right: 4.7619%; /* this is % equiv of 40px/2.5rem, but it could be anything. */ | |
.wp-block-columns { | |
$wrap: &; | |
display:flex; | |
flex-direction: row; | |
flex-wrap:wrap; | |
margin:0 -#{$margin-right} 0 0; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************* | |
Breakpoints | |
*********************/ | |
/* usage: @include bp(tablet) { // your styles here } */ | |
@mixin bp($point) { | |
@if $point == widescreen { // 1440px | |
@media (min-width: 90em) { @content ; } | |
} | |
@elseif $point == tv { // 1300px | |
@media (min-width: 81.25em) { @content ; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'facetwp_facet_html', 'local_per_page', 10, 2); | |
function local_per_page ( $output, $params ) { | |
if ( 'pager' == $params['facet']['type'] ) { | |
$output = str_replace( 'class="facetwp-per-page-select"', 'class="facetwp-per-page-select" aria-label="Per Page Options"', $output ); | |
} | |
return $output; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Template Name: No-Image Header | |
* Template Post Type: post, page | |
* | |
* | |
* @package GeneratePress | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { |
OlderNewer