Hide X-space Personal space under copyright method hide X-space Personal space title Hide X-space Personal Space Management Copyright Method _php Skills

Source: Internet
Author: User
Copyright can be hidden in CSS settings. The file cannot be deleted because it is Zend and is not recommended for deletion.

1. Hide X-space personal space under the copyright method



Modify/CSS/SPACE.CSS Locate 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;}

Modified 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. Hide X-space Personal Space Title method:

Method One:

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

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 Two:

Document.title = Document.title.replace ('-Powered by X-space ', ');



3. Hide X-space Personal Space Management Copyright method:

Modify ADMIN/SPACECP/STYLE.CSS Locate the following code:

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

To

. copyright {Display:none;}


4. Delete Supesite website's copyright in the template can be directly deleted! (strongly not supported)

The directory is the following file under Templates\default:
index.html.php
*_header.html.php
*_footer.html.php

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.