I'm creating a WordPress Twenty Fifteen child theme to move its left sidebar to right side.
My child theme sidebar's height is not equal to window's height like the original theme.
This is my sidebar
CSS:
.sidebar {
float: right;
margin-right: 0px;
max-width: 413px;
position: relative !important;
width: 29.4118%;
background: #fff;
box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
}
I have tried height:100%;
and height:auto;
but it still not working.
How to fix this issue?