destoon切换城市后实现logo旁边显示地区名称的方法,destoonlogo
本文讲述了destoon切换城市后实现logo旁边显示地区名称的方法,针对不同地区建设分站的情况非常适用。
一般来说,当我们进入网站后默认的是总站,当我们开启城市分站的时候,点击选择分站后,在logo的旁边可以看到你选的城市分站名称,当选择全国的时候在logo旁边什么也不显示。
具体实现方法如下:
打开模板文件的header.htm的文件,将
{if $cityid} <span id="destoon_city">{$city_name}</span>{/if}
放到logo的图片旁边即可。
具体的样式可以根据自己的需要修改一下。
希望本文所述方法对大家的destoon开发有所帮助。
skin目录里修改相应的CSS 怎么修改哦??? www.china-tes.net
需要 调整一下模板 还有得关闭静态 就不会有这种情况了

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Linux new version
SublimeText3 Linux latest version

Notepad++7.3.1
Easy-to-use and free code editor

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.
