Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Always Center Images


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Aug 11, 2012, 02:35 PM
theadventurebite
 
130 posts · May 2010
Is there a way to make Atahualpa default to the images being centered?

I center hundreds of photos a week and am sick of doing it manually. Ideas?

Thanks!

Dani
  #2  
Old Aug 11, 2012, 02:51 PM
theadventurebite
 
130 posts · May 2010
I think I figured it out! Wahoo!

Any reason this would be bad to use:

Code:
padding: 5px;
border: solid 1px #d5d5d5;
display: block; 
margin-left: auto;
margin-right: auto;
background-color: #FFFFFF;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
Thanks!
  #3  
Old Aug 12, 2012, 05:08 AM
juggledad's Avatar
juggledad
 
20,010 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
where did you use it?
  #4  
Old Aug 12, 2012, 06:10 AM
theadventurebite
 
130 posts · May 2010
I used it in the Images in Post section.

It's also tweaking all the comment/category images and adjusting images on Pages as well but I think I can still make it work with some tweaks.

Is there any way to override it in certain cases?
  #5  
Old Aug 12, 2012, 09:10 AM
juggledad's Avatar
juggledad
 
20,010 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
sure, just code a CSS insert with the particular post ID as part of the selector
  #6  
Old Aug 12, 2012, 04:36 PM
theadventurebite
 
130 posts · May 2010
I'm not sure how to do that?
  #7  
Old Aug 12, 2012, 05:19 PM
juggledad's Avatar
juggledad
 
20,010 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
best way is to use firebug in firefox and examine the img. Then you will see it's parent HTML elements, one which should be a div with a class of 'post-id-nn' where nn is the post id

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to center images placed in text widget? frugalmom Sidebars & Widgets 2 Mar 6, 2011 07:44 PM
Keep images from spilling out of the center column laurawhiteritchie Center area post/pages 0 Aug 22, 2010 03:55 PM
Center Area and Background with different images wpuser168 Center area post/pages 0 Apr 30, 2010 11:34 PM
Using background images in Center and Sidebar...Problems Velma Atahualpa 3 Wordpress theme 4 Feb 16, 2009 10:28 PM


All times are GMT -6. The time now is 07:32 PM.


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