I want to centre the menu in the header. I thought it was controlled with the #header ul, but I have tried several things without any luck. Can someone provide me with the necessary parts of style.css that control the position of the header menu?
Thanks,
Kimberly.
Menu position in header
Moderator: Thorsten
Hi,
just add a <div> around the <ul> in index.tpl and set the correct CSS attribute.
bye
Thorsten
just add a <div> around the <ul> in index.tpl and set the correct CSS attribute.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
I can't seem to figure this out.
I can't seem to figure this out at all. I put the div around the ul but there must be other settings that are overriding my div statement. If anyone wants to help out a newbie, please walk me through this. I am sure that once I conquer something this simple, I will have a better insight into customising the layout. I don't understand why I was able to twist QuickSilver Forums around and this is beating me.
Thanks in advance,
Kimberly.
Thanks in advance,
Kimberly.
Hi Kimberly,
just send me an e-mail with your layout and I'll take a look at it.
bye
Thorsten
just send me an e-mail with your layout and I'll take a look at it.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
I need to learn this stuff.
I need to learn this stuff. Would someone tell me why adding a margin-left: auto; margin-right: auto; to the #header ul doesn't cause the menu to be centred?
#header ul {
width: auto;
position: absolute;
bottom: 0;
right: 0;
margin-left: auto;
margin-right: auto;
padding: 0 15px 0 0;
list-style: none;
}
Thank you,
Kimberly.
#header ul {
width: auto;
position: absolute;
bottom: 0;
right: 0;
margin-left: auto;
margin-right: auto;
padding: 0 15px 0 0;
list-style: none;
}
Thank you,
Kimberly.
Hi,
a <div> block with text-align: center around the menu list with <ul> sould center the menu.
bye
Thorsten
a <div> block with text-align: center around the menu list with <ul> sould center the menu.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Thank you for your help.
I have been spending my time since my last post learning CSS and I have managed to change the complete layout to my needs. Thank you so much for taking the time to help me. When I get the site ready for use, I will send you the link.
Once again, Thank you,
Kimberly.
Once again, Thank you,
Kimberly.
Hi Kimberly,
that's nice to hear!
bye
Thorsten
that's nice to hear!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist