Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   Align ALL post images CENTER ? (http://forum.bytesforall.com/showthread.php?t=20652)

Paul33 Jul 17, 2013 12:02 AM

Align ALL post images CENTER ?
 
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 ?

juggledad Jul 17, 2013 03:13 AM

Add some CSS to the image option

Paul33 Jul 17, 2013 04:04 AM

I figured that would be the answer but what do I add and where do I add it ?

Appreciate your help.

juggledad Jul 17, 2013 04:11 AM

Quote:

where do I add it ?
umm did you even look thru the theme options?

Paul33 Jul 17, 2013 06:36 AM

Yes - repeatedly - and then some more !

I also checked several php files via the editor and still couldn't find anything !

juggledad Jul 17, 2013 06:47 AM

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'

Paul33 Jul 17, 2013 06:56 AM

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 !

juggledad Jul 17, 2013 08:49 AM

I just added 'padding-right: 25%' to the post image option and it applies to the images

Paul33 Jul 17, 2013 11:48 PM

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.

juggledad Jul 18, 2013 03:00 AM

Look at the 'Style IMAGES' theme options


All times are GMT -6. The time now is 05:17 AM.

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