Problem with "articles" content style

  • bethmperry

    #404

    Hello

    I use TinyMCE for pages and articles content edition. But style changes done with the editor do not apply on articles. The default style defined in style.css is used. The problem does not occur with pages. Also, I do not the have the problem with the default wordpress theme.

    Could you help me ?

    Thanks in advance

    dds

    #12387

    Important note: If I deploy the list of comments for that article, then the correct style defined with TinyMCE is applied!

    dds

    #12388

    No help available? …

    Admin

    Syahir Hakim

    #12389

    The styles of what elements are you referring to?

    dds

    #12390

    Thanks for your reply.

    I’m reffering to post’s style. I know that I can define a default style with a child theme but why doesn’t the police changes made trough TinyMCE apply to posts as they apply to pages? As I told before, if I switch to “twent ten” wordpress default theme,then the changes made with TinyMCE apply.

    Admin

    Syahir Hakim

    #12391

    I can’t help you unless you provide me with a link to your website, as well as the HTML elements that are causing the issues, e.g. the <li> element or the <p> element.

    dds

    #12392

    You can take a look to the site at http://www.ecole-boersch@boersch.net. (it is a french site!).

    If you take a look to the post “INFORMATIONS de RENTREE 2010/2011” displayed on the home page (Accueil means Home)there is a ul list at the beginning that it is only displayed if the entire post is displayed. Below, the HTML code of the list, written with TinyMCE. This is an example. (“voir le post en entier” means “see the entire post”).

    Thanks again for your help

    “<h1><span style=”text-decoration: underline;”>ORGANISATION & REPARTITION PEDAGOGIQUE</span></h1>

    Effectif total : 114 élèves (au 02.09.10)

    • CP : 20 élèves : (Mlle Dominique SCHAFFROTH)
    • CE1 : 22 élèves (Mme Anne FAUST)
    • CE2 : 24 élèves (Mme Annie LINARD, le lundi/mardi – Mr Claude HAUMESSER, le jeudi/vendredi)
    • CM1 : 20 élèves (Mme Carole RHINN)
    • CM2 : 28 élèves (Mr Denis VERLE – Mme Hélène GILLMANN le jeudi)

    dds

    #12393

    Sorry, site URL is http://www.ecole-boersch.net

    dds

    #12394

    and here’s the HTML code for that list (again, created with TiniMCE)

    <h1><span style=”text-decoration: underline;”>ORGANISATION & REPARTITION PEDAGOGIQUE</span></h1>

    Effectif total : 114 élèves (au 02.09.10)

    • CP : 20 élèves : (Mlle Dominique SCHAFFROTH)
    • CE1 : 22 élèves (Mme Anne FAUST)
    • CE2 : 24 élèves (Mme Annie LINARD, le lundi/mardi – Mr Claude HAUMESSER, le jeudi/vendredi)
    • CM1 : 20 élèves (Mme Carole RHINN)
    • CM2 : 28 élèves (Mr Denis VERLE – Mme Hélène GILLMANN le jeudi)
    Admin

    Syahir Hakim

    #12395

    Hurm…do you mean the posts in the slider? If that’s what you’re referring to, it’s actually an expected behaviour, since the slider uses the post’s excerpt. WordPress automatically strip all html tags from the excerpt, hence the formatting is not applied.

    It’s probably better if you create your own manual excerpt for that particular post.

Viewing 10 posts - 1 through 10 (of 13 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!