Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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
Post picture placement

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 11:14 AM.


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