Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I18N Gallery Not Centered On Page
#1
My site has 5 pages, each featuring a small gallery. However, the galleries are not centered on the content page even though I centred the gallery tags.
I have also tried using (% gallery name=my-gallery-name js=false %) as I am using the I18N cycle slidshow on the same page.
This too does not help.
Any ideas?

Installed Plugins:
I18N Gallery
p01-contact
{under-construction/UNDER_TITLE} Plugin
Reply
#2
chaos Wrote:My site has 5 pages, each featuring a small gallery. However, the galleries are not centered on the content page even though I centred the gallery tags.

What do you mean with "centered the gallery tags"?

The plugin replaces the whole paragraph (if there is nothing more) with a div. Thus you need to add a rule div.gallery-cycle { ... } with appropriate styles to your CSS.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#3
Which css file do I add the above rule?
Reply
#4
chaos Wrote:Which css file do I add the above rule?

Simply add this code in your css file, that of your template.
Reply
#5
Hi Didou
I must be having a blonde moment! I have tried what you suggested - I just cannot centre my galleries!!! I came across a post that suggested putting the following into my template css:

div.gallery-cycle {
margin-left: auto;
margin-right: auto;
}

I have tried everything to get the above to work. Such a small thing is making me crazy.
Reply




Users browsing this thread: 1 Guest(s)