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 »

Align ALL post images CENTER ?


  #1  
Old Jul 17, 2013, 12:02 AM
Paul33
 
38 posts · May 2009
I have very image heavy posts with multiple images per post and I want them ALL aligned center without having to individually change the alignment of each image.

How do I do that ? Is there a simple piece of code to go somewhere that defaults post image alignment to center ?
  #2  
Old Jul 17, 2013, 03:13 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Add some CSS to the image option
  #3  
Old Jul 17, 2013, 04:04 AM
Paul33
 
38 posts · May 2009
I figured that would be the answer but what do I add and where do I add it ?

Appreciate your help.
  #4  
Old Jul 17, 2013, 04:11 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
where do I add it ?
umm did you even look thru the theme options?
  #5  
Old Jul 17, 2013, 06:36 AM
Paul33
 
38 posts · May 2009
Yes - repeatedly - and then some more !

I also checked several php files via the editor and still couldn't find anything !
  #6  
Old Jul 17, 2013, 06:47 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I would try a margin left and right with say 30% and put it in the image post option
You could try 'auto' instead of the 30% and 'padding' instead of 'margin'
  #7  
Old Jul 17, 2013, 06:56 AM
Paul33
 
38 posts · May 2009
But surely that's only going to work on an image by image basis ..... the default alignment always reverts back to "None" when posting images.

I was hoping there would be a simple piece of code that would tell it to always post images center aligned unless stated otherwise.

Not to worry ..... I can live with it !
  #8  
Old Jul 17, 2013, 08:49 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I just added 'padding-right: 25%' to the post image option and it applies to the images
  #9  
Old Jul 17, 2013, 11:48 PM
Paul33
 
38 posts · May 2009
Can you just clarify what you are referring to when you say "post image option" ?

I thought you meant the individual dialogue box when posting ONE image ..... I've not found a way to use that to control the attributes to multiple images being posted other than on a one-by-one basis.
  #10  
Old Jul 18, 2013, 03:00 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Look at the 'Style IMAGES' theme options

Bookmarks

Tags
alignment, image

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to center align smaller header image` Katmoody Header configuration & styling 8 Aug 9, 2011 01:37 PM
Center align comment box? jasontbedell Comments, trackbacks & pings 3 Jan 3, 2011 08:39 AM
[SOLVED] How to center align content AverageJoe Center area post/pages 2 Nov 13, 2010 10:26 AM
Easy: Left-align headlines on multi-post pages but center on single? Jeff G Excerpts, Read more, Pagination 5 Jul 26, 2010 09:08 AM


All times are GMT -6. The time now is 12:48 AM.


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