Home >CMS Tutorial >DEDECMS >Where to change the home page style in dedecms

Where to change the home page style in dedecms

angryTom
angryTomOriginal
2019-07-27 15:30:353799browse

Where to change the home page style in dedecms

If you want to know more about dedecms, you can click: DEDECMS tutorial

# The homepage style file of ##Dedecms is generally in the matching template file. The css style of the default template is in the style.css file in the css folder in the skin directory. The css styles of other templates are customized and require detailed analysis.

1. dedecms default template style.

1. The default template style position is fixed. Open the template file directory directly with the Vscode editor and navigate to the "default" folder. You can see the style folder, which contains all Is the style of the default template.

Where to change the home page style in dedecms

#2. Generally, the styles of the homepage are in the "dedecms.css" file, just open it and modify it.

Where to change the home page style in dedecms

#2. View the custom template css style.

The css style of custom templates is relatively flexible. Developers may place the style files in any directory. In this case, they need to analyze the template themselves.

1. Open the directory of dedecms and open the custom template folder.

Where to change the home page style in dedecms

2. Then open the homepage template file "index.htm". You can see that the css file path in the "" tag is generally what the template applies to. css style, you can modify it as long as you open it.

Where to change the home page style in dedecms

#3. Press the "crtl" key, and the "Hold down Crtl and click to access the connection prompt" will appear on the editor page.

Where to change the home page style in dedecms

#4. At this time, hold down the "crtl" left button of the mouse and click the path under the link label. Vscode will automatically locate the directory of the file and open the changed file.

Where to change the home page style in dedecms

Finally you can modify the style.

The above is the detailed content of Where to change the home page style in dedecms. For more information, please follow other related articles on the PHP Chinese website!

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