Shadow2006-07-06 19:16 | Hello,
I want to center the header menu of my E-Store in the page. By default it is aligned to the left... but a can't find a way to center it.
Should i edit the page.tpl ou contents_menu.tpl?
Thanks, :) artur |
2006-07-06 20:08 | What version of QC you have? For QC 1.3 you have to edit default.css , find '#navi ul' class and modify it accordingly. |
Shadow2006-07-06 23:17 | wel.. it seamns i cant get it to work!
#navi{background-color:#1BA6B2;margin:0 20px 15px 20px;float:center;align:center;} #navi ul{margin:0;padding:0;width:508px;float:center;align:center;}
I changed the code but it stays the same! any ideias?
thanks* |
2006-07-07 02:17 | Try the following syntax:
#navi {background-color:#1BA6B2; margin:0 20px 15px 20px; text-align:center;} #navi ul {margin:0; padding:0; width:508px; text-align:center;}
Inside the css-file you must take "text-align" !!! ( In HTML it's align )
pepe |
2006-07-07 10:07 | The styles in default.css should look :
#navi{background-color:#1BA6B2;margin:0 20px 15px 20px; margin-left: auto; margin-right: auto; text-align: center;} #navi ul{margin:0;padding:0;width:408px;}
For more info look at http://dorward.me.uk/www/centre/
|