Skip to content

Instantly share code, notes, and snippets.

Jimmy K jimmyk69

Block or report user

Report or block jimmyk69

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
View functions.php
function twentyseventeen_widgets_init() {
register_sidebar( array(
'name' => __( 'Main Sidebar', 'twentyseventeen' ),
'id' => 'sidebar-1',
'description' => __( 'The main sidebar appears on the right on each page except the front page template', 'twentyseventeen' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
View sidebar.php
<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
<div id="secondary" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div>
<?php endif; ?>
View style.css
button, input[type=”button”], input[type=”submit”] {
background-color: darkred !important;
}
View style.css
.widget li a:hover {
box-shadow: none !important;
color: darkred !important;
}
View style.css
.widget li a {
color: darkblue !important;
font-family: cursive !important;
font-size: 14px !important;
}
View style.css
.widget-title {
text-align: center;
background: lightgrey;
padding: 5% !important;
margin-bottom: 0px !important;
}
View style.css
.widget-title {
font-size: 15px !important;
color: darkred !important;
font-family: cursive !important;
}
View style.css
#colophon {
background: darkred;
}
#colophon * {
color: white !important;
list-style: none !important;
border: none !important;
box-shadow: none !important;
}
View style.css
#comments {
display: none !important;
}
View style.css
.entry-content {
color: black !important;
font-size: 15px !important;
font-family: cursive !important;
}
You can’t perform that action at this time.