Forums

Post titles suddenly appear underlined (8 posts)

  1. lsanders
    Member
    Posted 3 years ago #

    My post titles suddenly started to appear underlined on the main page when they'd never been that way before. Any ideas as to why this is happening?

    If I click through to the actual post, the underlining goes away.

    This happened about a week ago.

  2. irishb
    Member
    Posted 3 years ago #

    No idea why that might be happening all of a sudden like that, but you can probably resolve it through the style.css file in your selected theme.

    Toss up a link to your blog and I can check out exactly which line of code you would need to change, and what to change it to.

  3. lsanders
    Member
    Posted 3 years ago #

    thanks!

    here's the blog:

    http://sfindiefashion.com/

    let me know what other info you need, if any.

  4. irishb
    Member
    Posted 3 years ago #

    Okay, looks like there was some embedded CSS in your January 20th post titled "Check Out Our Chat with mio: Made in Oakland". Go into your WordPress Admin and edit that post in HTML, and you'll see this:

    <style> <!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} a:link, span.MsoHyperlink 	{color:blue; 	text-decoration:underline; 	text-underline:single;} a:visited, span.MsoHyperlinkFollowed 	{color:purple; 	text-decoration:underline; 	text-underline:single;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;</style>

    I'm not sure if you intended all of that to be in there, but in the middle of all that mess is "a:link, span.MsoHyperlink {color: blue; text-decoration:underline;"

    Remove the "text-decoration:underline;" string and you're golden. If you don't need any of that other stuff, I'd remove all of that too.

  5. iridiax
    Member
    Posted 3 years ago #

    The MsoNormal code comes from pasting from MS Word.

  6. lsanders
    Member
    Posted 3 years ago #

    amazing. problem solved. thank you so much!

  7. Saurus
    Member
    Posted 3 years ago #

    Do NOT paste text directly from Word to WP, ever. This has been said time and again, and indeed there is a sticky at the top of the first page of this board saying exactly that.

    Further, you should not use inline CSS in a post. Insert a new class in your stylesheet if there is something special you want to add.

  8. irishb
    Member
    Posted 3 years ago #

    Take a deep breath, Saurus. I agree the OP should have read the sticky at the top of the first page, though some people make mistakes. A simple reminder would have been just as effective, and more tasteful to boot.

    lsanders: What Saurus means to say is that it's generally never a good idea to bring text from Microsoft Word to your WordPress post. This is because Microsoft Word will add a whole bunch of garbage to your text, and in turn will be added to your WordPress post.

    In regards to using inline CSS, I'm sure it's Word's fault once again. You would have seen this in the HTML version of your post, but chances are that you were in the Visual tab. No worries!

    EDIT: Oh, anyway what I came here to say was that now that you're problem is fixed, can you edit this post to "resolved" so that others might benefit from this thread? Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic