Tagged: text block bug
-
AuthorPosts
-
January 26, 2016 at 11:10 am #572015
Hi!
I have a weird acting text block, see screenshots below:
it is supposed to be the same color! weird but true.
cheers
Lucie- This topic was modified 8 years, 10 months ago by aB-Agenta.
January 26, 2016 at 11:38 am #572031i checked other pages too; on some it is working, on others it is refusing too use any other color than blue.
January 27, 2016 at 8:33 am #572660Hi,
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,
RikardJanuary 27, 2016 at 1:36 pm #572847Hi,
ah, ok, i was irritated because that is, what the editor gave me…
cheers
LucieJanuary 27, 2016 at 2:01 pm #572868But maybe still there is sth wrong with the editor – all my saved templates are gone. and the colors were also choosen with the editor…
January 28, 2016 at 7:49 am #573536Hi,
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,
RikardJanuary 28, 2016 at 4:18 pm #573814Hi 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:
checked the “text view”, this is what is does, logically
result: not working if buttons used in wrong order
regards
Lucie- This reply was modified 8 years, 10 months ago by aB-Agenta.
January 29, 2016 at 5:54 am #574324Hi,
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,
RikardJanuary 29, 2016 at 9:43 am #574392Hi!
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
LucieFebruary 1, 2016 at 5:24 am #575537Hi,
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,
RikardFebruary 1, 2016 at 10:02 am #575664Hi,
okay, got it!
cheers
Lucie -
AuthorPosts
- The topic ‘Text block magic mystery color’ is closed to new replies.