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 »

Posts want to be center-aligned, how do I fix it?


  #1  
Old Feb 23, 2009, 01:07 PM
Dazey
 
13 posts · Feb 2009
Hi,

Upgraded to 3.2 last night - it's very nice, but this morning I noticed that when I go to post it is center-aligned. I have to left align it AFTER I post. How can I fix that, please?
  #2  
Old Feb 23, 2009, 03:48 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
This can happen for many different reasons, please post a URL
  #3  
Old Feb 25, 2009, 10:28 AM
Dazey
 
13 posts · Feb 2009
I left-justify before I post them, but my blog is at http://freedetainees.org

Thanks in advance! :-)
  #4  
Old Feb 25, 2009, 05:19 PM
pwcomp
 
6 posts · Feb 2009
Quote:
Originally Posted by Flynn
This can happen for many different reasons, please post a URL
I`m getting the same problem here, annoying more than any thing, have to re justify every time before i post.
  #5  
Old Feb 25, 2009, 06:22 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
That shouldn't happen, sounds like a <center> somewhere not closed on top of the page and that is trickling down to the posts.

I checked the sites of both of you and when I removed the inline "text-align: left" or "text-align: justfy" (pwcomp) styles of paragraphs, the text would be left aligned.

Please post a specific post or page where this happen and point out which text part etc...

Or, add this through HTML/CSS Inserts -> CSS Inserts

HTML Code:
td#middle div.post-bodycopy {
text-align: left !important;   
}
or this, to limit it to paragraphs inside posts and let i.e. image captions be centered. Depends on your posting habits whether this catches all remaining text or not:

HTML Code:
td#middle div.post-bodycopy p {
text-align: left !important;   
}
Pwcomp, you should replace left with justify
  #6  
Old Feb 25, 2009, 06:56 PM
Dazey
 
13 posts · Feb 2009
Hi Flynn,

Thanks for the reply! I am using TinyMCE and when I disable it, I don't have the trouble. The problem is, though, I need TinyMCE because I do a lot of tables for captions under photos so that I can justify those.

I wonder if we're both using that, and is there a fix? I'm going to try your suggestion now, if I can figure it out. :-)

Thanks so much!
Linda
  #7  
Old Feb 25, 2009, 07:00 PM
Dazey
 
13 posts · Feb 2009
Argh... didn't work for me. I'm sure it's TinyMCE interacting with this theme. I also left a comment on the TinyMCE plug in page - don't know if they will reply. It worked with the old theme, though. No problems. So it must be something in the theme itself....
  #8  
Old Feb 25, 2009, 09:20 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Then check whether you have a blank space or line at the end of atahualpa/functions.php or wp-config.php (WP file, not Atahualpa file). This can interact with tinyMCE too

If you edited any of the files in atahualpa/functions/... then check those for the same thing
  #9  
Old Feb 26, 2009, 06:04 AM
bvision's Avatar
bvision
 
12 posts · Jan 2009
Heerlen, The Netherlands
Strange, , I have the same problem here. It started with the update from 3.18 to 3.20. I checked both files and there were no spaces or lines at the end. (site: bVision.nl)
  #10  
Old Feb 27, 2009, 01:20 PM
Dazey
 
13 posts · Feb 2009
Quote:
Originally Posted by Flynn
Then check whether you have a blank space or line at the end of atahualpa/functions.php or wp-config.php (WP file, not Atahualpa file). This can interact with tinyMCE too

If you edited any of the files in atahualpa/functions/... then check those for the same thing
Hi, thank you for the reply, I was out of town yesterday. Anyway I just checked the function page, and I don't know where the wp-config.php is. :-/ Can you let me know? Thanks much! :-)
  #11  
Old Feb 27, 2009, 02:11 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Quote:
Originally Posted by Dazey
Hi, thank you for the reply, I was out of town yesterday. Anyway I just checked the function page, and I don't know where the wp-config.php is. :-/ Can you let me know? Thanks much! :-)
It's not a Atahualpa file but a core Wordpress file at /your-domain.com/wp-config.php
  #12  
Old Feb 27, 2009, 02:49 PM
Dazey
 
13 posts · Feb 2009
Quote:
Originally Posted by Flynn
It's not a Atahualpa file but a core Wordpress file at /your-domain.com/wp-config.php
Ok thanks, this is embarrassing, but how do I get to it?
  #13  
Old Feb 27, 2009, 03:06 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Did you upload the theme through FTP or was the theme already on your hosting account?

You would need FTP access http://forum.bytesforall.com/showpos...60&postcount=2 for this

On your account it should look like this

/yourdomain.com/
/yourdomain.com/wp-config.php
/yourdomain.com/wp-content/themes/atahualpa/... atahualpa files
/yourdomain.com/ ... other directories and files
  #14  
Old Feb 27, 2009, 03:09 PM
Dazey
 
13 posts · Feb 2009
OK I used FTP. Here is the complete file, I didn't see any blank lines...

<?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information by
* visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
*
* @package WordPress
*/

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', '********');

/** MySQL database username */
define('DB_USER', '*******');

/** MySQL database password */
define('DB_PASSWORD', '********');

/** MySQL hostname */
define('DB_HOST', 'localhost');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');

/**#@+
* Authentication Unique Keys.
*
* Change these to different unique phrases!
* You can generate these using the {@link http://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
*
* @since 2.6.0
*/
define('AUTH_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
define('SECURE_AUTH_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
define('LOGGED_IN_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxx');
define('NONCE_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxx');
/**#@-*/

/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'wp_';

/**
* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de.mo to wp-content/languages and set WPLANG to 'de' to enable German
* language support.
*/
define ('WPLANG', '');

/* That's all, stop editing! Happy blogging. */

/** WordPress absolute path to the Wordpress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
?>
  #15  
Old Feb 28, 2009, 07:04 AM
pwcomp
 
6 posts · Feb 2009
Quote:
Originally Posted by Dazey
Hi Flynn,

Thanks for the reply! I am using TinyMCE and when I disable it, I don't have the trouble. The problem is, though, I need TinyMCE because I do a lot of tables for captions under photos so that I can justify those.

I wonder if we're both using that, and is there a fix? I'm going to try your suggestion now, if I can figure it out. :-)

Thanks so much!
Linda
yea im using tiny as well Linda
  #16  
Old Feb 28, 2009, 09:01 AM
Dazey
 
13 posts · Feb 2009
Quote:
Originally Posted by pwcomp
yea im using tiny as well Linda
Well, it looks like we've at least narrowed it down. Now on that blank space... do you guys mean the curser should be at the end of the last character? I'm not sure how to edit wp-config.php in notepad without it naming itself .txt. I'm hoping to install Linux soon - windows isn't my favorite thing.

Is that what you mean, Flynn?
  #17  
Old Feb 28, 2009, 09:08 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You shouldn't be able to move beyond or below the last closing ?> with the right and down arrow keys of your keyboard
  #18  
Old Feb 28, 2009, 09:08 AM
Dazey
 
13 posts · Feb 2009
I was able to edit it and make the curser end at the end of the text - no difference. It still wants to be centered. FWIW I think TinyMCE is coming out with an update soon... but until then....

Maybe we should all tell them about this issue so they can make sure to do whatever they have to do to avoid it? Let me know what you think.
  #19  
Old Feb 28, 2009, 02:26 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You can also try using another browser while editing text, or disable plugins one by one to see whether a specific plugin is causing this.
  #20  
Old Mar 3, 2009, 01:07 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
I also found this http://www.mlmanley.com/2009/02/fixe...ahualpa-theme/
  #21  
Old Mar 4, 2009, 03:52 PM
bvision's Avatar
bvision
 
12 posts · Jan 2009
Heerlen, The Netherlands
Yes!!!! thats the difference, and it's working again. Things to do for the next version....
  #22  
Old Mar 5, 2009, 01:27 PM
pwcomp
 
6 posts · Feb 2009
Quote:
Originally Posted by Flynn
thats sorted it for me to great stuff.
  #23  
Old Mar 10, 2009, 08:22 PM
Dazey
 
13 posts · Feb 2009
If anyone is still having problems with the centering with TinyMCE the plugin site provided the fix! I'll paste it below:

@Linda G. Richard disable the importing of CSS styles, see the FAQ above.
FAQ at: http://wiki.moxiecode.com/index.php/...dvanced_styles

Anyway WHEW! I LOVE this theme - and I love the plugin so what a relief!
  #24  
Old Mar 10, 2009, 08:25 PM
Dazey
 
13 posts · Feb 2009
OOPS! LOL Flynn, I should have read your link before posting my last one. :-D Thank you so much!

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fix Background? Antsliedown Atahualpa 3 Wordpress theme 0 May 7, 2009 09:44 AM
CSS to fix images in sidebars? boruma Sidebars & Widgets 3 Apr 17, 2009 12:30 PM
[SOLVED] HOW to fix my Comments feed? Shepherd Jim RSS, Feeds & Subscribing 5 Mar 29, 2009 02:15 PM
[SOLVED] How do I fix the width of the center column? weightlosscoach Sidebars & Widgets 3 Mar 23, 2009 04:01 PM
Php problem and a fix js9600 Atahualpa 3 Wordpress theme 3 Dec 19, 2008 01:15 AM


All times are GMT -6. The time now is 11:57 AM.


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