Created
December 19, 2016 10:58
-
-
Save Netzberufler/4a7d024e7e4ac7823bb82bd2e23066d4 to your computer and use it in GitHub Desktop.
TwentySixteen Footer with Widgets
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could you please share related code for style.css and function.php. Mine don't seem to work
footer.php
'primary', 'menu_class' => 'primary-menu', ) ); ?>`
`
style.css
`
/* floats */
.quarter,
.one-third,
.two-thirds,
.half {
float: left;
}
/* widths */
.one-third {
width: 32%;
}
.two-thirds {
width: 65.5%;
}
.quarter {
width: 23.5%;
}
.three-quarters {
width: 74.5%;
}
.half {
width: 48%;
}
/* margins /
.one-third {
margin: 0 0.5%;
}
.quarter,
.two-thirds {
margin: 0 0.5%;
}
.left,
.quarter.left,
.one-third.left {
margin: 0 1% 0 0;
float: left;
}
.right,
.quarter.right,
.one-third.right {
margin: 0 0 0 1%;
float: right;
}
.half.left {
width: 48%;
margin: 0 2% 0 0;
}
.half.right {
width: 48%;
margin: 0 0 0 2%;
}
.two-thirds.left {
margin: 0 1% 0 0;
}
.two-thirds.right {
margin: 0 0 0 1%;
float: right;
}
/ media queries for larger screens such as small tablets in landscape or large tablets in portrait */
@media screen and ( max-width: 780px ) {
}
/* media queries for small screens in landscape mode (or similar) */
@media screen and ( max-width: 600px ) {
}
`
That gives me the following output http://hoptimumfire.com