Middle align icons
Hi,
We have managed to create a navbar with new icons using css script we found on a previous post on the forum. The one thing I can't work out is how to align the icons vertically so they are centered. At the moment there is a lot of white space under the icon. We want to shift them down slightly so they are in the middle. Can you suggest a way of doing this. Here is an extract of the CSS we are using:
[dsid=mobilenavbaritem1] .ui-icon {
background: url("http://skylime-apps.s3.amazonaws.com/...") no-repeat;
background-size: 32px 32px;
height: 50px !important;
margin-left: -15px !important;
width: 50px !important;
}
[dsid=mobilenavbaritem2] .ui-icon {
background: url("http://skylime-apps.s3.amazonaws.com/...") no-repeat ;
background-size: 32px 32px;
height: 50px !important;
margin-left: -15px !important;
width: 50px !important;
}
Thanks