Jump to content

Cum pun iconite "fontaweosme" in sidebar


Coxi

Recommended Posts

Cum pot pune iconite de acest gen in sidebar? http://prntscr.com/hbl20p mai exact aici: http://prntscr.com/hbl28u    la maintitle am reusit cu acest cod:

 

<php>
$icon = '';
switch ($_data['cat_data']['name']){
   case 'Comunitate':
      $icon = '<i class="ion-chatboxes"></i>';
      break;
   case 'SERVERE PUBLICE ONLINE':
      $icon = '<i class="fa fa-server"></i>';
      break;
   case 'CLANURI CS,WAR NIGHT & XADMIN SCHOOL':
      $icon = '<i class="ion-ios-compose"></i>';
      break;
   case 'CATEGORIA GENERALĂ':
      $icon = '<i class="ion-paintbrush"></i>';
      break;
   case 'TEHNICAL ZONE':
      $icon = '<i class="ion-android-desktop"></i>';
      break;
   case 'Cos de gunoi':
      $icon = '<i class="ion-ios-flame"></i>';
      break;
}
</php>

{$icon}

 

Link to comment
Share on other sites

3 hours ago, Courage said:

Pai poti adauga direct <i class="ion-paintbrush"></i> la numele blocului banuiesc, de unde l-ai setat.

poti incerca ce a zis courage , iar daca e hook boardindextemplate - hook si ai 

Spoiler

<h3> &nbsp{$this->lang->words['recently_added_topics']}</h3>

si inlocuiesti cu

Spoiler

<h3><i style="color: #cb2d3e;" class="fa fa-newspaper-o" aria-hidden="true"></i>
  &nbsp{$this->lang->words['recently_added_topics']}</h3>

 

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.