Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Control GALLERY in wpfolio theme WordPress

  • SOLVED



I am using wpfolio as my theme. I want the images in my gallery to be CENTERED!

I have tried to use the toolbar to align the gallery, I have also put in the code align="center" within the code. Neither work. I have looked into the media settings to see if there is something there. I have tried to set the images in the gallery to the radio button center. Please help!

And as far as images go- do the sizes of each image have to be the same in the gallery?

My website is www.paulambrett.com and the tab is the blog.

Answers (5)

2012-07-25

Arnav Joy answers:

go to line no. 534 of style.css

.gallery-item {
float: left;
margin-top: 10px;
text-align: center;
width: 33%;
}

and replace it with

.gallery-item {

margin-top: 10px;
text-align: center;

}


Paula Brett comments:

The only problem with this solution is that now ALL of my galleries are single columned and centered. I want each gallery to be centered, no matter how many columns there are.

2012-07-25

Martin Pham answers:

it is working!!

style.css line 237
.aligncenter, img.aligncenter {
margin: 1em auto;
}

2012-07-25

Agus Setiawan answers:

your image seems already centered here. try to CTRL+F5 your browser.
--
sorry my mistake, all image aligned to left.

2012-07-25

Dbranes answers:

These changes works for me in Chrome

from

.gallery-item {
float: left;
margin-top: 10px;
text-align: center;
width: 33%;
}


to

.gallery-item {
margin-top: 10px;
text-align: center;
}


2012-07-25

hceforchtwalla answers:

Liebo printemps et l'été en tissu de cannabis taille couture rob - €54.58 :