Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[Solved] Bold and italic not rendering
Relocating issue here to not clog up Gocom’s rah_textile_bar thread. Start of discussion (in case you’re interested).
In short, I’m working on a site in dev (secured directory), install is 4.4.1. The problem I’m having is bold and italic formatting isn’t working. It makes no difference if applied via Textile or via raw html tags. The markup is shown correctly when page source is viewed, and the markup is also correct in the database. But for whatever reason the bold and italic formatting does not render.
At first I thought this might be due to hak_tinyMCE and/or rah_textile_bar for some reason, but neither should be the case as Hakjoon and Gocom have assured, and in fact when turning these plugins off, the problem remains.
Then I thought I had it figured out because I was using a Google font that did not have bold and italic versions. But after changing to another font and selecting bold and italic versions, the problem remains. So I removed the Google font link entirely and the problem still remains with a common desktop font like Arial.
So I’m clueless at this point. I’ve never seen this before. What could possibly be the reason for bold and italic not rendering?
Offline
Re: [Solved] Bold and italic not rendering
Hi Destry
Did you check your css? It is the only thing I can think of. A good test might be to view the article without any style (firefox has this option under the view menu in mac)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [Solved] Bold and italic not rendering
Not rendered or not styled as expected ?
Have you checked through WebKit Inspector, Firebug or Opera DragonFly or IE 8-9 ‘s debug tool ?
Inspect element and check all styles that are applied.
bits of debugging code in your stylesheet might help:
i, em, b, strong { background: yellow; }
and things like that
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: [Solved] Bold and italic not rendering
Thanks guys. I had went through my styles. The tools weren’t really helping; not in terms of flagging anything (outside of some background color violations I need to fix).
But this lead me to look at my reset styles closer (a variation of Eric Meyers’) and the only rule I was unsure about was font: inherit;
.
I took that out and problem fixed!
So apparently if you use that you have to declare bold and italic directly or it doesn’t work? I guess it overrides browser defaults? I would have thought defaults would still apply first and then inherit would kick in for whatever you defined differently. I guess not.
Anyway, this means the problem was there since the beginning, and I never noticed it. Granted, the client is doing the content, and they brought it to my attention by noticing a problem when trying to use bold.
What a waste of time. But I learned something.
Offline
Re: [Solved] Bold and italic not rendering
The font shorthand resets all font properties (-weight, -style, -variant, etc).
http://www.w3.org/TR/CSS21/fonts.html#font-shorthand
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: [Solved] Bold and italic not rendering
Never too late to be schooled. :)
Offline