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.
By t.a. barnhart on
tested with several themes i downloaded from Drupal (D7). a standard blog entry, using the Body field.
add
in css,
p.upcaption {color:red;}
(just for testing purposes)
when i inspect element, the class is added, but the attribute ignored.
text format is full
have also tried and also ignored. this is driving me nuts. can't add a span, can't modify p with a class. wtf?
tia.
Comments
What happens if you add the
What happens if you add the CSS into devtools' "Sources" tab?
============================
Resonetrics: Better Tools for Building Brands
http://resonetrics.com
http://technologyformarketers.com
http://kittenassociates.org
http://www.linkedin.com/in/sammooreatresonetrics
i don't know how to do that
i don't know how to do that
First make sure you've got
First make sure you've got Chrome's Devtools (or Firebug in Firefox) turned on.
For Chrome, see here:
https://developers.google.com/web/tools/setup/workspace/setup-devtools
Go to your page, right-click (ctrl-click if you only have one button) on the page and chose "Inspect Element".
Devtools window opens up; go to the Sources tab, find and click on a CSS file so it's displayed in the main window, and add your CSS here. This will take effect immediately (though only in your current session of course) and will let you test whether your CSS is in fact valid and effective.
============================
Resonetrics: Better Tools for Building Brands
http://resonetrics.com
http://technologyformarketers.com
http://kittenassociates.org
http://www.linkedin.com/in/sammooreatresonetrics
thanks. this was really
thanks. this was really useful.
so was, by trial & error (since i had forgotten long ago & never do it) starting name of the identifier with a number is what broke this. sheesh.