Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #572015

    Hi!
    I have a weird acting text block, see screenshots below:
    color
    color2

    it is supposed to be the same color! weird but true.

    cheers
    Lucie

    • This topic was modified 8 years, 3 months ago by aB-Agenta.
    #572031

    i checked other pages too; on some it is working, on others it is refusing too use any other color than blue.

    #572660

    Hi,

    Poor markup is not a bug, just to be clear on that. Please note your markup on the first highlighted code:

    <span><strong>
    

    and the second highlighted:

    <strong><span>
    

    Change your markup and you should get the same results.

    Thanks,
    Rikard

    #572847

    Hi,
    ah, ok, i was irritated because that is, what the editor gave me…
    cheers
    Lucie

    #572868

    But maybe still there is sth wrong with the editor – all my saved templates are gone. and the colors were also choosen with the editor…

    #573536

    Hi,

    I’m not sure what you mean by that, could you try to explain a bit further and/or upload screenshots of the issue?

    Thanks,
    Rikard

    #573814

    Hi Rikard,

    i am just saying, that the poor markup comes from the editor; i was just using the “strong-button” and the “color-button”. if you don t use the “strong-button” first, it doesn t take the right color. instead it takes the standard color of the theme.

    visual editor: type text in editor, use buttons:
    ed2

    checked the “text view”, this is what is does, logically
    ed2

    result: not working if buttons used in wrong order
    editor

    regards
    Lucie

    • This reply was modified 8 years, 2 months ago by aB-Agenta.
    #574324

    Hi,

    The colour setting comes from the style sheet, so if you want to change a colour it would be easier to change it with CSS. As far as I can see everything is working as it should but you will get different results depending on what order you add your markup.

    Regards,
    Rikard

    #574392

    Hi!
    just saying, that somebody who doesn t know css at all might be confused, why it is not working…it is still a mystery to me, why it takes the theme color…the editor is for people who doesnt know css, isn t it?

    regards
    Lucie

    #575537

    Hi,

    It’s because you are using inline styles, the second one where you have the span last will override the default strong tag styling. On the first one it won’t because the inline styling comes before the strong tag.

    Regards,
    Rikard

    #575664

    Hi,

    okay, got it!
    cheers
    Lucie

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Text block magic mystery color’ is closed to new replies.