Re: Strange space in collective.cover
Daniel Jowett <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Organization | Jowett Enterprises Ltd |
| Message-ID | <[email protected]> |
Hi Shigeo,
galleria javascript is calculating the height & width & it is a bit
more of
a pain to theme than it needs to be in my opinion.
Nonetheless, the CSS is quite small once you get there.
This is the CSS I ended up with on a recent project
(note the use of !important):
/* Required to stop Carousel error in IE10 */
.galleria.cover-carousel-tile {
height: 320px;
width: 516px;
}
.cover-carousel-tile .galleria-container {
height: 320px !important;
}
.cover-carousel-tile .galleria-stage {
bottom: 10px;
left: 0;
right: 0;
}
However, this was for a fixed width carousel, hopefully that's enough
for you.
Best regards,
Daniel
On 19/09/14 11:22, Shigeo Honda wrote:
> Hi,
>
> I have a trouble with 'collective.cover-1.0a9-py2.7.egg'.
>
> I've setup a new Plone 4.3.3 site with collective.cover and tried to
> layout top page. I put site-wide Carousel Tile and upload couple of
> pictures. But I got strange space above and under the picture.
>
> I looked into detail and found that 'class="galleria-image' div height
> value is always 'actual picture width - 50 px' . For example, 1024 px
> x 300 px image placed in 1024 x 974 space. So extra space appear above
> and under the picture.
>
> How can I fix this problem? Does anyone know which script calculates
> 'actual picture width - 50px' ?
>
> Thank you.
>
--
Daniel Jowett
*Jowett Enterprises Ltd*
Tel: 0333 3 553 773
Mobile: 07870 667 126
[email protected]
www.jowettenterprises.com
------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users