Support Forums

Moving the Welcome Guest (Login/Register)

This is a discussion on Moving the Welcome Guest (Login/Register) within the Templates, HTML, CSS, and Design Help forums, part of the General category; How do I move the "Welcome Guest (Login/Register)" icon over to the right a space or two? I figured out ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 09-14-2007, 04:23 PM   #1
Member
 
Join Date: Mar 2007
Posts: 51
Rep Power: 20
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
Customer
 
civ's Avatar
 
Join Date: Mar 2006
Location: Greer, SC
Posts: 609
Rep Power: 34
civ will become famous soon enough
Default

Add some padding to your new CSS id.
__________________
Civ's Modules:

Stop Incomplete Listings! (proven revenue booster!)
Scam Filter (Just say no to Nigerians and proxies!) 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: 20
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
Customer
 
civ's Avatar
 
Join Date: Mar 2006
Location: Greer, SC
Posts: 609
Rep Power: 34
civ will become famous soon enough
Default

padding-left:10px;

http://www.w3schools.com/css/pr_padding-left.asp
__________________
Civ's Modules:

Stop Incomplete Listings! (proven revenue booster!)
Scam Filter (Just say no to Nigerians and proxies!) 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
curmudgeon
 
Join Date: Mar 2006
Posts: 5,410
Rep Power: 137
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by goose
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

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 09-15-2007, 07:57 PM   #6
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,145
Rep Power: 67
John Snyder 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
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Old 09-16-2007, 11:14 AM   #7
Member
 
Join Date: Mar 2007
Posts: 51
Rep Power: 20
goose is on a distinguished road
Default

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

Thread Tools
Display Modes


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


All times are GMT -4. The time now is 04:26 PM.


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