Discuz forum website home page narrow screen custom width modification tutorial

The discuz forum management center has narrow screen and wide screen options by default. The default narrow screen width is 960px. Many forums basically have a width of 1200px for the sake of beautiful pages. How to modify the narrow screen width of the DZ forum homepage? Feifei shares it with you today.

Insert image description here
1. Open the files in the root directory of the website in sequence/template/default/common/common.css

Insert image description here
2. Quickly search for 960 directly in the file (the search shortcut key in the text editor is ctrl+F5). Three places will appear. Change the 960 in these three places to 1200. Mine has been changed to 1200, so I directly searched for 1200.

Insert image description here
Insert image description here
3. Save after modification, open the management center - template in the website, click Update CSS Cache, and force refresh the website after the update is successful.

Insert image description here
The above is about how to modify the narrow screen custom width of the home page of the Discuz forum website. Thank you for reading. Server Base Camp will help you become a more professional server administrator!

Guess you like

Origin blog.csdn.net/JUFENG_FEI/article/details/132916662