Custom Home Page Nav Tweak

psenior1psenior1 Registered Users Posts: 125 Major grins

I'm trying to tweak my homepage nav bar but having no luck. I've configured it to be vertical (rather than horizontal like the rest of the site).

What I'm trying to do is change the size of the background behind each of the nav options so its just slightly larger, rather than have them all one uniform length. The CSS I'm currently using is -

.sm-page-widget-nav-toplink {
margin-bottom: 7px !important;
background: rgba(0, 0, 0, .5);
width: 108px;
padding: 4px 10px 4px 12px !important;
white-space: nowrap;
float:right;

I presume its something to do with the 'width' options but can't find how to make it follow the size of the text, 'auto' concertina's all the options up so they are no longer on a single line each...

Any help much appreciated!

website - http://www.snrmac.com
facebook - my facebook page please LIKE me!

Comments

Sign In or Register to comment.