Support » Fixing WordPress » What could cause a theme to ignore html markup?

  • Resolved americannoise

    (@americannoise)


    Hi guys,

    Kind of a general question here–I can’t provide a URL because I’m developing a redesign on the back end.

    What could cause a theme to call the_content but display that content without any embedded markup? Simply: html like does not render italics. In-line style does. The same is true for image size–a width specification doesn’t resize the image, but styling the width via style=”width:x;” does.

    However, when viewing the page source, the markup is still there. still wraps the text–the text just displays as plain.

    What could cause this? What should I look for? I’m working with a theme I didn’t design, and I’m not sure what to try and correct.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael

    (@alchymyth)

    a broken stylesheet could be the cause:

    http://jigsaw.w3.org/css-validator/

    or some invalid html:

    http://validator.w3.org/

    Canha

    (@xcakeblogs)

    Take a look at the CSS file. It might be configured to remove the styles.

    Look for anything with “em” on your CSS file and check if the value is something like “font-style: normal;” and change it to “font-style: italic;”.

    If this topic is solved, please mark it as “Resolved” on your right sidebar.

    Cheers

    Thread Starter americannoise

    (@americannoise)

    Thanks guys. For the record, the issue was that em was set to “inherit.”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘What could cause a theme to ignore html markup?’ is closed to new replies.