Navigation Button Changes
-
Dear all,
I’ve made a few changes to the main navigation button which appears when the width is reduced.
This is what I’ve done so far by taking code from here and there in this forum and the snippets.
/* add "menu" text to navigation button */ .btn-navbar { width: 90px; height: 30px; vertical-align: top; } .btn-navbar:after { content: "Menu"; font-family: Giro-Light; font-size: 1.5em; font-weight: normal; font-style: normal; margin: 0px 0px 0px 25px; } /* menu button changes */ .navbar .btn-navbar { background-color: #009999; background-image: none; background-repeat: repeat-x; border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.075); box-shadow: none; color: white; float: right; margin-left: 5px; margin-right: 5px; padding: 7px 10px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); } .navbar .btn-navbar:hover, .navbar .btn-navbar:focus, .navbar .btn-navbar:active, .navbar .btn-navbar.active, .navbar .btn-navbar.disabled, .navbar .btn-navbar[disabled] { color: white; background-color: #006666; *background-color: #006666; }
Here is the site.
The problem is with the added “menu” text.
/* add "menu" text to navigation button */ .btn-navbar { width: 90px; height: 30px; vertical-align: top; } .btn-navbar:after { content: "Menu"; font-family: Giro-Light; font-size: 1.5em; font-weight: normal; font-style: normal; margin: 0px 0px 0px 25px; }
It’s misaligned and I can’t seem to change anything changing the margin values, (except the forth). Is something wrong with the syntax?
I suppose my whole stylesheet must be a grammatical disgrace for you guys though!
thanks for your help,
daniel
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Navigation Button Changes’ is closed to new replies.