Do you love the styling of the enews widget in the Header Right on the Adorable theme, but want the widget in your sidebar?
By default, the theme isn’t coded to have the stylized widget in the sidebar, but it’s just a matter of updating the code to make it work.
Add this CSS to your stylesheet:
.sidebar .enews-widget {
-moz-box-shadow: 0 0 5px #999;
-webkit-box-shadow: 0 0 5px #999;
background-color: #b2c802;
border: 4px solid #fff;
border-radius: 10px;
box-shadow: 0 0 5px #999;
float: right;
margin: 0;
padding: 10px;
width: 320px;
}
And then, change the width of the sign-up entry, to work in your sidebar. Look for this in your stylesheet:
.enews #subbox {
background-color: #fff;
color: #4c4b4b;
font-family: ‘Sofia’, ‘Oswald’, arial, serif;
margin: 5px -7px 0 0;
padding: 6px 5px;
text-transform: lowercase;
width: 270px;
}
Change width: to 250px from 270px.
Easy, right?
Leave a Reply