Topic-icon Change positions of Avatar image, greeting and logout button

Active Subscriptions:

None
Hi
I need help with changing positions of the avar image, greeting(name) and the logout button. From vertical layout to horizontal layout.

Now it´s like this:
Avatar
Greeting
Logout

I´d like it to be like this:
Avatar - Greeting - Logout (horizontal layout)

This is my code in the logout.php
getSocialAvatar();

if ($params->get('showGreeting'))
{
    if ($params->get('greetingName') == 0)
        $name = $user->get('username');
    else
        $name = $user->get('name');
    echo '' . JText::sprintf('MOD_SCLOGIN_WELCOME', $name) . '';
}

if ($params->get('showLogoutButton'))
{ ?>
    
        getLogoutButton(); ?>
    
    
get('showConnectButton'))
{
    $reconnectButtons = $helper->getReconnectButtons();
    echo $reconnectButtons;
}

echo $helper->getPoweredByLink();
?>

Any help is much appreciated.

Thanks!

Miguel
The topic has been locked.
Active Subscriptions:

None
14 years 2 months ago #20939 by mtk
Hello,
generally I wouldn't recommend altering the PHP code, but simply do the required changes through CSS.

for example, if the generated HTML is:
    ...
    ...
    ...

then this CSS code:
#fb-logout div{float:left}
will make the internal DIV elements to be aligned in a row.

notice your generate HTML might be different from this example.
if you need any help 'guessing' the right CSS needed, please post a sample of the generate HTML or a link to your website and we will try to help.

Mati
The topic has been locked.
Active Subscriptions:

None
Hi
Thanks for the reply.
Im not sure where to put the css style, so if you please could help me with this i would be much greatful.

Our site is [link removed] Thanks!

Regarda
Miguel
The topic has been locked.
Active Subscriptions:

None
14 years 2 months ago #20942 by mtk
Hello,
from where do I login so I could see the logout?

Mati
The topic has been locked.
Active Subscriptions:

None
In the top right you have the facebook and linkedin connect buttons. Well, you should have...
The topic has been locked.
Active Subscriptions:

None

mtk wrote: Hello,
from where do I login so I could see the logout?

Mati


Hi Mati
Did you find a solution for making the buttons align horizontally?
The topic has been locked.
Active Subscriptions:

None
14 years 2 months ago #21050 by mtk

migann wrote: In the top right you have the facebook and linkedin connect buttons. Well, you should have...

Hello,
sorry for the late response.
could you please resend me the link to your website through Private Massage so I could take a look at the issue again?

Mati
The topic has been locked.