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.
At some point in time the styling for the “Skip to main content” link in Seven was knocked out a bit. Let's fix it.
Let's be aware of the toolbar when it's in it's vertical position to.
Comment | File | Size | Author |
---|---|---|---|
#7 | Screenshot from 2014-03-12 19:38:57.png | 51.48 KB | rob3000 |
#5 | Screenshot from 2014-03-12 13:44:33.png | 98.77 KB | rob3000 |
#4 | interdiff-1-2.txt | 378 bytes | martin107 |
#4 | seven-skip-content-link-2202385-2.patch | 445 bytes | martin107 |
#2 | seven-skip-content-link-2202385-1.patch | 444 bytes | kjay |
Comments
Comment #1
LewisNymanComment #2
kjay CreditAttribution: kjay commentedsystem.module.css is overriding the skip links on pseudo classes active and focus by putting the 'skip to main content' link's position attribute back to 'static'. To avoid breaking things elsewhere, have patched to use a more specific class selector for the skip to main content link on pseudo classes active, focus and hover.
Original issue where this problem crept in: https://drupal.org/node/897638
Comment #3
LewisNymanIt looks like there is a whitespace error here. Make sure your text editor is configured to use two spaces instead of tabs.
Apart from that it looks fine. A bit of a shame we have to use !important
Comment #4
martin107 CreditAttribution: martin107 commentedwhitespace removed.
Comment #5
rob3000 CreditAttribution: rob3000 commentedi'm new to all this but i applied patch in comment #4. All works fine see attached.
Comment #6
LewisNymanHey Rob :) This bug is against the Seven theme, so you have to go to an admin page to test it out. I'm happy with the patch so once you've tested it works you can change the status to RTBC.
Comment #7
rob3000 CreditAttribution: rob3000 commentedHey LewisNyman,
Just tested out it out on the structure page ( attached ) and it all works fine still :)
Comment #8
webchickCommitted and pushed to 8.x. Thanks!
Comment #10
mgiffordPretty sure the bot just wasn't as fast as @webchick.
Comment #11
rob3000 CreditAttribution: rob3000 commentedI was wondering why it failed ;)