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 » 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,765 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,765 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,765 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 01:55 PM.


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