我對Magento很陌生。我使用HTML和CSS設計了一個主題。我想將我的自定義標題添加到magento中。將遵循什麼程序?Magento的自定義頭文件
任何人都可以告訴我在magento中整合頁眉/頁腳和主要內容的分步過程嗎?
尋找一個卓有成效的答覆
感謝
Teekeybee
HTML代碼:
<!DOCTYPE html>
<html>
<head>
<title>TeeKeyBee | Demo Page</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="css/bootstrap.css" rel="stylesheet" media="screen">
<link href="css/custom.css" rel="stylesheet" media="screen">
</head>
<body>
<div class="container">
<div class="row">
<header class="header-container">
<img src="img/logo.png"/>
<div class="row top-links">
<div class="span8"></div>
<div class="span2 borderr">Register | Login</div>
<div class="span2">Cart 0 € 0.00</div>
</div>
<div class="row top-menu">
<div class="span2"><img src="img/side_logo.png"/></div>
<div class="span10">Home | About Us | Services | Gallery | Contact Us</div>
</div>
</header>
</div>
</div><!-- End Container -->
<script src="http://code.jquery.com/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
CSS代碼:
.header-container {
width: 100%;
height: auto;
min-height: 50px;
background: #000;
}
.top-links {
width: 100%;
height: 40px;
background: #f8f8f8;
margin: 0 auto;
}
.top-menu {
width: 100%;
height: 40px;
background: #b6b6b6;
margin: 0 auto;
}
.borderr {
box-sizing: border-box;
border-right: 1px solid #c9c9c9;
}
請添加您的Magento版本。請參閱http://www.magentocommerce.com/knowledge-base/entry/magentos-theme-hierarchy – mike
請添加鏈接到您下載的主題。 – mike
magento 1.8.1.0 – KrisB