Reposition Menu

I want to place 3 menu links under the video and 2 next to them so it fits into the white space below the video on this home page.

Please give me the html/css to do this?

What have you tried?

I duplicated the menu then tried to position it next to the current one but it appeared below instead of next to it

Assuming you haven’t changed your code again in the last few minutes then you will need the following styles to alter that menu to fit.

#container1 .leftnav{

#container1 .leftnav ul{
#container1 .leftnav ul li{
#container1 .leftnav ul  a{
border-top:1px solid #fff;
#container1 .leftnav ul li:nth-child(odd) a{border-right:1px solid #fff;}

It will then look like this live screenhot.

As others have mentioned your code is very old school and really needs to be updated to modern standards. You are using magic number techniques that don’t really work. I understand that you may be new to html and css and not able to fully update the code.

We are here to help you if you want to learn but we are not here to offer free code as such and thats why we keep asking what you have attempted so far by yourself. :slight_smile:


Thank you
I added the CSS to the home-md.css style sheet but didn’t see the change on the page

For me the page looks just like the screenshot in Paul’s last post.

It sounds like you need to clear your browser cache. It is still storing the old css file prior to your changes.

1 Like

I can see the changes ok on here

A Ray said you probably need to clear the cache.

I would also clear the double bottom border from that new nav unless you like it.

#container1 .leftnav ul a{

It would have been better to create a new nav class for the middle rather than reuse leftnav again as you now have a leftnav in the middle of the page! … and if you apply new rules to leftnav you also change the middle nav in error.

You also need to remove the height on rotator2 and remove the background colour. You will seldom apply heights to elements that hold various text content as you don’t know what that height will be and it will vary between browsers anyway due to different font-sizing and line heights which you haven’t controlled explicitly. Let the content dictate the height and don’t try to force it with fixed heights as it won’t work anyway especially if a user has resized text via their browser controls.

1 Like

You’re right…I just checked in another browser and it looks fine

Done! thank you for the css snippet and pointing out the duplicate left nav…I wanted to make it easy
I’m afraid to mess up the whole page if I created a new nav class

Thx so much for your help


Always make sure you have a full backup before fiddling with anything on the site. That way you can simply restore it if things go wrong. smile And, of course, never work on the live site.


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.