How do I change the Dedecms home page? Solution Solutions

Source: Internet
Author: User
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
  • 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.