1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

News Carousel image-resize fix and responsive styling.

This commit is contained in:
Cameron 2014-01-31 01:07:13 -08:00
parent 1d5e08197c
commit 19b5dd8614
2 changed files with 8 additions and 3 deletions

View File

@ -1,7 +1,12 @@
#news-carousel.carousel .item { height:350px }
#news-carousel-titles { padding-left:0px; height:350px }
#news-carousel-images { padding-right:0px; height:350px }
@media all and (min-width: 768px)
{
#news-carousel-titles { margin-top:20px; padding-left:0px; height:350px }
#news-carousel-images { margin-top:20px; padding-right:0px; height:350px }
}
#news-carousel-images .carousel-caption { left:15px; right:15px: margin:0px; padding:0px; bottom:10px; text-align:left }
#news-carousel-images .carousel-caption h1 { margin:0px }
#news-carousel-images .carousel-caption small { font-size: 11px; margin: 0px; text-transform: uppercase; }

View File

@ -90,7 +90,7 @@ if(count($data) < 1)
$count = 0;
$tp->setThumbSize(800,400);
$tp->setThumbSize(800,0);
foreach($data as $row)
{