- This topic has 5 replies, 3 voices, and was last updated 15 years, 6 months ago by imported_Ryan.
-
AuthorPosts
-
May 26, 2009 at 4:49 pm #832BrianAdkins6300Member
Hi Ryan, since you answer all the questions here, I guess this goes back to you. By the way, thanks for all the help on the last responce. With the help of the host, we were able to get rid of the hack.
Quick question. For the website http://www.wafflecabin.com,
How would I make the menubar links underlined when I hover over them? I was able to do it with the dropdowns by adding
"text-decoration: underline;", under"#suckerfishnav li li:hover {
background:#ffffff;
text-decoration: underline;
}"I don’t see any CSS code for hovering over the menubar links though (the main menu bar, not the drop downs). Let me know what I would need to input into the code below (the whole CSS). Thanks again big time Ryan.
#suckerfishnav {
background:#ffffff repeat-x;
font-size:9px;
font-family:verdana,sans-serif;
font-weight:bold;
width:99.8%;
}
#suckerfishnav, #suckerfishnav ul {
float:left;
list-style:none;
line-height:28px;
padding:0;
border:1px solid #aaa;
margin:0;
width:99.8%;
}
#suckerfishnav a {
display:block;
color:#000000;
text-decoration: none;
padding:0px 32px;
}
#suckerfishnav li {
float:left;
padding:0;
}
#suckerfishnav ul {
position:absolute;
left:-999em;
height:auto;
width:101px;
font-weight:normal;
margin:0 0 0 21px;
line-height:1;
border:0;
border-top:1px solid #666666;
z-index:1000
}
#suckerfishnav li li {
width:99px;
border-bottom:1px solid #666666;
border-left:1px solid #666666;
border-right:1px solid #666666;
font-weight:bold;
font-family:verdana,sans-serif;
}
#suckerfishnav li li a {
padding:4px 10px;
width:80px;
font-size:12px;
color:#dddddd;
}
#suckerfishnav li ul ul {
margin:-21px 0 0 100px;
}
#suckerfishnav li li:hover {
background:#ffffff;
text-decoration: underline;
}
#suckerfishnav li ul li:hover a, #suckerfishnav li ul li li:hover a, #suckerfishnav li ul li li li:hover a,#suckerfishnav li ul li li li:hover a {
color:#000000;
}
#suckerfishnav li:hover a, #suckerfishnav li.sfhover a {
color:#000000;
}
#suckerfishnav li:hover li a, #suckerfishnav li li:hover li a, #suckerfishnav li li li:hover li a, #suckerfishnav lili li li:hover li a {
color:#000000;
}
#suckerfishnav li:hover ul ul, #suckerfishnav li:hover ul ul ul, #suckerfishnav li:hover ul ul ul ul, #suckerfishnavli.sfhover ul ul, #suckerfishnav li.sfhover ul ul ul, #suckerfishnav li.sfhover ul ul ul ul {
left:-999em;
}
#suckerfishnav li:hover ul, #suckerfishnav li li:hover ul, #suckerfishnav li li li:hover ul, #suckerfishnav li li lili:hover ul, #suckerfishnav li.sfhover ul, #suckerfishnav li li.sfhover ul, #suckerfishnav li li li.sfhover ul,
#suckerfishnav li li li li.sfhover ul {
left:auto;
background:#ffffff;
}
#suckerfishnav li:hover, #suckerfishnav li.sfhover {
background:;
}May 27, 2009 at 8:48 pm #6271arjanverMember#suckerfishnav a {
display:block;
color:#000000;
text-decoration: underline;
padding:0px 32px;
}May 28, 2009 at 12:59 am #6272BrianAdkins6300Memberalready tried that. That underlines all the links. I only want the links underlined when they’re hovered over.
May 28, 2009 at 6:05 am #6273imported_RyanMemberGood to hear you got your sites back up and running ” title=”Smiley” />
[code:4qbqb5us]#suckerfishnav a:hover {
text-decoration: underline;
}[/code:4qbqb5us]May 28, 2009 at 2:06 pm #6274BrianAdkins6300MemberYeah, Thanks for all the help Ryan, pointing out what you saw. I found a guy at our host who just reuploaded all the WP database files where he saw the hack. Worked perfectly.
Thanks for the CSS code. I thought that’s what the code was but wanted to make sure. The more I work at this coding stuff the more intuitive it gets. Works perfect though. Thanks again Ryan.
June 1, 2009 at 4:45 am #6275imported_RyanMemberGood to hear it is working ” title=”Smiley” />
-
AuthorPosts
- You must be logged in to reply to this topic.