WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Centering the menu?
  • Print
Pages: [1]   Go Down

Author Topic: Centering the menu?  (Read 11452 times)

Offline Roych

  • Betatester
  • **
  • Posts: 573
  • Gender: Male
Centering the menu?
« on: December 03, 2009, 05:15:24 PM »
Hi

I'm using TEMPLERON template and I would like my menu to be in center of the page and not on the left as in default.
I have tried to change this in base.css but it's not working for me.
I can change it to right or left but not center.

float:right;
float: left;
Thoes two are working fine


float:inherit;
float:none;
those two are not! I tried center also!

I'm not very good at php and css, so I'm not sure what to do exatcly.

Is there something I'm doing wrong or

someone?

Thanx!
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: Centering the menu?
« Reply #1 on: December 03, 2009, 05:31:50 PM »
Try this

margin: 0 auto;

Dietmar
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Offline Roych

  • Betatester
  • **
  • Posts: 573
  • Gender: Male
Re: Centering the menu?
« Reply #2 on: December 03, 2009, 06:14:33 PM »
Hi

Thx for help!

Still doesent work. It center's the menu but the links are not in the line, but are messy like one word below the other!

any sugesstion?

thx!
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: Centering the menu?
« Reply #3 on: December 03, 2009, 06:17:00 PM »
If you can give us an url to look, or is it a local installation?

Dietmar
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Offline Roych

  • Betatester
  • **
  • Posts: 573
  • Gender: Male
Re: Centering the menu?
« Reply #4 on: December 03, 2009, 07:08:05 PM »
here is the link!

http://www.feel-fun.com/leon/

The page is still under construction so be gentle ;)

I have applyed the ( margin: 0 auto; ) so you can see what happens!

thx
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: Centering the menu?
« Reply #5 on: December 03, 2009, 07:18:18 PM »
I will be going to have a look
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: Centering the menu?
« Reply #6 on: December 03, 2009, 07:30:53 PM »
Sorry, but terrible, why don't you use the showmenu2? Can you zip and post the template here?

Dietmar
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Centering the menu?
« Reply #7 on: December 03, 2009, 07:54:05 PM »
Please have a look here and adapt your css: http://css.maxdesign.com.au/listamatic/horizontal16.htm

cheers

Klaus
Logged

Offline Roych

  • Betatester
  • **
  • Posts: 573
  • Gender: Male
Re: Centering the menu?
« Reply #8 on: December 03, 2009, 08:01:09 PM »
I know it's terrible, but this is the wish of my friend, he likes the look of that colorfull webpage!

Here is the template:

[gelöscht durch Administrator]
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: Centering the menu?
« Reply #9 on: December 04, 2009, 02:20:07 AM »
Hi,

after hard work, i finished it, pls download, install and try, think the rest of styling is not difficult for you. The problem with template is that it were made for WebsiteBaker 2.6, now it's ready for 2.7 and 2.8. Pls inform here, if all is ok

Dietmar

[gelöscht durch Administrator]
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Offline Roych

  • Betatester
  • **
  • Posts: 573
  • Gender: Male
Re: Centering the menu?
« Reply #10 on: December 04, 2009, 07:08:44 PM »
Thx,

sorry but it's still not working when I try to center the menu! it's still messy!

I want my menu to be in the horizontal line but in the width center of the page!

thx!
Logged

Offline Roych

  • Betatester
  • **
  • Posts: 573
  • Gender: Male
Re: Centering the menu?
« Reply #11 on: December 04, 2009, 07:15:16 PM »
Only thing that works is this.
When I change these parameters in 3-topmenu.css

ul#menu li {
    float: left;


or


ul#menu li {
    float: right;


everything else messes up the look of the menu

thx
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: Centering the menu?
« Reply #12 on: December 04, 2009, 07:47:37 PM »
Kann mir jemand bei der Übersetzung helfen, ich weiss nicht was er will.

Dietmar
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Offline Roych

  • Betatester
  • **
  • Posts: 573
  • Gender: Male
Re: Centering the menu?
« Reply #13 on: December 04, 2009, 08:18:24 PM »
Quote
Kann mir jemand bei der Übersetzung helfen, ich weiss nicht was er will.

Dietmar

I'm placing the photo of what I want! Sorry for not beeing clear in my explanation in my last posts!
And sry my english!



Hope this helps, I did it in photoshop!

[gelöscht durch Administrator]
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: Centering the menu?
« Reply #14 on: December 04, 2009, 08:20:31 PM »
ah ok, i think i can solved it

Dietmar
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Offline Roych

  • Betatester
  • **
  • Posts: 573
  • Gender: Male
Re: Centering the menu?
« Reply #15 on: December 04, 2009, 08:38:28 PM »
I would be really gratefull if you can!

Thx!
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: Centering the menu?
« Reply #16 on: December 04, 2009, 11:23:00 PM »
i try something, but i can't solve, think that is impossible because float:left is set. Without the float, style is destroid.

Dietmar
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Offline Roych

  • Betatester
  • **
  • Posts: 573
  • Gender: Male
Re: Centering the menu?
« Reply #17 on: December 04, 2009, 11:37:55 PM »
Yes I have noticed that. Everything I've tried was useles!

Anybody else out there??  :?

Thx anyway! ;)

Roych
Logged

Offline BerndJM

  • Posts: 1764
  • Gender: Male
Re: Centering the menu?
« Reply #18 on: December 05, 2009, 02:40:45 AM »
Hi,

if a float: left (or right) is set and you change this and after this change the remaining layout is destroyed, there are two possibilities to solve this:

- set in the template a "blind div" after the part you will change with:
Code: [Select]
<div style="clear:both"></div>
or (maybe and):
- set in the next element, following the changed, again a float:left in the css file.

Regards Bernd

Logged
In theory, there is no difference between theory and practice. But, in practice, there is.

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: Centering the menu?
« Reply #19 on: December 05, 2009, 03:07:13 AM »
Hi Bernd,

i already try this, no effect. Or may be i put it on the wrong place?

Dietmar
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

Offline Boudi

  • Posts: 1190
  • Gender: Male
  • //o_-\\
    • Yze Webdesign
Re: Centering the menu?
« Reply #20 on: June 01, 2010, 09:54:34 PM »
https://forum.WebsiteBaker.org/index.php/topic,18405.0.html
Logged
...:: Bake the Unbakable ::...

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Centering the menu?
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2