0
Welcome Guest! Login
0 items Join Now

Remove Home item in mainmenu

    • Franck's Avatar
    • Franck
    • Elite Rocketeer
    • Posts: 1049
    • Thanks: 0

    Remove Home item in mainmenu

    Posted 17 years 10 months ago
    • Hello RTteers,

      I'm playing with bentobox template but my question is for any template.

      I would like to remove the mainmenu and leave only another menu; in bentobox for example, only the top menu. Then in the index, I choose suckerfish to be able to make a full header. I renamed the suckerfish.css. Now I have only the word "Home" displayed (it's no more linked) but I don't know how I can remove it. I tried to uncomment the mainmenu/suckerfish in template index.php but the template is totally broken. I tried to play with index and css but without success.

      Someone here have an idea to remove the Home or to place it in the background?

      I can't post an url. I'm working on my local machine 8)

      Thanks!
    • CG Icon's Avatar
    • CG Icon
    • Hero Rocketeer
    • Posts: 371
    • Thanks: 0

    Re: Remove Home item in mainmenu

    Posted 17 years 10 months ago
    • Just unpublish the menu
  • Re: Remove Home item in mainmenu

    Posted 17 years 10 months ago
    • There must be a reason for you want it to be there?

      You could apply a really really really low z-index such as -99 to the main nav bar so it goes underneath the header.
    • James Spencer / Developer & Support / Hull, UK
    • CG Icon's Avatar
    • CG Icon
    • Hero Rocketeer
    • Posts: 371
    • Thanks: 0

    Re: Remove Home item in mainmenu

    Posted 17 years 10 months ago
    • If I understand right he has the functions in his top menu that he wants,,, now,, he wants ti disable the typical main menu from the left or right column but leave behind his useer menu or other menu in said right or left column

      is that right Franck??

      if so


      just unpublish "main menu" if "top Menu" has all the functions you need..
  • Re: Remove Home item in mainmenu

    Posted 17 years 10 months ago
    • I just have a feeling that he would have already tried something like that.

      Joomla! does some weird things with the mainmenu > Home :o
    • James Spencer / Developer & Support / Hull, UK
    • Franck's Avatar
    • Franck
    • Elite Rocketeer
    • Posts: 1049
    • Thanks: 0

    Re: Remove Home item in mainmenu

    Posted 17 years 10 months ago
    • Thanks CG Icon and james for reply.

      Yes I already tried that. If I unpublish the Home item in the main menu, the main page cannot be accessed. If I unpublish the mainmenu module, the word Home (accueil) is not deleted.
  • Re: Remove Home item in mainmenu

    Posted 17 years 10 months ago
    • Did you try my z-index idea? As in,

      Open style.css

      Find
      .suckerfish #nav-sub li {
      border-left:1px solid #527190;
      border-right:1px solid #1F405F;
      }

      Change to
      .suckerfish #nav-sub li {
      border-left:1px solid #527190;
      border-right:1px solid #1F405F;
      z-index:-10;
      }
    • James Spencer / Developer & Support / Hull, UK
    • Franck's Avatar
    • Franck
    • Elite Rocketeer
    • Posts: 1049
    • Thanks: 0

    Re: Remove Home item in mainmenu

    Posted 17 years 10 months ago
    • Yes James I tried to add the z-index too but no success.
      I tried with a negative padding-top too: padding-top: -100px; Nothing change 8)
  • Re: Remove Home item in mainmenu

    Posted 17 years 10 months ago
    • Have fun with firebug Franck ;D
    • James Spencer / Developer & Support / Hull, UK
    • Franck's Avatar
    • Franck
    • Elite Rocketeer
    • Posts: 1049
    • Thanks: 0

    Re: Remove Home item in mainmenu

    Posted 17 years 10 months ago
    • :D I was playing with firebug when you posted your message and I find the solution like this:

      in template.css.css I add the margin-top:
      #header #nav-sub {
           margin-right: 23px;
           margin-left:  214px;
           margin-top: -200px;
      }

Time to create page: 0.115 seconds