Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 14 of 14
  1. #1
    Regular Coder
    Join Date
    Mar 2011
    Posts
    212
    Thanks
    10
    Thanked 1 Time in 1 Post

    Exclamation Broke website, please help!

    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

    Code:
    .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;
    }

    Code:
    /*
    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.

  • #2
    Senior Coder
    Join Date
    Apr 2011
    Location
    London, England
    Posts
    2,120
    Thanks
    15
    Thanked 354 Times in 353 Posts
    The following scripts are commented out

    Code:
    <!--<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.
    "I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
    Validate your HTML and CSS

  • #3
    Regular Coder
    Join Date
    Mar 2011
    Posts
    212
    Thanks
    10
    Thanked 1 Time in 1 Post
    That was an earlier revision to make my custom font work, I dont *think* that broke the site as it was working before

  • #4
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,951
    Thanks
    9
    Thanked 724 Times in 718 Posts
    I get a virus threat warning when I access this site - all beware.

  • #5
    Regular Coder
    Join Date
    Mar 2011
    Posts
    212
    Thanks
    10
    Thanked 1 Time in 1 Post
    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.
    Last edited by lmorales; 08-07-2012 at 07:01 PM.

  • #6
    Regular Coder
    Join Date
    Mar 2011
    Posts
    212
    Thanks
    10
    Thanked 1 Time in 1 Post
    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)

  • #7
    Regular Coder
    Join Date
    Mar 2011
    Posts
    212
    Thanks
    10
    Thanked 1 Time in 1 Post
    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?

  • #8
    Regular Coder
    Join Date
    Jul 2012
    Location
    London
    Posts
    473
    Thanks
    4
    Thanked 86 Times in 86 Posts
    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!

  • #9
    Regular Coder
    Join Date
    Mar 2011
    Posts
    212
    Thanks
    10
    Thanked 1 Time in 1 Post
    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?

  • #10
    Regular Coder
    Join Date
    Mar 2011
    Posts
    212
    Thanks
    10
    Thanked 1 Time in 1 Post
    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.

  • #11
    Regular Coder Lerura's Avatar
    Join Date
    Aug 2005
    Location
    Denmark
    Posts
    908
    Thanks
    0
    Thanked 120 Times in 119 Posts
    Quote Originally Posted by lmorales View Post
    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:
    Code:
    <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.

  • #12
    Regular Coder
    Join Date
    Mar 2011
    Posts
    212
    Thanks
    10
    Thanked 1 Time in 1 Post
    I dont see this script in any of my files.

  • #13
    Regular Coder Lerura's Avatar
    Join Date
    Aug 2005
    Location
    Denmark
    Posts
    908
    Thanks
    0
    Thanked 120 Times in 119 Posts
    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

  • #14
    Regular Coder
    Join Date
    Mar 2011
    Posts
    212
    Thanks
    10
    Thanked 1 Time in 1 Post
    Ah ok, wonder how the hell that happened, this is just on a test server for god sakes! Thanks for the heads up!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •