Jump to content

[SOLVEd] How I can make more big but only this "name surname" ?


Recommended Posts

you can add there <strong></strong>

open: /modules/blockuserinfo/blockuserinfo.tpl

 

there is code:
 

{if $logged}
<span>{$customerName}</span> (<a href="{$base_dir}index.php?mylogout" title="{l s='Log me out' mod='blockuserinfo'}">{l s='Log out' mod='blockuserinfo'}</a>)
{else}

change it to:

{if $logged}
<span><strong>{$customerName}</strong></span> (<a href="{$base_dir}index.php?mylogout" title="{l s='Log me out' mod='blockuserinfo'}">{l s='Log out' mod='blockuserinfo'}</a>)
{else}
Link to comment
Share on other sites

Better to do in the css of /modules/blockuserinfo/blockuserinfo.css:

around line 41, you find code like this:

 

#header_user_info a {

 line-height: 11px;

}
 
Add something like:
#header_user_info a {

 line-height: 11px;

 font-size: 16px;
}
 
or so.
 
My 2 cents,
pascal.
Link to comment
Share on other sites

Hmmm, maybe a combination of our solutions is best (My previous solution increases the size of "Login" and "Logout" as well...)

Maybe add an ID to the span around the {$customername} from Vekia's sample:

 

{if $logged}
<span>{$customerName}</span> 

 

change to: 

 

{if $logged}
<span id="header_user_info_customer_name">{$customerName}</span> 

 

 

Then in the css file /modules/blockuserinfo/blockuserinfo.css: add something like:

 

#header_user_info_customer_name {

 font-size:16px;

}

 

Hope that does the trick,

pascal

Link to comment
Share on other sites

before
I have tried this is;

 

you can add there <strong></strong>

open: /modules/blockuserinfo/blockuserinfo.tpl

 

there is code:
 

{if $logged}
<span>{$customerName}</span> (<a href="{$base_dir}index.php?mylogout" title="{l s='Log me out' mod='blockuserinfo'}">{l s='Log out' mod='blockuserinfo'}</a>)
{else}

change it to:

{if $logged}
<span><strong>{$customerName}</strong></span> (<a href="{$base_dir}index.php?mylogout" title="{l s='Log me out' mod='blockuserinfo'}">{l s='Log out' mod='blockuserinfo'}</a>)
{else}

but It did not very big . after , i have tired ; 

 

 

{if $logged}
<span>{$customerName}</span> 

 

change to: 

 

{if $logged}
<span id="header_user_info_customer_name">{$customerName}</span> 

 

 

Then in the css file /modules/blockuserinfo/blockuserinfo.css: add something like:

 

#header_user_info_customer_name {

 font-size:16px;

}

 

 

and was very good and was very beautiful ( solved ) (: thanks Pascal and Vekia .regards (: 

Edited by silistre (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...