How to hide the copyright at the bottom of the X-Space personal Space to hide the title of The X-Space personal Space to hide the copyright of personal Space management _ PHP Tutorial

Source: Internet
Author: User
Hide the copyright method under the X-Space personal Space to hide the title of The X-Space personal Space. Found the following code: copyright can be hidden in css. because the file is ZEND, it cannot be deleted and is not recommended to be deleted.

1. how to hide the copyright under the X-Space personal Space



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

/* Footer */
# Xspace-footer {text-align: center; margin: 1em 0 0 0 ;}
# Xspace-footer 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 ;}

To:

/* Footer */
# Xspace-footer {text-align: center; margin: 1em 0 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 ;}
# Xspace-copyright em {color: # FF9900; font-weight: bold; font-style: normal ;}

2. how to hide the title of an X-Space personal Space:

Method 1:

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

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 X-space ','');



3. how to hide the copyright of X-Space personal Space management:

Modify admin/spacecp/style.css and find the following code:

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

Change

. Copyright {display: none ;}


4. you can delete the copyright of the SupeSite website in the template! (Not supported)

The directory is the following files under templates \ default:
Index.html. php
* _Header.html. php
* _Footer.html. php

Examples. 1. hide the copyright method under the X-Space personal Space to modify/css/space.css find the following code :/...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.