0
부트 스트랩의 토글 버튼 메뉴가 작동하지 않습니다. 대신 내 메뉴가 축소됩니다. 축소하는 것과 같습니다. 나는 크롬 도구를 사용하여 얼마나 호감적인지를보고 콘텐츠가 잘 작동하지만 메뉴에서이 문제가 발생합니다.부트 스트랩의 토글 버튼 메뉴가 작동하지 않습니다.
<!DOCTYPE html>
<html>
<head>
<title><?php echo get_bloginfo('name'); ?> - <?php bloginfo('description'); ?></title>
<link rel="stylesheet" type="text/css" href="<?= get_template_directory_uri(); ?>/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="<?= get_template_directory_uri(); ?>/css/style.css">
</head>
<body>
<nav class="navbar navbar-default navbar-inverse navbar-fixed-top" role="navigation">
<div class="container-fluid" id="navfluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navigationbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="<?php echo get_home_url() ?>"><?php echo get_bloginfo('name'); ?></a>
</div>
<div class="collapse navbar-collapse" id="navigationbar">
<ul class="nav navbar-nav">
<li><a href="<?php echo get_home_url() ?>"><span class="glyphicon glyphicon-home" aria-hidden="true"></span> Home</a></li>
<li><a href="news"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Blog </a></li>
</ul>
</div>
</div>
</nav>
죄송합니다. 내 실수는 누락되었습니다. –