Jump to content

[SOLVED] Problems with my new menu


Tylor Eddy

Recommended Posts

G'day Guys,

I have been trying to get my new drop down menu working for my site, I've spent quite a few hours on this, but am getting nowhere. Some help would be very greatly appreciated, to point my back in the right track

menu here: http://qantasvirtual.com/dev/

if you need to take a look at the coding, just let me know and ill chuck it up.

I am unsure why the footer has moved to its current position. what i am aiming for is to get the pilot center to display under crew when logged in, and not be there if a user isnt logged in.

Cheers

Link to comment
Share on other sites

It looks like you might be missing 2

</div>

on the bottom.

You probably need to change this:

<li><a href="http://qantasvirtual.com/dev/index.php/registration"><font size="1">Register</font></a></li>

to this

<li><a href="http://qantasvirtual.com/dev/index.php/registration">Register</a></li>

That should align the Register link with the others in that menu under Crew.

Link to comment
Share on other sites

It looks like you might be missing 2

</div>

on the bottom.

You probably need to change this:

<li><a href="http://qantasvirtual.com/dev/index.php/registration"><font size="1">Register</font></a></li>

to this

<li><a href="http://qantasvirtual.com/dev/index.php/registration">Register</a></li>

That should align the Register link with the others in that menu under Crew.

is the <div> tag missing from core_navigation.tpl, or layout.tpl ?

take a look now, i've implemented the changes you recommended

Link to comment
Share on other sites

I believe it should be in the layout.tpl file, at least mine is (although I use ObsessBlue)

i have this for my menu

<!-- Menu Starts -->
	<div id="menu">
	<!-- Menu Items Starts -->
	<ul class="menu">
			<?php Template::Show('core_navigation.tpl'); ?>
	</ul>
	<!-- Menu Items Ends -->
	</div>
<!-- Menu Ends -->

its almost done, it just wont stretch the whole way across the site, and that footer needs a foot up the a#@ haha

thanks for your help so far

Link to comment
Share on other sites

the core_navigation.tpl is where you would change the link part of my answer. the </div> part should be located in the layout.tpl

Ok i fixed it, now it wont display the complete length of the site, thats a css issue right ?,

and also ive lost my images above the bar as well, i'm not sure why that is, i didnt remove anything, just added code.

Link to comment
Share on other sites

I just don't see the missing code that would make the Header Images just disappear like that. You might need to wait for another big brain to pop in here to see if they can come up with a solution.

On the Menu width problem... Check your .css for it and you can try to use width=100% (or try width="100%") whichever one it asks for to see if that will stretch it across the page, instead of having it stop mid-way through.

Sorry I couldn't help you all the way bud. :(

Link to comment
Share on other sites

I just don't see the missing code that would make the Header Images just disappear like that. You might need to wait for another big brain to pop in here to see if they can come up with a solution.

On the Menu width problem... Check your .css for it and you can try to use width=100% (or try width="100%") whichever one it asks for to see if that will stretch it across the page, instead of having it stop mid-way through.

Sorry I couldn't help you all the way bud. :(

You were a great help, i worked out it was a piece of javascript that i put into the core_navigation.tpl that upset it all, now i just need to work out why it wont do what its meant to.

Thanks very much, very greatly appreciated :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...