Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Post picture placement

Old May 22, 2013, 12:26 PM
1 posts · May 2013

I'm using Montezuma theme and I switched CSS grid to 100%. Now, when I select a picture for a post, it is shown on my main page. But it is shown on the left and I want it in the center of the picture box. So, in .post-thumb img in posts.css, I added margin-left: auto; margin-right: auto; . But this doesn't change anything.

What do I have to change that it works?
Old May 22, 2013, 01:56 PM
367 posts · Oct 2012
Here's what I do for pics, and it might help you.

MZ defaults img to max-width:100% (height:auto), so the pics always shrink to fit the div when the window size changes, which is great. I like that much better than width:100%, where you'd get pixelating with small pics.

Like you, I prefer the smaller pics centered within the div. To do that, I set my img to display:inline and the container div to text-align:center.

I hope this helps.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Post Title Placement bswb97 Center area post/pages 3 Aug 7, 2011 03:44 AM
[SOLVED] Post excerpts include thumbnail and post picture mkellam Center area post/pages 2 Jun 15, 2011 02:43 PM
Maximizing picture width in post ctenos Atahualpa 3 Wordpress theme 6 Oct 22, 2010 12:42 PM
[SOLVED] Strange picture placement of nextgen galleries Toskache Plugins & Atahualpa 2 Jul 4, 2009 01:49 PM

All times are GMT -6. The time now is 08:51 PM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.