Re: Strange space in collective.cover
espen <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
In case you are having problems finding «where things come from»:
• several of «gallery add-ons» use the same div and classes, so make sure the CSS is not coming from another installed product.
Espen
19. sep. 2014 kl. 12:50 skrev Daniel Jowett [via Plone] <ml-node+s293351n7572530h83-PKuAHvtXa09l57MIdRCFDg@public.gmane.org>:
> 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
> [hidden email]
> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/plone-users
>
>
> If you reply to this email, your message will be added to the discussion below:
> http://plone.293351.n2.nabble.com/Strange-space-in-collective-cover-tp7572527p7572530.html
> To start a new topic under General Questions, email ml-node+s293351n293352h65-PKuAHvtXa09l57MIdRCFDg@public.gmane.org
> To unsubscribe from Plone, click here.
> NAML
--
View this message in context: http://plone.293351.n2.nabble.com/Strange-space-in-collective-cover-tp7572527p7572531.html
Sent from the General Questions mailing list archive at Nabble.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