|
|
#1 |
|
Member
Join Date: Mar 2007
Posts: 51
Rep Power: 12 ![]() |
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}
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. |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Mar 2006
Location: Greer, SC
Posts: 670
Rep Power: 28 ![]() |
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! |
|
|
|
|
|
#3 |
|
Member
Join Date: Mar 2007
Posts: 51
Rep Power: 12 ![]() |
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. |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Mar 2006
Location: Greer, SC
Posts: 670
Rep Power: 28 ![]() |
__________________
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! |
|
|
|
|
|
#5 |
|
Coder
Join Date: Mar 2006
Posts: 4,711
Rep Power: 115 ![]() ![]() ![]() |
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. |
|
|
|
|
|
#6 |
|
Moderator
|
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 |
|
|
|
|
|
#7 |
|
Member
Join Date: Mar 2007
Posts: 51
Rep Power: 12 ![]() |
Thanks, I'll give that a try.
|
|
|
|
| Bookmarks |
| 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 |
| 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 |