Home >Backend Development >PHP Tutorial >How to display the region name next to the logo after destoon switches cities, destoonlogo_PHP tutorial
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}
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.
How to modify the corresponding CSS in the skin directory? ? ? www.china-tes.net
You need to adjust the template and turn off static so that this situation won't happen