WebSite X5Help Center

 
Gökhan Uçar
Gökhan Uçar
User

Echo user color change  en

Autore: Gökhan Uçar
Visite 1134, Followers 1, Condiviso 0  

hi everybody 

I hope you can help . when a visitor becomes a member of the site calling the visitor's name and surname. So far everything is normal.

I am using the code below 

  <?php
$pa = new imPrivateArea();
$user = $pa->who_is_logged();
echo $user['realname']
?>

my question is ; how can i change the color and size of the visitor name

thank you for your helping

Postato il
1 RISPOSTE - 1 UTILE - 1 CORRETTO
Paul M.
Paul M.
Moderator

Hello Gökhan,

The displayed visitor name will share the same Text Properties as set in Step 2 Template > Template Settings > Text, Field and Button Style > Page Item > Page Text

If you want the visitor name to be displayed in a different colour and font size to ordinary Page Text then you could use additional code.  If you wish to do this and can provide a link to the page online then we can help you further.

Kind regards,

Paul

Search the WebSite X5 Help Center

Leggi di più
Postato il da Paul M.