Forums

Welcome, Guest
Username: Password: Remember me

TOPIC: Read more inline with text descriptor

Read more inline with text descriptor 3 years 3 months ago #2155

  • aschiewe
  • aschiewe's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
Hi,
If you check my test site sitegmeuble.cmjninfo.ch/ and hover the carrousel a banner pops up with text a "read more" in french.What i would like to do is put that readmore on the same line as the text. can this be done ?

Thanks,
Andrew
The administrator has disabled public write access.

Read more inline with text descriptor 3 years 3 months ago #2158

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 1641
  • Thank you received: 178
  • Karma: 43
You can edit this file:
modules\mod_juslideshow\tmpl\default\default.php
Line 54:
Replace:
$label_text  = $item->title ? '<h3 class="label-title">'.$item->title.'</h3>' : '';
				$label_text .= $item->text ? '<div class="label-desc">'.$item->text.'</div>' : '';
				$label_text .= $item->readmore ? '<div class="label-readmore">'.$item->readmore.'</div>' : '';

By:
$label_text  = $item->title ? '<h3 class="label-title">'.$item->title.'</h3>' : '';
				$label_text .= '<div class="label-desc">'.$item->text;
				$label_text .= $item->readmore ? '<div class="label-readmore">'.$item->readmore.'</div>' : '';
				$label_text .= '</div>';

Edit file:
modules\mod_juslideshow\assets\css\style.css
Line 384:
Replace:
.ju-slideshow .ju-slide-desc .label-readmore {
    clear: both;
    display: inline-block;
    float: left;
    margin-bottom: 10px;
}

By:
.ju-slideshow .ju-slide-desc .label-readmore {
    clear: both;
    display: inline-block;
    margin-bottom: -12px;
}
Last Edit: 3 years 3 months ago by admin.
The administrator has disabled public write access.
Time to create page: 0.331 seconds
Powered by Kunena Forum