Posts want to be center-aligned, how do I fix it?
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? |
This can happen for many different reasons, please post a URL
|
I left-justify before I post them, but my blog is at http://freedetainees.org
Thanks in advance! :-) |
Quote:
|
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 { HTML Code:
td#middle div.post-bodycopy p { |
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 |
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....
|
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 |
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)
|
Quote:
|
Quote:
|
Quote:
|
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 |
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'); ?> |
Quote:
|
Quote:
Is that what you mean, Flynn? |
You shouldn't be able to move beyond or below the last closing ?> with the right and down arrow keys of your keyboard
|
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. |
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.
|
I also found this http://www.mlmanley.com/2009/02/fixe...ahualpa-theme/
|
Yes!!!! thats the difference, and it's working again. Things to do for the next version....
|
Quote:
|
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! :) |
OOPS! LOL Flynn, I should have read your link before posting my last one. :-D Thank you so much!
|
All times are GMT -6. The time now is 01:51 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.