Home > Backend Development > PHP Tutorial > How to display the region name next to the logo after destoon switches cities, destoonlogo_PHP tutorial

How to display the region name next to the logo after destoon switches cities, destoonlogo_PHP tutorial

WBOY
Release: 2016-07-13 10:20:27
Original
817 people have browsed it

The method of displaying the region name next to the logo after destoon switches cities, destoonlogo

This article describes how to display the region name next to the logo after destoon switches cities. It is very suitable for building sub-stations in different regions.

Generally speaking, when we enter the website, the default is the main station. When we open the city branch, click to select the branch, and you can see the name of the city branch you selected next to the logo. When you select the nationwide Nothing is displayed next to the logo.

The specific implementation method is as follows:

Open the header.htm file of the template file and change

{if $cityid} <span id="destoon_city">{$city_name}</span>{/if}
Copy after login

Just place it next to the logo picture.

The specific style can be modified according to your own needs.

I hope the method described in this article will be helpful to everyone’s destoon development.

When destoon replaces the LOGO, the picture is larger than the original and cannot be fully displayed. What should be changed?

How to modify the corresponding CSS in the skin directory? ? ? www.china-tes.net

Why doesn’t destoon city sub-station switch?

You need to adjust the template and turn off static so that this situation won't happen

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/867232.htmlTechArticleHow to display the region name next to the logo after destoon switches cities, destoonlogo This article describes how to display the region name next to the logo after destoon switches cities. The method of displaying region names is built for different regions...
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template