How does zblog do drop-down navigation? Method of making zblogphp pull-down navigation menu
#nav{font-size:14px;font-weight:700;background-color: #333333; width: 970px; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; border-radius: 4px; padding-right: 5px; padding-left: 5px; position:relative; z-index:1} #nav ul{height: 40px;line-height: 40px; overflow: hidden;} #nav ul li{float:left;border-right-width: 1px; border-right-style: solid; border-right-color: #222; width: 100px;} #nav ul li a{display:block;text-align:center;color:#FFF;line-height: 40px;} #nav ul li a:hover,#nav ul li a.on{color:#fff; background-color:#d31f07;} #nav li ul{line-height: 35px;list-style-type: none; left: -999em; position: absolute; width: 100px; padding-top: 0px; overflow: visible;} #nav li ul li{float: left;border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px; background-color: #333333; border-bottom-style: solid; border-bottom-color: #111111;} #nav li ul li a{display: block;text-align:center;width: 100px; padding: 0px; background-image: none; line-height: 40px; height: 40px; font-weight: normal;} #nav li ul a:hover{color:#ffffff;text-decoration:none;font-weight:normal;background-color: #d31f07;} #nav li:hover ul{left: auto;} #nav li.sfhover ul{left: auto;}
<div id="nav"><ul><li><a href="{$host}">Home</a></li>{module: catalog}</ul></div>
<div id="nav"><ul><li><a href="{$host}">Home</a></li>{module: navbar}</ul></div>
<li><a href="#">First level navigation</a><ul><li><a href="#">Second level navigation 1</a></li><li><a href="#">Second level navigation 2</a></li></ul></li>
Can't find a tutorial that can solve your problem?
-
Charging zblogphp template The 9th zblog enterprise theme of Tianxing Studio has its own form to submit email reminders, etc zero 2019-12-11 seventeen thousand four hundred and nine Price: four hundred and sixty-eight Online purchase -
Charging zblogphp template Tianxing Studio ppt download template is suitable for sites with resources to sell vips one 2019-10-03 thirteen thousand seven hundred and sixty-four Price: one hundred and ninety-nine Online purchase -
Wordpress template Tianxing Studio wordpress download station theme is applicable to software/app/game and other download stations zero 2022-05-06 twelve thousand three hundred and eighty-four Price: three hundred and fifty-five Online purchase -
Charging zblogphp template Tianxing Studio zblogphp enterprise theme 6 Self configurable atmosphere zblog enterprise theme two 2018-06-26 forty-nine thousand nine hundred and eighty-four Price: two hundred and fifty-eight Online purchase
Related recommendations
-
A pure html+css drop-down navigation animation effect 01-24 -
The simplest way to write the code required for zblog drop-down navigation! 12-25 -
Zblog drop-down navigation: drawer drop-down navigation 09-09 -
Code demonstration required for zblog template to implement drop-down navigation function 10-17 -
Reprint: Solution to the navigation pull-down menu being covered by the slide below 12-04 -
What if the drop-down navigation menu is blocked? 12-13 -
Complex drop-down navigation for work records 08-17
yes three Comments from netizens:
-
Junior Six Nine years ago (2016-03-29) reply How to change the css part?
-
Zrdiy e-learning network 10 years ago (March 6, 2015) reply My blue simple theme is to add the above css code to the css file, and then replace the header. php, and the last line of code with the above html code,, Only the CSS code of the first level navigation is added or replaced,, -
Tianxing Studio 10 years ago (March 6, 2015) reply To replace the original navigation bar CSS and modify the corresponding page, this CSS code is not universal and must be modified
-
welcome you Comment:
Cancel Reply
-
Zblog enterprise theme -
Zblog image theme -
Zblog resource topic -
Zblog CMS topic -
Wordpress template -
Zblog video theme -
Zblog Taobao guest theme -
Zblog navigation topic
Select a theme?
-
Latest articles -
Hot article ranking -
Most Comments
-
one Shopping activity on the official website of Tianxing Studio: unlimited number of times and amount of 20% discount coupons 04-17 -
two Tianxing Studio zblog pure blog theme vue3+applet dual version 03-19 -
three Error causes and solutions of introducing vant into vue3 project 03-12 -
four Tianxing Studio zblog encyclopedia theme can be matched with member plug-ins to realize knowledge payment profitability 03-06 -
five How does zblog intercept a summary with a specified number of words? Introduction to the custom interception method of zblog summary 02-29 -
six Tianxing Studio 2023 Double 11 Event: 50% discount coupons 11-05 -
seven Tencent Cloud 2023 Double 11 Activity: 2H2G3M lightweight server 88 new users for one year 11-05 -
eight AliCloud 2023 Double 11 Activity: 2-core 2G3M bandwidth ECS 99 yuan/year! 10-31 -
nine Tianxing Studio zblog free login paid reading plug-in supports Alipay WeChat payment Hupi Pepper payment 10-09
-
Label aggregation -
×1 No network ×1 Waste flow ×1 zblog-wiki ×1 Computer side theme ×1 iis ×1 Zblog file ×1 Mall template ×1 Dual 11 server ×1 favicon.ico ×1 Ie browser test tool ×1 Wordpress website ×1 Charging template ×1 Free zblog template ×1 Zblog file function ×1 Zblog tips ×1 Zblog account ×1 Ckplayer player ×1 Lusongsong formwork ×1 Comment real name system ×1 Zblogphp single article
Latest comments
-
Tianxing Studio 07-05 See the update record, which was updated on the 29th of last month Commented on: Tianxing Studio zblog novel station theme online multiple/single novel switching can open the charging function -
visitor 07-05 Is this topic still updated Commented on: Tianxing Studio zblog novel station theme online multiple/single novel switching can open the charging function -
Tianxing Studio 06-15 Open the editing text, select the code language, and then whether you enter and break lines or copy and paste, it will not be divided into one line and one box, so I don't understand how you did it Commented on: Introduction to the code for zblog to determine whether the plug-in is installed or enabled -
visitor 06-14 Many lines of code posted in zblog articles are divided into one line and one box, one line and one box. How to adjust the code to be the same as yours in one box Commented on: Introduction to the code for zblog to determine whether the plug-in is installed or enabled -
Tianxing Studio 06-13 This function is already available Commented on: Tianxing Studio zblog navigation single page plug-in: every webmaster needs a dedicated navigation page!