This file contains 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
/* http to https with www to non-www */ | |
RewriteEngine On | |
RewriteCond %{HTTPS} off [OR] | |
RewriteCond %{HTTP_HOST} ^www\. [NC] | |
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC] | |
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301] | |
/* http to https with non-www to www */ |
This file contains 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( 'generate_typography_default_fonts', 'tu_add_typekit_fonts' ); | |
function tu_add_typekit_fonts( $fonts ) { | |
$fonts[] = 'font-name'; | |
return $fonts; | |
} |
This file contains 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
/* adds letter spacing to the main navigation */ | |
.main-navigation a { | |
letter-spacing: 1px; | |
} | |
/* adds rounded corners to the GeneratePress blog archive photo & post featured image*/ | |
.featured-image img, | |
.post-image img { | |
border-radius: 8px; | |
} |
This file contains 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
/* plugin located at https://wordpress.org/plugins/mailchimp-for-wp/ */ | |
/* form alignment */ | |
.mc4wp-form-fields { | |
text-align: center; | |
} | |
/* form text and email fields style */ |
This file contains 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
/* To target individual forms replace .fluentform .frm-fluent-form with form.fluent_form_# */ | |
/* label style */ | |
.fluentform .frm-fluent-form .ff-el-input--label { | |
font-size: 1rem; | |
color: var(--contrast); | |
font-weight: 700; | |
} | |
/* field style */ |
This file contains 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
/* query loop featured image */ | |
.wp-block-post-featured-image img { | |
margin-bottom: 10px; | |
border-radius: 4px; | |
} | |
/* query loop h2 title */ | |
h2.wp-block-post-title { | |
margin-bottom: 5px; | |
} |
This file contains 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
/* remove margin below form */ | |
.ngl-form { | |
margin-bottom: 0px !important; | |
} | |
/* ng container spacing in and out */ | |
.wp-block-newsletterglue-callout { | |
padding-top: 40px !important; | |
margin: 40px auto; | |
} |
OlderNewer