Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Posts want to be center-aligned, how do I fix it? (http://forum.bytesforall.com/showthread.php?t=513)

Dazey Feb 23, 2009 12:07 PM

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?

Flynn Feb 23, 2009 02:48 PM

This can happen for many different reasons, please post a URL

Dazey Feb 25, 2009 09:28 AM

I left-justify before I post them, but my blog is at http://freedetainees.org

Thanks in advance! :-)

pwcomp Feb 25, 2009 04:19 PM

Quote:

Originally Posted by Flynn (Post 1995)
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.

Flynn Feb 25, 2009 05:22 PM

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

Dazey Feb 25, 2009 05:56 PM

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

Dazey Feb 25, 2009 06:00 PM

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....

Flynn Feb 25, 2009 08:20 PM

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

bvision Feb 26, 2009 05:04 AM

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)

Dazey Feb 27, 2009 12:20 PM

Quote:

Originally Posted by Flynn (Post 2156)
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! :-)

Flynn Feb 27, 2009 01:11 PM

Quote:

Originally Posted by Dazey (Post 2253)
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

Dazey Feb 27, 2009 01:49 PM

Quote:

Originally Posted by Flynn (Post 2260)
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? :confused:

Flynn Feb 27, 2009 02:06 PM

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

Dazey Feb 27, 2009 02:09 PM

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');
?>

pwcomp Feb 28, 2009 06:04 AM

Quote:

Originally Posted by Dazey (Post 2149)
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

Dazey Feb 28, 2009 08:01 AM

Quote:

Originally Posted by pwcomp (Post 2306)
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?

Flynn Feb 28, 2009 08:08 AM

You shouldn't be able to move beyond or below the last closing ?> with the right and down arrow keys of your keyboard

Dazey Feb 28, 2009 08:08 AM

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.

Flynn Feb 28, 2009 01:26 PM

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.

Flynn Mar 3, 2009 12:07 AM

I also found this http://www.mlmanley.com/2009/02/fixe...ahualpa-theme/

bvision Mar 4, 2009 02:52 PM

Yes!!!! thats the difference, and it's working again. Things to do for the next version....

pwcomp Mar 5, 2009 12:27 PM

Quote:

Originally Posted by Flynn (Post 2463)

thats sorted it for me to great stuff.

Dazey Mar 10, 2009 07:22 PM

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! :)

Dazey Mar 10, 2009 07:25 PM

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.