Re: Strange space in collective.cover

Shigeo Honda <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <CAGAcBauTGL9akZFTH0NbpRUHHD6zTmd=GXzdkJPT=GNoY7AWzg@mail.gmail.com>
Hi Daniel,

Thanks for your tips. It works for me.
But We have to do some more workaround.

We are working on it.

On Friday, September 19, 2014, Daniel Jowett <[email protected]>
wrote:

>  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]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>
> www.jowettenterprises.com
>


-- 
:: Shigeo Honda
:: [email protected]
:: ricerco - communication designing company
:: http://www.ricerco.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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.