...

View Full Version : Broke website, please help!



lmorales
08-07-2012, 05:51 PM
My website at mmp.power1.com just broke on me. I was adding bullets to the menu.css, and adding a custom font to the style.css sheet, I also fiddled with the footer.php a bit, but reverted it and its still broken. Please help :(



.mainnav li {
float: left;
position: relative;
z-index: 999;
height: 20px;
line-height: 20px;
margin-right: 20px;
position: relative;
padding-left: 15px;

}

.mainnav a {
display: block;
font-size: 26px;
font-weight: normal;
font-family: NovaSOLIDSOLID;
margin: 0;
padding: 0;
color: #FFF;
text-transform: uppercase;
text-decoration: none;
letter-spacing:.09em;
}

.mainnav li:before {
content: "";
border: 5px solid;
position: absolute;
left: 0;
top: 5px; /* change that to your desire */
}
.mainnav li:menu-item-11 {border-color:#F00;}
.mainnav li:menu-item-12 {border-color:#0F0;}
.mainnav li:menu-item-13 {border-color:#00F;}
.mainnav li:menu-item-14 {border-color:#FF0;}
.mainnav li:menu-item-31{border-color:#C30;}
.mainnav li:menu-item-25{border-color:#F0F;}
.mainnav li:menu-item-32{border-color:#66C;}

.mainnav li.current-menu-item a,
.mainnav li#current a,
.mainnav li.current-cat a,
.mainnav li.current_page_item a {
text-decoration: none;
color: #CCC;
}
.mainnav li.first{list-style-image:none;}

.mainnav li a:hover {
text-decoration: none;
color: #999;
}

.mainnav ul li{
width: 140px;
}

.mainnav li:hover ul,
ul.mainnav li.sfHover ul {
left: -10px;
top: 20px;
padding-top: 7px;
width: 142px;
background: url(images/ulbg.png) no-repeat bottom;
padding-bottom: 15px;
}

.mainnav li:hover li ul,
.mainnav li.sfHover li ul {
top: -999em;
}

.mainnav li li:hover ul,
ul.mainnav li li.sfHover ul {
left: 140px;
top: -7px;
}

.mainnav li:hover ul,
.mainnav li li:hover ul {
top: -999em;
}

.mainnav li li {
display: block;
padding: 0px;
height: auto !important;
border: none;
background: #121212 url(images/linebg.png) repeat-x bottom;
margin: 0;
padding-top: 8px;
padding-bottom: 10px;
border-left: solid 1px #1f1f1f;
border-right: solid 1px #1f1f1f;
}

.mainnav li li#current a,
.mainnav li li.current-cat a,
.mainnav li li.current_page_item a,
.mainnav li li:hover a {
}

.mainnav li li a:link,
.mainnav li li a:visited {
display: block;
height: auto !important;
padding-top: 8px;
padding-bottom: 8px;
text-transform: uppercase;
color: #CCC;
font-weight: normal;
font-family: NovaSOLIDSOLID; font-size: 30px;
border: none;
margin: 0;
padding: 0;
margin-left: 10px;
}

.mainnav li li:hover {
background: #CCC !important;
}

#rightmenu .mainnav li li {
margin:0;
}




/*
Theme Name: l'Image
Theme URI: http://www.vivathemes.com
Description: Minimal Photography Theme
Author: Viva Themes
Author URI: http://www.vivathemes.com
version: 2.1
Tags: two-column, widget-ready, photography
*/

*{margin:0 auto; padding:0;}




@font-face {
font-family: MisoLight;
src: url("miso-light-webfont.eot");
src: url("miso-light-webfont.eot?#iefix" format("embedded-opentype"),
url("miso-light-webfont.woff") format("woff"),
url("miso-light-webfont.ttf") format("truetype"),
url("miso-light-webfont.svg#MisoLight") format("svg");
font-weight: normal;
font-style: normal;

}

body {
background: #000;
color: #FFF;
font-family:MisoLight;
font-size: 12px;
margin:0 auto;
padding:0;
width: 900px; /* make website center */
margin: 0 auto; /* make website center */
}

h1 {
font-size: 18pt;
}

h2 {
color: #e8e8e8;
font-family: georgia, arial, helvetica, sans-serif;
margin:0;
padding:0;
text-transform: none;
font-weight: normal;
font-size: 20px;
line-height: 120%;
}

h3, h3 a {
color: #e8e8e8;
font-family:MisoLight;
margin:0;
padding:0;
text-transform: none;
font-weight: normal;
font-size: 20px;
line-height: 22px;
}

h4 {
font-size: 9pt;
}

h2.pagetitle {
display:none;
}

p { margin-top: 6px; }

img {
border: none; padding:0;
}

img a {
border:none;
}

img.left {
float: left; border: none; padding: 6px 0 0 0;
}

img.right {
float: right; border: none; padding: 0 0 0 6px;
}

blockquote {
border-left:1px solid #A5ABAB;
margin:15px;
padding:0 12px 0 12px;
}

code{
font-family:MisoLight;
}


/* links */

a {
color: #e8e8e8;
}

a:hover {
text-decoration: none;
}

/* container */

#container {
width: 875px;
clear: both;
float: left;
margin-left: 30px;
padding:0;
line-height: 145%;
}

/* header */


#header {
width: 875px;
float: left;
clear: left;
}

#logo {
min-width:870px;
float:left;
clear: both;
height: 124px;
margin-top: 25px;
repeat:x;
}

#logo a {
color: #121212;
}

#logo h1 a,
#logo h1 {
font-weight: normal;
font-size: 36px;
color: #ffcc00;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
font-family:MisoLight;
line-height: 90px;
margin-top: 1px;
}

/* search */

#searchform {
padding:0;
margin:0;
margin-top: 6px;
}

#searchform input#s {
margin:0;
padding: 0;
color: #e8e8e8;
width: 180px;
border: solid 1px #333;
font-size:12px;
padding-left: 2px;
height: 18px;
padding-top: 2px;
padding-bottom: 2px;
margin-bottom: 5px;
background: none;
}

#searchform input#searchsubmit {
cursor: pointer;
}

