I searched the entire site as well as google and can't find the answer for this. I'm using the galleria module on my site. The problem is that everything aligns to the left. I found the code in the css for the thumnails and have aligned it to the center, but I cannot seem to change the main images above to the center. I've tried everything possible, but it simply won't work. Anyone know how to fix this?

Comments

iivvoo’s picture

Subscribe

Ela’s picture

Try adding

.galleria_wrapper{
text-align: center;
}

to your theme css file :) let me know if it worked

iivvoo’s picture

Perfect :)

And how about the image description? Can it be centered too?

Ela’s picture

yes, it can..
I don't remember exactly how though... look up css on this using firebug..
Try adding:

.item-list{
text-align: center;
}

but I'm not sure if that's the one that did this or not.. :)

Ela’s picture

ok.. i tried to look deeper on how I got this one centered, and am not sure.. so if what I wrote does not help, try looking deeper into css and play with it..

dabellator’s picture

How about this one? I can't get my images centered vertically, any ideas? I've gone through one process of setting my wrapper to be viewed (in css) as a table, then did a vertical align on the main image after designating it as a table cell. Worked perfectly...but while everything remained aligned in firefox, the measurements were different in Safari. When I adjusted the css to line everything up in safari, it was all off in firefox.

Let me know if I should add the code to clarify. I'm not at home right now so I don't have acess to the code I wrote, but I can supply it tonight if need be.

forbesconrad’s picture

This centers everything:

#galleria-content
{
text-align: center
}

Peter Bex’s picture

Status: Active » Closed (fixed)

Not a bug report but a CSS question, and the question was answered. Closing this.