로고관련 질문입니다!
- RIO
- 7
- 5,466
- 글주소
- 01-26
씨아이보드 홈페이지처럼 로고를 만들어서 넣어보고싶은데요~
views/_layout/bootstrap/layout.php 에서
=================================================================================================
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" <?php if ($this->cbconfig->get_device_view_type() != 'mobile') {?>data-toggle="collapse" data-target="#topmenu-navbar-collapse" <?php } ?> id="btn_side">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="<?php echo site_url(); ?>" class="navbar-brand" title="<?php echo html_escape($this->cbconfig->item('site_title'));?>"><?php echo $this->cbconfig->item('site_logo'); ?></a>
</div>
=================================================================================================
노란 부분에서 <a></a>사이에 이미지태그를 넣으며 되는건가요?
일단 테스트 해본 결과 잘 안되서요...
<a href="<?php echo site_url(); ?>" class="navbar-brand" title="<?php echo html_escape($this->cbconfig->item('site_title'));?>"><img src="Logo.jpg" alt="Site Logo"></a>