Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello there...
Im designing a subtheme for Omega, and suddenly I realized my text formating was gone... Bold, italics and stuff in articles and comments were not rendered..... I discovere it while playing with TinyMCE...
But nor i tried a new drupal 7 install with Omega and no other modules and the text formating isn't working on Omega theme or any of the starter kits.... it DOES work if i untick the reset.css file in the theme settings, so must be something in that file thats not working with the theme as it's supposed to..... any ideas on this?
Comment | File | Size | Author |
---|---|---|---|
#6 | omega-n1082418-6.patch | 297 bytes | DamienMcKenna |
Comments
Comment #1
himerus CreditAttribution: himerus commentedI'm surprised this didn't get noticed sooner.. it was after the changes to reset.css. The new reset.css defines everything off the bat as font: inherit; which resets ALL styles on the bold and italic texts.
The issue will be fixed in next release, but I don't have patch yet.
You can add this code to either your custom css file(s) or at the bottom of the default omega reset.css. That should solve the issue.
Comment #2
acoustika CreditAttribution: acoustika commentedThx.... I'll add that to the omega css files.. Im still in development fase on the site, so i fixed it so far by just removing the inherit thing....
But better to do as you suggest... Thx
Comment #3
himerus CreditAttribution: himerus commentedFixed in this commit: http://drupalcode.org/project/omega.git/commit/7835191
This will be tagged in the next release.
Comment #4
gerrydonaldson@gmail.com CreditAttribution: gerrydonaldson@gmail.com commentedI tried adding the code at the bottom of the default omega reset.css and it did not work for me, but then I know nothing about these sorts of files. However, if using "Full HTML" in your content file, then what does work is the following. This will tide you over until there is a fix to Omega.
Where <b>bold text</b> does not work, what does work is: <span style="font-weight:bold;">bold text</span>
Where <i>italics text</i> does not work, what does work is: <span style="font-style:italic">italics text</span>
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commented#1 worked for me, thanks!
Comment #6
DamienMcKennaThe B and I tags (still valid in HTML5 IIRC) aren't supported still, this patch fixes it.
Comment #7
Cellar Door CreditAttribution: Cellar Door commentedComment #8
himerus CreditAttribution: himerus commentedAdded to 3.1 release.
Thanks Damien!