diff options
| author | 时光 <i@timemc.cn> | 2019-12-02 13:29:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-02 13:29:55 +0800 |
| commit | 7a5f537ded6503b625487e51900e9fb3ff7cc630 (patch) | |
| tree | b12cca0f2ed567883ef071cc0e8f44ba5f88499e /includes | |
| parent | cb729be59dca4479d6510b8c45c9af625889960d (diff) | |
为nav添加id以供样式切换
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/header.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/header.php b/includes/header.php index d41d493..8f6e789 100644 --- a/includes/header.php +++ b/includes/header.php @@ -98,7 +98,7 @@ </div> </div> <!-- -小屏幕导航 --> - <nav class="small-screen nav nav-mobile nav-fixed"<?php if($this->options->navStyle==1): ?> style="display:none!important"<?php endif; ?>> + <nav class="small-screen nav nav-mobile nav-fixed"<?php if($this->options->navStyle==1): ?> style="display:none!important"<?php endif; ?> id="navBar"> <div class="nav-mobile-content"> <a href="<?php $this->options->SiteUrl(); ?>" style="float:left"><i class="iconfont icon-xuanzhongshangcheng"></i></a> <a id="search-open-mobile" style="float:left"><i class="iconfont icon-chaxun"></i></a> @@ -110,7 +110,7 @@ <?php if($this->options->navStyle==0): ?> <!-- 导航 --> <!-- -大屏幕导航 --> - <nav class="large-screen nav nav-fixed"> + <nav class="large-screen nav nav-fixed" id="navBar"> <div class="container"> <p class="nav-content"> <a href="<?php $this->options->SiteUrl(); ?>" class="nav-title"><?php $this->options->title(); ?></a> @@ -173,4 +173,4 @@ </div> </header> <br><br><br> -
\ No newline at end of file + |
