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 »

Align ALL post images CENTER ?


  #1  
Old Jul 17, 2013, 01: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, 04:13 AM
juggledad's Avatar
juggledad
 
23,560 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, 05: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, 05:11 AM
juggledad's Avatar
juggledad
 
23,560 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, 07: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, 07:47 AM
juggledad's Avatar
juggledad
 
23,560 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, 07: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, 09:49 AM
juggledad's Avatar
juggledad
 
23,560 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 18, 2013, 12:48 AM
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, 04:00 AM
juggledad's Avatar
juggledad
 
23,560 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 02:37 PM
Center align comment box? jasontbedell Comments, trackbacks & pings 3 Jan 3, 2011 09:39 AM
[SOLVED] How to center align content AverageJoe Center area post/pages 2 Nov 13, 2010 11:26 AM
Easy: Left-align headlines on multi-post pages but center on single? Jeff G Excerpts, Read more, Pagination 5 Jul 26, 2010 10:08 AM


All times are GMT -6. The time now is 02:29 AM.


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