Why would the same text display differently in the post vs

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Why would the same text display differently in the post vs

Postby interloper » 28 Apr 2012, 08:52

Why would the same text appear differently on the actual post vs the same post on the front page. Take a look at:

http://bloggerkhan.com/what-not-to-do-i ... elease/795
This is the actual post.

Now see http://bloggerkhan.com
The same post appears on the front page also as this is the latest post.

Notice the Jackson box in the lower part of the post that says 'How to write a Press Release' 'Order your copy now'.

In the actual post, everything is centered. On the front page, it is not centering no matter what I do.

Also, even though I specify the table to be no more than 50% of the page, it takes up all available space.
interloper
 
Posts: 36
Joined: 06 Feb 2010, 09:48

Re: Why would the same text display differently in the post

Postby sayontan » 28 Apr 2012, 09:33

Are you inserting this code via a plugin? Because I am actually seeing different code on the two pages. Also, the way the table is coded, there is a bit of an issue: on the individual page I see: <h2 align=\"left\"> for "Order your copy today". This is wrong (the "\" shouldn't be there), so the page ignores this setting and takes the overall alignment of the table, which is "center". For your home page the text shows up correctly as <h2 align="left">. So in fact, your homepage is obeying the settings, but the individual page isn't.

If I might offer a suggestion, get rid of the align attributes altogether and use CSS-based styling. In general you should avoid using align="center", because any theme or plugin that has a CSS definition will see the CSS override this setting. If you are using tables only for showing this box in all your posts, the solution is to simply add this to your custom styles:
Code: Select all
.entry td { text-align: center; }
.entry td h1, .entry td h2 { float: none; }
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10161
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Why would the same text display differently in the post

Postby interloper » 28 Apr 2012, 14:44

When you say 'add this to your custom styles', what do you mean? Where / how do I add it?

I am using the FolioPress WYSIWYG plugin editor. I just create the page on my computer using Front Page editor, copy to my website and publish. Why it would appear differently is beyond me.

I am not using any style sheets. I just added the table to the bottom of the text.
interloper
 
Posts: 36
Joined: 06 Feb 2010, 09:48

Re: Why would the same text display differently in the post

Postby sayontan » 28 Apr 2012, 14:55

Custom Styles are here: Back-end -> Custom Includes -> Custom Styles. Put the CSS there.

Why your plugin is behaving oddly is beyond me. You can switch to the HTML mode within your WP Editor and remove the "align" attributes by yourself.

Note that FrontPage has been replaced a while back by Microsoft. You can try using LiveWriter to write your posts.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10161
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Why would the same text display differently in the post

Postby interloper » 28 Apr 2012, 15:50

Switching to Windows Live did the trick.

Thank You so much.
interloper
 
Posts: 36
Joined: 06 Feb 2010, 09:48


Return to Support Requests

Who is online

Users browsing this forum: No registered users and 4 guests