/* content */

#contentwrapper {
width: 875px;
clear: left;
float: left;
margin-top: 5px;
background: url(images/linebg.png) repeat-x top;
min-height: 350px;
padding-top: 15px;
}

#content {
width: 550px;
float: left;
}

#content2 {
width: 870px;
float:left;
}

#contentfull {
float:left;
width: 918px;
}

#contentfull .entry{
width: 250px;
height: 165px;
padding: 5px;
background: #fff;
overflow: hidden;
}
#divider{ repeat:x;}

#contentfull .entry .gal {
height: 165px;
overflow: hidden;
}

#contentfull .post {
margin-bottom: 15px;
}

#content2 .post,
#content .post {
width: 100%;
}

#homecontent .post {
width: 175px;
height: 117px;
float: left;
overflow: hidden;
margin: 0;
padding: 0;
}

.post {
margin:0;
padding:0;
padding-bottom: 35px;
line-height: 150%;
width: 306px;
float: left;
}

.post h2 {

}

.post h3 {
margin:0;
padding: 0;
line-height: 22px;
}

.post h3 a {
color: #e8e8e8;
font-family:MisoLight;
margin:0;
padding:0;
text-transform: none;
font-weight: normal;
font-size: 20px;
line-height: 22px;
text-decoration: none
}

.post h3 a:hover {
text-decoration: underline;
}

.post h2 a:hover{
text-decoration: underline;
}

.post ul {}

.post li {
margin-left: 15px;
}

.entry p {
margin:8px 0;
}

a.more-link {
color: #e6e6e6;
font-weight: bold;
text-decoration: none;
padding-left: 15px;
background: url(images/abg.png) no-repeat left;
border: none;
line-height: 25px;
}

a.more-link:hover {
text-decoration: none;
color: #666;
}

.attachment-blogthumb {
width: 110px;
height: 110px;
padding: 2px;
background: #fff;
float: left;
margin-right: 20px;
}

/* Right Sidebar*/

#rightbar {
width: 200px;
float: right;
margin:0;
padding:0;
padding-bottom: 20px;
}

#rightbar .widgets {
margin: 0;
padding: 0;
float: left;
clear: left;
font-size: 12px;
margin-bottom: 20px;
width: 100%;
}

#rightbar h2 {
margin: 0;
padding: 0;
color: #ffcc00;
margin-bottom: 8px;
font-size: 20px;
line-height: 20px;
text-transform: none;
font-weight: normal;
font-family:MisoLight;
}

#rightbar ul li {
line-height: 15px;
background: url(images/rightli.png) no-repeat left top;
list-style: none;
padding-bottom: 5px;
margin-top: 5px;
color: #e8e8e8;
padding-left: 10px;
}

#rightbar ul li ul li {
border: none;
list-style: disc;
margin-left: 20px;
}

