Hi,
I am facing some problem with that form.
You know the one with greeting and logout button.
First of all, I would like to disable the logout button. Indeed, it is useless since I create an logout menu item. Is it possible without to use the display:none css trick ?
Then no matter what I do, that form is always under the user menu (which is horizontal).
Here is a sample of my CSS file
Code:
/*------------CB Login-------------*/
#mod_loginformLW.cbLoginForm
{
width:400px;
height:45px;
padding-top:5px;
border:1px solid #ffffff;
}
#mod_login_usernametextLW label, #mod_login_passwordtextLW {display:none;}
.mod_loginLW
{
font-size:10px;
padding-left:10px;
}
.cbLoginForm a
{
color : #ffffff;
text-decoration: none;
}
.cbLoginForm a:hover {color: #fbc004;}
#mod_login_logoutformLW
{
float:right;
}
/*--------------------Menu Horizontal----------------------*/
.mainlevelLWhornav
{
padding : 50px 5px 5px 5px;
margin-left:5px;
margin-right:5px;
}
#topmenu table
{
height:34px;
width:50%;
}
#topmenu a.mainlevelLWhornav:hover
{
background-color:black;
}
Sample of my main template
Code:
<body>
<div id="container">
<! début du header >
<div id="header">
<div id="logo">
<a href=""><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/images/linkywine.gif"/></a>
</div>
<div id="topmenu"><jdoc:include type="modules" name="left" /></div>
</div>
<! fin du header>
<!début du body>
<div id="body">
<div id="topBody"></div>
<! on affiche le corps du site >
<div id="bodymiddle">
<div id="message"><jdoc:include type="message" /></div>
<div id="component"><jdoc:include type="component" style="xhtml"/></div>
</div>
<div id="modright">DROITE</div>
</div>
<!début du footer>
<div id="modfooter">Tout droits réservés Copyright 2011</div>
<!fin du footer>
<!fin du body>
</div>
</body>
<! fin du body > <body>
<div id="container">
<! début du header >
<div id="header">
<div id="logo">
<a href=""><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/images/linkywine.gif"/></a>
</div>
<div id="topmenu"><jdoc:include type="modules" name="left" /></div>
</div>
<! fin du header>
<!début du body>
<div id="body">
<div id="topBody"></div>
<! on affiche le corps du site >
<div id="bodymiddle">
<div id="message"><jdoc:include type="message" /></div>
<div id="component"><jdoc:include type="component" style="xhtml"/></div>
</div>
<div id="modright">DROITE</div>
</div>
<!début du footer>
<div id="modfooter">Tout droits réservés Copyright 2011</div>
<!fin du footer>
<!fin du body>
</div>
</body>
<! fin du body >
Take a look at the file attached to see what it looks like.
If someonehas an idea, that would be great.
Thanks !