Jump to content

Nav Style edit?


davehardy

Recommended Posts

Yeah i changed em all but i cant get it to go white, pulling my hair out trying lol.

#nav-one li:hover a,

#nav-one li.sfHover a {

  background: #ccc;

  color: #ffffff;

}

#nav-one li:hover ul a,

#nav-one li.sfHover ul a {

  background: #ffffff;

  color: #ffffff;

}

#nav-one li:hover ul a:hover,

#nav-one li.sfHover ul a:hover {

  background: #ccc;

  color: #ffffff;

Link to comment
Share on other sites

Standard Crystal css file

/* Navigation */

.nav, .nav ul {

list-style: none;

margin: 0;

padding: 0;

}

.nav {

  font-family: Arial, Helvetica, sans-serif;

  z-index: 1000;

  position: relative;

}

.nav li {

  float: left;

  margin: 0;

  padding: 0;

  position: relative;

  background: url(images/navbg.jpg) repeat-x 0 0 #ffffff;

}

.nav li a, .nav li a:link, .nav li a:active, .nav li a:visited {

  font: bold 1.22em/25px Arial, Helvetica, sans-serif;

  background: #ffffff;

  color: #ffffff;

  display: block;

  padding: 0 9px;

  text-transform: lowercase;

  text-decoration: none;

}

.nav li a:hover {

  background: #ccc;

  color: #ffffff;

}

#nav-one li:hover a,

#nav-one li.sfHover a {

  background: #ccc;

  color: #ffffff;

}

#nav-one li:hover ul a,

#nav-one li.sfHover ul a {

  background: #ffffff;

  color: #ffffff;

}

#nav-one li:hover ul a:hover,

#nav-one li.sfHover ul a:hover {

  background: #ccc;

  color: #ffffff;

}

.nav ul {

  background: #ffffff;

  background: url(images/navbg.jpg) repeat-x 0 0 #ffffff;

  list-style: none;

  margin: 0;

  width: 150px;

  position: absolute;

  top: -999em;

  left: -1px;

}

.nav li:hover ul,

.nav li.sfHover ul {

  top: 37px;

}

.nav ul li {

  border: 0;

  float: none;

}

.nav ul a {

  border: 1px solid #cccccc;

  border-bottom: 0;

  padding-right: 20px;

  width: 150px;

  white-space: nowrap;

}

.nav ul a:hover {

  background: #ccc;

  color: #000;

}

Link to comment
Share on other sites

OK Nabeel ive sorted this out now :)

Not sure ifyou have it documented but when you copy the crystal skin and rename it to your own you need to edit the header.tpl to point to your new skin and not the crystal that it used to be.

<link rel="stylesheet" media="all" type="text/css" href="<?php echo SITE_URL?>/lib/skins/crystal/styles.css" />

Link to comment
Share on other sites

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...