Support Forums

Old 09-14-2007, 04:23 PM   #1
Member
 
Join Date: Mar 2007
Posts: 51
Rep Power: 12
goose is on a distinguished road
Default Moving the Welcome Guest (Login/Register)

How do I move the "Welcome Guest (Login/Register)" icon over to the right a space or two? I figured out how to move it to the left side, by changing the code below, but now it sits all the way over on the left edge of the screen (above the left side column in V4). I want to move it over to the right just a space or two (maybe center it above the left colum).

Code:
                    <p id="top_info"> 
				{if $smarty.session.username<>'' || $smarty.cookies.username<>""}
				Welcome {$smarty.session.username}
				{if $pmon=="Y"}
				<br />
				<a href="private.php">{$smarty.const.LANG_PRIVATE_MESSAGES}:</a> {$smarty.const.LANG_UNREAD} {$unreadpms}, {$smarty.const.LANG_TOTAL} {$totalpms}.
				{/if}
				{else}
				{$smarty.const.LANG_WELCOME_GUEST} <br />[<a href="login.php">{$smarty.const.LANG_USER_LOGIN}</a>, <a href="userjoin.php">{$smarty.const.LANG_USER_REGISTER}</a>]
				{/if}
Changed to this-

Code:
                  <p id="left_info"> 
				{if $smarty.session.username<>'' || $smarty.cookies.username<>""}
				Welcome {$smarty.session.username}
				{if $pmon=="Y"}
				<br />
				<a href="private.php">{$smarty.const.LANG_PRIVATE_MESSAGES}:</a> {$smarty.const.LANG_UNREAD} {$unreadpms}, {$smarty.const.LANG_TOTAL} {$totalpms}.
				{/if}
				{else}
				{$smarty.const.LANG_WELCOME_GUEST} <br />[<a href="login.php">{$smarty.const.LANG_USER_LOGIN}</a>, <a href="userjoin.php">{$smarty.const.LANG_USER_REGISTER}</a>]
				{/if}

Last edited by goose; 09-14-2007 at 04:26 PM.
goose is offline   Reply With Quote
Old 09-14-2007, 10:13 PM   #2
civ
Senior Member
 
civ's Avatar
 
Join Date: Mar 2006
Location: Greer, SC
Posts: 670
Rep Power: 28
civ will become famous soon enough
Default

Add some padding to your new CSS id.
__________________
Civ's Modules (____NOW v4 COMPATIBLE____):

Stop Incomplete Listings! (proven revenue booster!)
Scam Filter (Just say no to Nigerians!) updated
Similar Listings (keep visitors longer)
Feedback Mod (testimonial builder)
Listing Status Reminder free!
civ is offline   Reply With Quote
Old 09-14-2007, 10:33 PM   #3
Member
 
Join Date: Mar 2007
Posts: 51
Rep Power: 12
goose is on a distinguished road
Default

If I knew how to add the padding I wouldn't be asking here.....

What should the code look like? I've been looking on w3schools.com, and can't figure it out.
goose is offline   Reply With Quote
Old 09-15-2007, 01:25 AM   #4
civ
Senior Member
 
civ's Avatar
 
Join Date: Mar 2006
Location: Greer, SC
Posts: 670
Rep Power: 28
civ will become famous soon enough
Default

padding-left:10px;

http://www.w3schools.com/css/pr_padding-left.asp
__________________
Civ's Modules (____NOW v4 COMPATIBLE____):

Stop Incomplete Listings! (proven revenue booster!)
Scam Filter (Just say no to Nigerians!) updated
Similar Listings (keep visitors longer)
Feedback Mod (testimonial builder)
Listing Status Reminder free!
civ is offline   Reply With Quote
Old 09-15-2007, 08:19 AM   #5
Coder
 
Join Date: Mar 2006
Posts: 4,711
Rep Power: 115
Lhotch is a glorious beacon of lightLhotch is a glorious beacon of lightLhotch is a glorious beacon of light
Default

Quote:
Originally Posted by goose View Post
If I knew how to add the padding I wouldn't be asking here.....

What should the code look like? I've been looking on w3schools.com, and can't figure it out.
One of the best things you can do to help yourself is use firefox with the firebug and web developer plugin. As you move the mouse over the code it will highlight areas of the page that are effected by it and you can play with style sheets at the browser level and see live how it affects the site (any site not just your own) without having to make changes to the live files themselves.
__________________
Larry

What I post here should be used only as a guide to point you in the right direction. If the code I post doesnt make any sense or work as posted then you should spend more time reading the various manuals and tutorials so it does make sense and you can tweak it to work. A sure fire way to get yourself in trouble is to implement changes you dont have an intimate understanding of. Im happy to help, but I am not here to teach you to code or create your site for you.
Lhotch is offline   Reply With Quote
Old 09-15-2007, 07:57 PM   #6
Moderator
 
juven14's Avatar
 
Join Date: Mar 2006
Location: Texas
Posts: 2,224
Rep Power: 62
juven14 is a jewel in the rough
Default

You should change that back to top_info. Then open your templates/default/css/style.css and find:

.top_left{
...something here
}

And add in:

.top_left{
..leave everything else alone
padding-left:10px;
}
__________________
John Snyder
PHP Developer
juven14 is online now   Reply With Quote
Old 09-16-2007, 11:14 AM   #7
Member
 
Join Date: Mar 2007
Posts: 51
Rep Power: 12
goose is on a distinguished road
Default

Thanks, I'll give that a try.
goose is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How we are moving forward! Eric Barnes News & Announcements 12 06-04-2009 08:45 AM
Moving website BABBSELA v3.1 Questions & Support 2 08-09-2007 09:21 AM
Guest Favorite Generates Error CB v3.1 Questions & Support 0 07-07-2007 01:15 PM
Allowing Guest Posting takeshimedia v3.1 Questions & Support 0 03-09-2007 09:54 AM


All times are GMT -4. The time now is 12:24 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0