How do I change the Dedecms home page?
Individuals do not like the DEDECMS default home page layout, see a better template on the web, but do not know how to replace. And let the links in the new template change to what I need. Have a friend to know to give a train of thought. The more detailed the better, thank you!
------Solution--------------------
discuss
Individuals do not like the DEDECMS default home page layout, see a better template on the web, but do not know how to replace. And let the links in the new template change to what I need. Have a friend to know to give a train of thought. The more detailed the better, thank you!
------Solution--------------------
Dream Dedecms Change the number of display bars for a list» Weaving dream dedecms To change the top of the page top tips methods Daquan
1. Homepage headline plus background map
Found in \templets\style\page.css:
. Index. Bignews. onenews{
PADDING:8PX 12px;
border-bottom:1px solid #EBEBEB;
Modified to:
. Index. Bignews. onenews{
PADDING:8PX 12px;
Background:url (.. /images/bignews_bg.gif) top center no-repeat; Here is the place to add the background map, according to the beautiful situation, you can adjust a little bit padding
border-bottom:1px solid #EBEBEB;
2, home page headline Font Center:
In the \templets\default\index.html.
Found it
[field:title/]
Revision changed to
[field:title/]
It can be centered.
3. Title Length of homepage headline:
Open index.htm
Find the following:
{dede:arclist flag= ' h ' limit= ' 0,1 '}
[field:title/]
[field:description/] ... [View full text]
{/dede:arclist}
Find this line: {dede:arclist flag= ' h ' limit= ' 0,1 '}
Add such as: titlelen= ' you want the number ' as I want to display 20 kanji, i.e. add: titlelen= ' 40 '
That is: {dede:arclist titlelen= ' flag= ' h ' limit= ' 0,1 '}
Every 2 characters equals 1 Kanji!
4.420x60 ads on top of the page headline:
Find this code in the index.htm template,
Insert AD code here, you can use DIV to conveniently locate
------Solution--------------------
In \dedecms\templets\default, this is a dream. Default Template file
After logging in to the background, click on the left "system"
Template default style, site Settings, System
Specifically how to modify the Weave Dream template label, not few words can be said clearly, to the official to find help document it