Villads

Center bt image gallery

2 posts in this topic

Hi

I was wondering if it is possible to center the gallery on my page? Right now it is aligned left, which looks kinda odd. You can have a look here:

http://an-m.dk/index...id=5&Itemid=110

I would also like to make the text in the fancybox disappear: "Image 5 of 98 - 63.jpg".

It is alright if i can make the font the same color as the background.

Thank you.

Regards, Villads.

Share this post


Link to post
Share on other sites

Hi Villads.

please open file /mod_btimagegallery/tmpl/css/btimagegallery.css find this style

.mod_btimagegallery {

border: medium none;

display: inline-block;

position: relative;

width: 100%;

}

Change it to

.mod_btimagegallery {

border: medium none;

margin: auto;

position: relative;

width: 100%;

}

This work will align the slider to center.

And open file /mod_btimagegallery/tmpl/js/default.js

Find this line

this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');

You can remove to change it for fancy box title

Cheers

Share this post


Link to post
Share on other sites