Announcement

#1 2012-11-21 20:00:29

Behrad
Guest

Slider on body

Hi everyone

Is it possible to have slider ( using Extended Description tags) on the body of categories page ?
header manager makes that on  the header , but i want that to be in the body.
thanks

 

#2 2012-11-21 20:08:00

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3271

Re: Slider on body

Hi,

I think you confound things :

Header Manager only allows you to upload and crop banners, it doesn't include a slider

the [slider] tag of Extended Description is usable in almost every textfield of Piwigo (even in the gallery header, but you don't need Header Manager to do that)

now to do what you want you should create a personnal block with PWG Stuffs containgin the [slider] tag

Offline

 

#3 2012-11-21 21:13:41

Behrad
Guest

Re: Slider on body

Hi again
Thanks a lot  mistic100
it works good, now any way to centering the slideshow on page ?

 

#4 2012-11-21 22:27:55

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3271

Re: Slider on body

search for "html center" you'll find the solution

Offline

 

#5 2012-11-22 11:40:41

Behrad
Guest

Re: Slider on body

I tried following HTML codes in PWO Stuff in the content part , but it changed nothing.
<div align="center">[slider album=13 nb_images=5 random=no list=aa,bb,cc size=L speed=4 title=no effect=fade arrows=yes control=no elastic=no]</div> 
&
<center>[slider album=13 nb_images=5 random=no list=aa,bb,cc size=L speed=4 title=no effect=fade arrows=yes control=no elastic=no]</center>


is it possible to solve it using  localfiles editor ,CSS ?
http://www.imageurlhost.com/images/n96sntlq6dfmwsqx8w19.jpg

 

#6 2012-11-22 11:55:47

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3271

Re: Slider on body

the simplier is a link to your site (you should give it every time you want a quick support)

Offline

 

#7 2012-11-22 12:02:05

Behrad
Guest
 

#8 2012-11-22 12:14:25

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3271

Re: Slider on body

if you look closely with Firebug you will see the problem is not the align, but the size of the slider (1008px)
here I use your Multisize configuration, you can either change it to match your photo size or add this in the block

Code:

<style type="text/css">.slider-wrapper{ width:auto !important; }</style>

Offline

 

#9 2012-11-22 12:27:15

Behrad
Guest

Re: Slider on body

I added that code and now it works precisely.
Thanks a lot mistic100 .

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact