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 » Atahualpa 3 Wordpress theme » Center area post/pages »

Always Center Images


  #1  
Old Aug 11, 2012, 02:35 PM
theadventurebite
 
136 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
 
136 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
 
23,649 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
where did you use it?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Aug 12, 2012, 06:10 AM
theadventurebite
 
136 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
 
23,649 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
sure, just code a CSS insert with the particular post ID as part of the selector
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Aug 12, 2012, 04:36 PM
theadventurebite
 
136 posts · May 2010
I'm not sure how to do that?
  #7  
Old Aug 12, 2012, 05:19 PM
juggledad's Avatar
juggledad
 
23,649 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

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 04:21 PM.


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