Hello,
When I look at my website under 768 pixel width the .x-colophon.top background color changes to white.
Any idea why? I have this code:
.x-colophon.top {
background-color: #000000;
}
footer.x-colophon.top {
color: #ffffff !important;
background-color: black! important;
}
Which works on desktop widths.
And then I’m also trying to make it so the widgets (when stacked on mobile) are centered to the page.
I haven’t figured out how to make that work, any suggestions?
I’m using this code to affect the widths of the columns on desktop and thought i had the mobile one figured out, but don’t.
footer.x-colophon.top .x-column.x-1-4:nth-child(1) {
width: 20%;
}
footer.x-colophon.top .x-column.x-1-4:nth-child(2) {
width: 37%;
}
footer.x-colophon.top .x-column.x-1-4:nth-child(3) {
width: 14%;
}
footer.x-colophon.top .x-column.x-1-4:nth-child(4) {
width: 14%;
}
@media only screen and (max-width: 980px) {
footer.x-colophon.top .x-column.x-md {
width: 100% !important;
float: center !important;
}
}
Thank you!
Jesse