adding a new menu item in 3.0.7.2 or later styles

User avatar
spaceace
Site Owner
Posts: 921
Joined: Wed Dec 16, 2009 8:30 pm
Location: Ontario, Canada
Flag: Canada

adding a new menu item in 3.0.7.2 or later styles

Post by spaceace » Sun May 16, 2010 2:59 pm

for just a simple link/button(not drop down) in the header

open template/menu.html

find
Code: Select all
	</ul>
</div>
add before
Code: Select all
	<li><a href="your link here" title="title of your link here">your link text here</a></li>
for a drop down style link

open template/menu.html

find
Code: Select all
	</ul>
</div>
add before
Code: Select all
		<li><a href="#">you link text here<!--[if gte IE 7]><!--></a><!--<![endif]-->
		<!--[if lte IE 6]><table><tr><td><![endif]-->
			<div class="holder p1">
				<div class="slide">
					<dl>
						<dt>your first link header text here</dt>
							<dd><a href="first link here" title="first link title here">first link text here</a></dd>
							<dd><a href="first link2 here" title="first link2 title here">first link2 text here</a></dd>
						<dt>your second link header text here</dt>
							<dd><a href="second link here" title="second link title here">second link text here</a></dd>
							<dd><a href="second link2 here" title="second link2 title here">second link2 text here</a></dd>
					</dl>
					<br class="clear" />
				</div>
			</div>
		<!--[if lte IE 6]></td></tr></table></a><![endif]-->
		</li>
refresh the template cache in ACP
Last edited by spaceace on Tue Feb 26, 2013 10:29 am, edited 2 times in total.

if you like my work and would like to contribute to my development of styles, please donate by using the donate button in the header.

Image

Image

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests