Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

How do I add margins/spacing to ALL images using the Images section?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Sep 2, 2009, 06:01 AM
oskarfalk
 
2 posts · Sep 2009
How do I add margins/spacing to ALL images using the Images section?

I want to have a solid border around my images (in all posts/pages), but then I want spacing OUTSIDE of that border (just to separate the images from the rest of the post-contents).

I notice that "Padding" adds padding between the border and the image. But I want to add it on the outside of the border. How do I do this?


I tried typing "spacing: 15px", "margin: 15px" etc. but I can't seem to make anything happen.

What's the magic word here???
  #2  
Old Sep 2, 2009, 06:09 AM
juggledad's Avatar
juggledad
 
21,937 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
not exactly what you want, but try this for a frame about the image
at ATO->Style Images->Images in Posts put this in replacing what is there
HTML Code:
float: right;
margin: 0 1em 1em 1em;
padding: 15px 15px 20px 15px;
display: inline;
text-align: center;
border-color: #CCC #999 #999 #CCC;
border-width: 1px 2px 2px 1px;
border-style: solid;
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support

Last edited by juggledad; Sep 2, 2009 at 06:15 AM.

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 add images to footer tarak Atahualpa 3 Wordpress theme 6 Jul 21, 2010 02:11 PM
how to add border to sidebar images? Riin Sidebars & Widgets 3 May 16, 2009 12:19 PM
How to add margins when not using a logo? Ashjoielee Atahualpa 3 Wordpress theme 1 Mar 30, 2009 08:18 AM
how to add images to footer tarak Page & Category Menu Bars 2 Mar 11, 2009 12:48 AM
Line Spacing of headline in comments section HenryGomez Comments, trackbacks & pings 1 Feb 18, 2009 12:15 PM


All times are GMT -6. The time now is 01:34 PM.


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