Topic-icon How to make "welcome name logout botton" in one line?

Active Subscriptions:

None
File Attachment:


I tested that text section (welcome user name) if I only input text it will goes way beyond search botton.
The topic has been locked.
Support Specialist
14 years 2 months ago #20314 by alzander
Can you post (or private message) a link to your site so we can see exactly what's happening? It will be easier to give some CSS that can hopefully fix that if we can see it on your page first.

Alternatively, you can modify the template for the SCLogin module in /modules/mod_sclogin/tmpl/logout.php and re-arrange things as you'd like them there.. it may be easier and more versatile than a CSS change.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 2 months ago #20324 by ballbank
my website is www.jubjod.com

I would like everything in one line. ( Welcome+name+logout button) For now, I add extra space in that block so the log out button completely show.
I tried the logout.php but I don't really know php code to work around it. I know only basic html.
I think this is the line. I checked it with firebug

<div id="ja-topnav">
<div>Welcome ballbank,</div>
<div class="logout-button">
<input id="jfbcLogoutButton" class="button" type="submit" onclick="javascript:jfbc.login.logout_button_click()" value="Logout" name="Submit">
</div>
<br>
</div>

Thank you very much
The topic has been locked.
Active Subscriptions:

None
14 years 2 months ago #20325 by mtk
Hello,
try adding:
#ja-topnav div{float:left;}
and see if that helps, or try altering the template output as Alex suggested.

Mati
The topic has been locked.
Active Subscriptions:

None
14 years 2 months ago #20330 by ballbank
I tried #ja-topnav div{float:left;} now the whole log in name is next to the logo. I changed it to "right". the log out button is in front of welcome+name.
The topic has been locked.
Active Subscriptions:

None
14 years 2 months ago #20361 by mtk

ballbank wrote: I tried #ja-topnav div{float:left;} now the whole log in name is next to the logo. I changed it to "right". the log out button is in front of welcome+name.

of course it'd be that way, because of the width and the order of the elements.
try this:
#ja-topnav{float:right}
#ja-topnav div{float:left;}

let us know if that helped.

Mati
The topic has been locked.
Active Subscriptions:

None
14 years 2 months ago #20363 by ballbank
Thank you very much. That does it.
Thank you. You go above and beyond to help me. Help me with a template that isn't part of jfbconnect.
The topic has been locked.
Active Subscriptions:

None
14 years 2 months ago #20368 by mtk

ballbank wrote: Thank you very much. That does it.
Thank you. You go above and beyond to help me. Help me with a template that isn't part of jfbconnect.

Hello,
we are glad we could help.

If you like our component and support, please consider posting a rating and a review at the Joomla! Extensions Directory: Joomla Facebook Connect

Thanks,
Mati
The topic has been locked.