#rightbar ul li a {
color: #e8e8e8;
border: none;
text-decoration: none;
}

#rightbar ul li a:hover {
text-decoration: underline;
}

#rightbar a {
text-decoration: underline;
}

#rightbar a:hover {
border: none;
text-decoration: none;
}

.navigation {
font-size:60px;
width:95%;
float:left;
clear: left;
margin:0;
padding:0;
overflow:hidden;
color: #ffcc00;
text-transform: lowercase;
}

.alignleft a {
float:left;
margin:0;
text-decoration: none;
color: #ffcc00;
}

.alignright a {
float:right;
margin:0;
text-decoration: none;
color: #ffcc00;
}

/* comments */

#commentform {
margin:0;
padding:0;
margin-left: 5px;
}

#commentform p {
color: #e8e8e8;
}

#commentform a {
color: #66cccc;
text-decoration: none;
line-height: 14pt;
}

#commentform h3 {
font-size: 10pt;
font-weight: bold;
color: #e8e8e8;
margin:0;
padding:0;
}

#comment {
width:80%;
}

#author, #email, #url, #comment, #submit {
font-size: 11px;
margin:5px 5px 0 0;
padding:0;
border: 1px solid #333;
background: none;
color: #e8e8e8;
}

#author, #email, #url {
height:18px;
padding:5px;
padding-left: 5px;
width: 200px;
}

#submit {
margin:5px 5px 0 0;
cursor:pointer;
color: #e8e8e8;
font-size: 16px;
border: none;
text-transform: none;
padding: 5px 7px 5px 7px;
border: solid 1px #333;
}

#comments {
margin:0;
padding:0;
}

#respond h3,
h3#comments {
color: #ffcc00;
font-size: 20px;
margin-bottom: 2px;
clear: left;
text-transform: none;
font-weight: normal;
font-family:MisoLight;
padding-top: 20px;
border: none;
padding-left: 5px;
}

.reply a.comment-reply-link {
font-size: 12px;
border: none;
padding:0;
color: #fff;
padding: 5px 7px 5px 7px;
text-transform: none;
border: solid 1px #333;
}

.reply a.comment-reply-link:hover,
#submit:hover {
color: #e8e8e8;
border: solid 1px #e8e8e8;
}

ol.commentlist {
list-style-type: none;
margin:0;
padding:0;
float:left;
margin-top: 15px;
border-top: solid 1px #333;
width: 470px;
}

.avatar {
float:left;
margin:0 12px 0 0;
}

ol.commentlist li {
border-bottom: solid 1px #333;
margin: 0;
margin-top: 20px;
display: block;
clear: left;
list-style-type:none;
float: left;
width: 450px;
padding-bottom: 20px;
}

ol.commentlist ul li {
border: none;
padding: 0;
width: 400px;
margin-top: 20px;
padding-left: 15px;
background: url(images/rightli.png) no-repeat left top;
}

ol.commentlist li.alt {

}

ol.commentlist li p {
margin: 6px 0 6px 0;
padding: 0 12px 0 0;
line-height: 14pt;
}

ol.commentlist a {
color: #666;
text-decoration: none;
}

textarea#comment {
width: 450px;
}

cite {
font-family:MisoLight;
font-size: 9pt;
font-weight: bold;
font-style: normal;
}

cite a {
color: #000;
text-decoration: none;
border-bottom: 1px dotted #000;
}


/* misc */

img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}

img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
padding-left: 2px;
}

.alignright {
float: right;
}

.alignleft {
float: left
}

.alignleft a {
margin: 5px;
}

.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
margin: 0 10px 10px 0;
}

.wp-caption img a{
margin: 0;
padding: 0;
border: 0 none;
margin: 0 auto;
}

p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
color: #333;
}

p { margin-top: 6px; }

#archivelist {
float:left;
margin-right: 0;

}

#archivelist ul li {
list-style: none;
line-height: 35px;
}

#archivelist ul {
height: auto;
margin-bottom: 30px;
}

#archivelist ul li a {
color: #666;
text-transform: uppercase;
}

#archivelist ul li a:hover {
text-decoration: none;
}


/* footer */

#footer {
width: 875px;
float: left;
padding-top: 20px;
clear: both;
margin-top: 15px;
margin-bottom: 50px;
color: #666;
background: url(images/linebg.png) repeat-x top;
}

#bottomwidgets {
float: left;
width: 550px;
font-size: 12px;
color: #e6e6e6;
}

#bottomwidgets .widgets {
width: 145px;
float: left;
margin-right: 25px;
}

