Jump to content

Recommended Posts

Posted

I'm having a problem with my navbar. the words are extended out the bottom of the actual navbar in my new theme. I started the CSS from scratch, he're's the navbar stuff from the CSS and layout .tpl

CSS

 
#topNav { background: black; backround font-size: 12px; width: 760px; margin: 0; height: 20px; border: none;}
#topNav ul { margin: 0; padding: 0; list-style: none; margin: 0; }
#topNav ul li { height: 20px; float: left; padding: 0px; font: bold 12px/37px Arial, Helvetica, sans-serif; }
#topNav ul li a { padding: 0 9px; height: 20px; float: left; text-decoration: none; display: block; color: #FFFFFF; font: 14px/37px Arial, Helvetica, sans-serif; }

.tpl

 
<div id="topNav">
 <ul>
  <?php
  Template::Show('core_navigation.tpl');
  ?>
 </ul>

  • Moderators
Posted

Try this... this is the only css I'm seeing that is the issue..

#topNav ul li a {
   color: #FFFFFF;
   display: block;
   float: left;
   font: 14px/20px Arial,Helvetica,sans-serif;
   height: 20px;
   padding: 0 9px;
   text-decoration: none;
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...