Home  >  Article  >  Backend Development  >  How to hide the copyright below X-Space personal space. Hide the title of X-Space personal space. How to hide the copyright of X-Space personal space_PHP tutorial

How to hide the copyright below X-Space personal space. Hide the title of X-Space personal space. How to hide the copyright of X-Space personal space_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:57:15812browse

Copyright can be hidden in css. Since the file is ZENDed, it cannot be deleted and is not recommended.

1. How to hide the copyright under X-Space personal space



Modify /css/space.css to find the following code:

/*footer*/
#xspace-footer { text-align : center; margin: 1em 0 0 0; }
#xspace -Fotern P {Margin: 0.3EM 0;}
#xspace-Copyright {font: 10px Verdana, Arial, Helvetica, Sans-Serif; Margin: 0; Padding-Bottom: 2em;}
#Xspace-copyright strong { color: #036; font-weight:bold; }
#xspace-copyright em { color: #FF9900; font-weight:bold; font-style: normal; }

Modify to:

/*footer*/
#xspace-footer { text-align : center; margin: 1em 0 0; }
#xspace-footer p { margin: 0.3em 0; }
#xspace-copyright { font: 10px Verdana, Arial, Helvetica, sans-serif; margin: 0; padding-bottom: 2em; display:none; }
#xspace-copyright strong { color: #036; font-weight:bold; }
                                                                                                                                                                                                                                           :

Method 1:

Find /include/js/common.js and add the following code to it

function title_powered(str2) {
var str1 = document. title;
var str2 = str1.indexOf(" - powered by X-Space");

if (str2 != -1) {
document.title=document.title.substring( 0,str2);
}

}
title_powered();

Method 2:

document.title = document.title.replace(' - powered by The following code:

.copyright { font-size: 12px; margin: 0; }

is changed to

.copyright { display:none; }


4. Delete the copyright of the SupeSite website and delete it directly in the template! (Strongly not supported) The

directory is the following file under templatesdefault:
index.html.php
*_header.html.php
*_footer.html.php




http://www.bkjia.com/PHPjc/317895.html

www.bkjia.com

true

http: //www.bkjia.com/PHPjc/317895.html

Copyright can be hidden in css. Because the file is ZENDed, it cannot be deleted and is not recommended to be deleted. 1. Hide Modify the copyright method under X-Space personal space /css/space.css and find the following code: /...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn