Welcome, Guest
Username: Password: Remember me

TOPIC: Change size in Title and remove link/ Slide Show

Change size in Title and remove link/ Slide Show 3 years 3 months ago #4997

  • mariemusic
  • mariemusic's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 39
  • Thank you received: 39
  • Karma: 0
Hi, i need to change the size of the Title (k2 title) that appear in Slide Show, I need a bigger font. Also i want to remove the link in that title, i dont want to open a K2 article, just the Title in the front page.

Please let me know what i have to do tnaks!
Attachments:
  • Attachment This image is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Re: Change size in Title and remove link/ Slide Show 3 years 3 months ago #5000

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hi,

You can edit font-size value in style.css around line 35:
div#ot-k2-slideshow div.ot-item .itemText h3.moduleItemTitle, div#ot-k2-slideshow div.ot-item .itemText h3.moduleItemTitle a {
color: #FFF;
margin: 5px 0;
font-size: 25px;
}

You can disable title link by find this code below online 38 (path: modules/mod_ot_k2slideshow/tmpl/Default/default.php)
<?php if($params->get('itemTitle')): ?>
    <h3 class="moduleItemTitle"><a href="<?php echo $item->link; ?>"><?php echo $item->title; ?></a></h3>
<?php endif; ?>

edit like this code:
<?php if($params->get('itemTitle')): ?>
     <h3 class="moduleItemTitle"><?php echo $item->title; ?></h3>
<?php endif; ?>

Thanks
Last Edit: 3 years 3 months ago by trungdt.
The administrator has disabled public write access.
Time to create page: 0.161 seconds