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.
If I configure a block display in a view to list node teasers, the teasers display with the node titles in the same style as all other blocks on the site, i.e. white text on a solid background. But if I configure the same view to show a page display of the teasers, the node titles are normal text with no background. I can't seem to separate out the classes to keep the teasers consistent across view displays without also re-styling the normal block headers (which are OK). Screenshots attached - I want all my teaser titles to look like they do in the "page view". Any tips?
Comment | File | Size | Author |
---|---|---|---|
teaser style in block view.jpg | 101.16 KB | awebmanager | |
teaser style in page view.jpg | 35.85 KB | awebmanager |