Skip to content

Instantly share code, notes, and snippets.

.site-title, .site-title a {
color: red !important;
font-family: cursive !important;
font-size: 23px !important;
}
.has-header-image .custom-header-media img, .has-header-video .custom-header-media video, .has-header-video .custom-header-media iframe, .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
height: 66% !important;
object-fit: fill !important;
width: 100%;
max-height: 100% !important;
display: block !important;
position: relative !important;
}
#wp-custom-header {
// Enable shortcodes in text widgets
add_filter('widget_text','do_shortcode');
function register_my_menus() {
register_nav_menus(
array(
'new-menu' => __( 'New Menu' ),
'another-menu' => __( 'Another Menu' ),
'an-extra-menu' => __( 'An Extra Menu' )
)
);
}
add_action( 'init', 'register_my_menus' );
function register_my_menu() {
register_nav_menu('new-menu',__( 'New Menu' ));
}
add_action( 'init', 'register_my_menu' );
.site-footer .widget-column.footer-widget-1 {
float: left;
width: 33.33%;
padding: 0 5px;
}
.site-footer .widget-column.footer-widget-2 {
float: left;
width: 33.33%;
padding: 0 5px;