Skip to content

Commit ea1fcfe

Browse files
author
Nikunj Hatkar
committed
Fix button focus background issue for twenty twety-one theme
1 parent 9063e30 commit ea1fcfe

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • src/wp-content/themes/twentytwentyone

src/wp-content/themes/twentytwentyone/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1990,6 +1990,10 @@ input[type=reset]:disabled,
19901990
color: currentColor;
19911991
}
19921992

1993+
.wp-block-cover .wp-block-cover__inner-container a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
1994+
background: var(--global--color-black);;
1995+
}
1996+
19931997
.wp-block-cover .wp-block-cover__inner-container .has-link-color a,
19941998
.wp-block-cover .wp-block-cover-image-text .has-link-color a,
19951999
.wp-block-cover .wp-block-cover-text .has-link-color a,

0 commit comments

Comments
 (0)