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 »

[SOLVED] Horizontal space can't be set for images with captions


  #1  
Old Sep 27, 2012, 12:10 PM
kali
 
9 posts · Sep 2010
Bern, Switzerland
I'm teaching a WordPress course using Atahualpa as my example theme, and I need to solve this ASAP.

I've tested this out with Twenty-Ten and there's no problem, so I'm sure it's the latest version of Atahualpa interacting with the latest version of WP. It's a new install, with no plugins, right out of the box.

In images without captions, I can use the image settings to set the image align-left and to create a 15px horizontal space between the image and the text on the page. BUT, when I add a caption to the image, the horizontal spacing no longer works properly and I see image you see in the attachment. If you check the URL http://burningcities.com/uncategoriz...in-particular/ then you can see that the caption & box display properly, but the gutter is not 15px.

Any idea what's going on?
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2012-09-27 at 7.05.30 PM.png
Views:	423
Size:	155.8 KB
ID:	2011  
  #2  
Old Sep 27, 2012, 01:10 PM
juggledad's Avatar
juggledad
 
23,575 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
go to ato->export/import settings export your settings and attach them to a reply
take this as an oppertunity to teach your students about problem solving
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 27, 2012, 01:27 PM
kali
 
9 posts · Sep 2010
Bern, Switzerland
I certainly will!

Here's the settings file, attached. Thanks for looking at it!
Attached Files
File Type: txt ata-burningcitiescom-20120927.txt (13.9 KB, 401 views)
  #4  
Old Sep 27, 2012, 01:38 PM
juggledad's Avatar
juggledad
 
23,575 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
ok, I'm not seeing an issue on my site whth your settings.
set the image so you have teh error and then I can look at your site.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Sep 27, 2012, 01:50 PM
kali
 
9 posts · Sep 2010
Bern, Switzerland
Problem is that you can't see it on the site, only in the editing window. Can I private mail you a login/pwd ? It's an empty site, and there's only the one post.
  #6  
Old Sep 27, 2012, 03:24 PM
juggledad's Avatar
juggledad
 
23,575 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
private mail you a login/pwd
sure - send me a PM

are you using the html or visual editor?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Sep 27, 2012, 08:12 PM
juggledad's Avatar
juggledad
 
23,575 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
ok teh reason for the difference is that Tewnty-eleven supplies a file 'editor-style.css' and Atahualpa doesn't it uses the WordPress standard.

what you can do is copy that file from the twenty-eleven into the atahualpa theme folder and it should look teh same.

To me this is a bug in WordPress - if they had to add a special css file they should have fixed the original fie instead.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Sep 28, 2012, 04:06 AM
kali
 
9 posts · Sep 2010
Bern, Switzerland
I copied the twentyten editor-style.css into the atahualpa theme folder as you suggested, but there is no change in the editor window. Nor does it change the post itself.

Any other thoughts?
  #9  
Old Sep 28, 2012, 05:23 AM
juggledad's Avatar
juggledad
 
23,575 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You should be ok now. Two things had to be changed
1) the line
HTML Code:
add_editor_style('editor-style.css');
had to be added to the begining of functions.php
2) the 'editor-style.css' needed to come from twentyeleven - the twenty-ten version has the same problem.

I fixed both and you should be good to go.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Sep 28, 2012, 05:38 AM
kali
 
9 posts · Sep 2010
Bern, Switzerland
Wow, very cool! And thanks very much!

One more question... My normal paragraph font in the editor window now seems to have changed.... Can we set that so it matches the display font when I view that page?

I very much appreciate your willingness to help me sort this out. I didn't need more convincing, but it's a clear demonstration why Atahualpa is a great template choice!

Kali
  #11  
Old Sep 28, 2012, 05:46 AM
juggledad's Avatar
juggledad
 
23,575 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If by display font you mean the font you pick in the theme, then the answer is no/yes
You could do it by editing the 'editor-style.css' file but if you change the font in atahualpa you would have to change the file again.

Don't put much stock on the visual editor, it has many quirks. Use it as a reference or better yet learn how to use the HTML editor or look at one of the editor plugins
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Sep 28, 2012 at 10:02 AM.
  #12  
Old Sep 28, 2012, 08:07 AM
kali
 
9 posts · Sep 2010
Bern, Switzerland
Okay, I see what you mean. I do use the html editor myself, but I'm teaching a class for beginners who want to start building their own sites. Some will be interested in html and some won't. I find that beginners panic when faced with discrepancies of any kind, so I try to reduce them as much as possible.

Once again, I appreciate the time you've taken to solve the problem. Hopefully, the class will create a dozen or more new Atahualpa fans...

Bookmarks

Tags
captions, horizontal space, images

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Images with captions have padding bug(?) when browser width smaller than image Mulpha Center area post/pages 6 Jan 29, 2013 12:20 PM
Aligning images with captions legrys Center area post/pages 0 May 30, 2012 09:00 AM
horizontal space between header, body and footer mwallace Header configuration & styling 3 Aug 14, 2010 06:11 AM
Strange border around images with captions Androsko Center area post/pages 4 Mar 2, 2010 10:41 PM


All times are GMT -6. The time now is 11:46 PM.


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