Social Icon on QUIX ITEM Person

Home Forums Support Social Icon on QUIX ITEM Person


Hi Brian
How can i remove Social Icon on QUIX ITEM Person? For me it also not work over CSS
It is possible in Quix Elements – Person to remove all Social Media Links? I cannot remove the the Social Media Links because i get this Message: => Info can not delete the last Item?
Thank you & Best Regards
Dinu


Quix itself does not allow you remove social icon, but you can disable the output by overriding the person element. Which template are you using ?

Thanks


Hi Brian
Im using the Grandy 1.0.2
Thanks & Best Regards
Dinu


Ok, please go to template folder -> quix -> elements -> person -> view.php

replace whole code with

<?php
  $classes = classNames( "qx-element qx-element-{$type} {$field['class']}", $visibilityClasses, [
    'qx-text-left' => $field['alignment'] === 'left',
    'qx-text-center' => $field['alignment'] === 'center',
    'qx-text-right' => $field['alignment'] === 'right',
    "wow {$field['animation']}" => $field['animation'],
    "qx-hvr-{$field['hover_animation']}" => $field['hover_animation']
  ]);
  // Animation delay
  $animation_delay = '';
  if( $field['animation'] AND array_key_exists('animation_delay', $field) ){
    $animation_delay = 'data-wow-delay="'. $field['animation_delay'] .'s"';
  }
?>

<div id="<?php echo $id;?>" class="<?php echo $classes?>" <?php echo $animation_delay; ?>>
  <div class="team-box-layout1 mb-30 masked1">
    <?php if($field['image']):?>
      <img class="qx-img-responsive <?php echo $field['image_style']?>" src="<?php echo $field['image']?>" alt="<?php echo $field['name']?>">
    <?php endif;?>
    <div class="item-title">
      <h3><?php echo $field['name']?></h3>
      <?php if($field['position']):?>
        <span><?php echo $field['position']?></span>
      <?php endif;?>
    </div>
    <div class="item-content d-flex align-items-center">
      <div class="item-content-inner">
        <h3><?php echo $field['name']?></h3>
        <?php if($field['position']):?>
          <span><?php echo $field['position']?></span>
        <?php endif;?>
        <?php if($field['description']):?>
          <p><?php echo $field['description']?></p>
        <?php endif;?>
      </div>
    </div>
  </div>
</div>
<!-- qx-element-person -->

save and recheck.


Hi Brian
Thanks a lot!!!! 🙂
No its fine 🙂
Best Regards
Dinu


You’re welcome 🙂

You must be logged in to reply to this topic.