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


  #1  
Old May 22, 2013, 11:26 AM
Kalkihe
 
1 posts · May 2013
Hey,

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?
  #2  
Old May 22, 2013, 12:56 PM
jerryc
 
367 posts · Oct 2012
Florida
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.

Bookmarks

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 02:44 AM
[SOLVED] Post excerpts include thumbnail and post picture mkellam Center area post/pages 2 Jun 15, 2011 01:43 PM
Maximizing picture width in post ctenos Atahualpa 3 Wordpress theme 6 Oct 22, 2010 11:42 AM
[SOLVED] Strange picture placement of nextgen galleries Toskache Plugins & Atahualpa 2 Jul 4, 2009 12:49 PM


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


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