Re: Strange space in collective.cover
Shigeo Honda <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <CAGAcBau03cn35dz1tZH2fPnirZF+EzKDQA5rXCxoCXJ47jVZuQ@mail.gmail.com> |
Hi Espen, Yeah, things are getting complicated these days. I trace it carefully. On Friday, September 19, 2014, espen <[email protected]> wrote: > 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] <[hidden email] > <http://user/SendEmail.jtp?type=node&node=7572531&i=0>>: > > 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 > <a href="x-msg://82/user/SendEmail.jtp?type=node&node=7572530&i=0" > target="_top" rel="nofollow" link="external">[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 > <a href="x-msg://82/user/SendEmail.jtp?type=node&node=7572530&i=1" > target="_top" rel="nofollow" link="external">[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 [hidden email] > <http://user/SendEmail.jtp?type=node&node=7572531&i=1> > To unsubscribe from Plone, click here. > NAML > <http://plone.293351.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > > > ------------------------------ > View this message in context: Re: Strange space in collective.cover > <http://plone.293351.n2.nabble.com/Strange-space-in-collective-cover-tp7572527p7572531.html> > Sent from the General Questions mailing list archive > <http://plone.293351.n2.nabble.com/General-Questions-f293352.html> at > Nabble.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