- This topic has 4 replies, 2 voices, and was last updated 16 years, 2 months ago by imported_Ryan.
-
AuthorPosts
-
September 12, 2008 at 12:11 am #362IanMember
am learning php so be gentle with me …” title=”Smiley” />
i had
[code:3eu14yzj]<div id="nav" class="clearfix">
<ul>
<li><a href="<?php echo get_settings(‘home’); ?>/">Home</a></li>
<?php wp_list_pages(‘depth=1&title_li=’); ?>
</ul>
</div>[/code:3eu14yzj]
and replaced it with[code:3eu14yzj]<?php if (function_exists(‘suckerfish’)) {suckerfish();} ?>[/code:3eu14yzj]
(inbetween <ul> tags … menu does not roll over and shows all pages … (busted in other words) … basically … where do i put
<?php if (function_exists(‘suckerfish’)) {suckerfish();} ?>and what do i delete…
sorry for being dumb … bit of a learning curve!
thanks for any help anyone can offer
EDIT by Ryan: placed code inside [html][code:3eu14yzj][/html] tags.[/size][/code:3eu14yzj]
September 12, 2008 at 3:43 am #3669imported_RyanMemberI need a link to your site before I can help properly.
What you did looks fine, but I guess there is something else on the page which is causing problems for you.
[quote:1thhggj8]am learning php so be gentle with me[/quote:1thhggj8]
Me too. Fortunately your problem is not PHP related ” title=”Smiley” />
September 12, 2008 at 3:49 am #3670IanMemberSeptember 12, 2008 at 4:12 am #3671imported_RyanMemberBay of Plenty eh? Good to see some fellow kiwis in the web design world ” title=”Smiley” />
I recommend avoiding specifying generic list items etc. in your style sheet as it tends to cause problems later on. By adding the following code to the end of the CSS for the plugin I was able to get it working fine.
[code:2x9ciwqm]li {
margin-left: 0; list-style-image:url(”)
}[/code:2x9ciwqm]The following code should place the menu where (I assume) you want the menu to be (I’ve left your original menu in comment tags so you know what needs to be removed):
[code:2x9ciwqm]
<div class="header">
<h1><a href="http://www.balesrus.co.nz"></a></h1>
</div><?php if (function_exists(‘suckerfish’)) {suckerfish();} ?>
<!–<div class="navigation">
<a href="http://www.balesrus.co.nz/?page_id=26">Home</a><a href="http://www.balesrus.co.nz/?page_id=3">Products</a>
<a href="http://www.balesrus.co.nz/?page_id=9">About Us</a><a href="http://www.balesrus.co.nz/?page_id=29">Other Services</a>
<a href="http://www.balesrus.co.nz/?page_id=13">Contact Us</a>
<a href="http://www.balesrus.co.nz/?page_id=17">Order Form</a>
<div class="clearer"><span></span></div></div>–>
[/code:2x9ciwqm]September 12, 2008 at 5:16 am #3672imported_RyanMemberHang on a minute. You said you ‘all pages’ were showing. Did you enter any CSS into the admin page? You currently have nothing in there, which would explain why the menu is not displaying anything.
You need to either code the CSS yourself, or go grab some CSS from the generator … https://geek.hellyer.kiwi/suckerfish_css/
-
AuthorPosts
- You must be logged in to reply to this topic.