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,
I have tested this with a couple of admin themes but it's the same in both. BY default when enabling semantic views there is an option to add a row class attribute in the settings tab, then you can add the first and last row classes. The Row Class Attribute wasn't there by default like the upcomin screenshot.
I investigated it and found that it's there but not shown because a CSS bug with the FIRST/Last fieldset just after. Then I added a clear: both style to the mentioned fieldset so it appears like so:
Thanks in Advance!
Comment | File | Size | Author |
---|---|---|---|
#4 | semanticviews-clearfix-1888258-4.patch | 2.44 KB | Tschet |
Comments
Comment #1
DuaelFrComment #2
smptebars1 CreditAttribution: smptebars1 commentedJust wanted to add. for those who may have difficulty understanding which file to add the code to. It is semanticviews_plugin_style_default.inc
Thanks for the fix.
Comment #3
joep.hendrix CreditAttribution: joep.hendrix commentedworks
please commit
Comment #4
Tschet CreditAttribution: Tschet commentedThe answer is simpler than it looks. Semantic Views 7.x is using the Drupal 6 "clear-block" instead of "clearfix". This patch corrects the class names.
Comment #5
Scyther CreditAttribution: Scyther commentedWorks, but the
'clearfix'
should be wrappad in aarray()
like thisarray('clearfix')
Comment #7
Scyther CreditAttribution: Scyther commentedFixed and commited to dev for 7.x.