#bottomwidgets a:hover {
color: #666;
}

#bottomwidgets ul li {
line-height: 15px;
background: url(images/rightli.png) no-repeat left top;
list-style: none;
padding-bottom: 5px;
margin-top: 5px;
color: #e8e8e8;
padding-left: 10px;
}

#bottomwidgets ul li a {
color: #e8e8e8;
border: none;
text-decoration: none;
}

#bottomwidgets ul li a:hover {
text-decoration: underline;
}

#bottomwidgets h2 {
font-size: 16px;
font-weight: normal;
text-transform: uppercase;
margin-bottom: 5px;
color: #e6e6e6;
margin-top: 2px;
}

#connect {
width: 200px;
float: right;
}

#copyinfo {
float: right;
width: 100%;
clear: right;
margin-top: 10px;
text-align: right;
font-size: 10px;
color: #ccc;
line-height: 120%;
}

#copyinfo a {
text-decoration: none;
border-bottom: dotted 1px #ccc;
font-size: 10px;
color: #ccc;
}

#copyinfo a:hover {
border: none;
}

#socialize {
width: 110px;
float: right;
text-align: right;
}

#socialize span {
color: #ffcc00;
font-size: 14px;
float: left;
margin-right: 5px;
margin-top: 3px;
}

#socialize a {
width: 50px;
height: 50px;
margin: 0;
margin-left: 0px;
padding: 0;
text-decoration: none;
float: left;
}


The page should be black, centered, footer on bottom, with a rainbow dividing line in it... seriously, how the heck did i break it so badly, I havent been able to figure out how.

AndrewGSW
08-07-2012, 06:09 PM
The following scripts are commented out


<!--<script type="text/javascript" src="http://mmp.power1.com/wp-content/themes/limage/js/cufon.js"></script>
<script type="text/javascript" src="http://mmp.power1.com/wp-content/themes/limage/js/santana.js"></script>
<script type="text/javascript">
Cufon.replace('.mainnav a, #rightmenu span, h3 a, h2, h3, h1, #socialize span, #bottomwidgets h2, .navigation', { fontFamily: 'santana', hover: 'true'});
</script>-->

so a later reference to Cufon causes an error because it doesn't exist. Remove the comment delimiters.

lmorales
08-07-2012, 06:20 PM
That was an earlier revision to make my custom font work, I dont *think* that broke the site as it was working before

SB65
08-07-2012, 06:27 PM
I get a virus threat warning when I access this site - all beware.

lmorales
08-07-2012, 06:46 PM
uhh what? I did not put a virus in this site -_-..do you think someone hacked my server or something? I think that must be a false warning, this is on a secure testing server at the moment.

lmorales
08-07-2012, 08:31 PM
Anyone? Ive been even trying reverting things and it doesnt seem to work ( i switched it back to what i put in the code brackets before)

lmorales
08-07-2012, 10:44 PM
So I narrowed it down to my custom font messing things up, I tried adding misolight font and it completely screws up everything, why would it do this?

tempz
08-07-2012, 10:56 PM
Have you cleaned your website yet for malicious content?

It seems that you may have a trojan living in your code or files, javascript file maybe!

lmorales
08-08-2012, 04:28 PM
I just had our developers check out the site, and they said they saw no viruses in there. Could Norton be giving a false positive maybe? What is making you guys think theres a virus in it?

lmorales
08-08-2012, 04:51 PM
Are you a spammer?... Well anyway, I checked my site against many malware checkers and all had found nothing. So I dont know where this is all coming from.

Lerura
08-08-2012, 05:01 PM
I just had our developers check out the site, and they said they saw no viruses in there. Could Norton be giving a false positive maybe? What is making you guys think theres a virus in it?

viewing the source code of your page it shows that there is a script starting with:

<script type='text/javascript'>var wow="mrzwhb2rb2mb2rb2b3db1infob1brb1ms";
and after that there is a lot of <a> s that is not rendered.

This script ends up executing the attack.

lmorales
08-08-2012, 05:14 PM
I dont see this script in any of my files.

Lerura
08-08-2012, 09:57 PM
Then it is because the virus adds it to the page while it is transfered.

The only browser where it is not added is IE.

It adds a script that allows mrzwheremeread.info.br.ms:81/rem2.html to attack users computer, - through your site

lmorales
08-09-2012, 03:14 PM
Ah ok, wonder how the hell that happened, this is just on a test server for god sakes! Thanks for the heads up!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum