I have added some code to my website to change the register now option to a button but two buttons are highlighted (see below pic). Please can someone help me fix? I just want the header option Register Now to be a button.
.header .header__inline-menu .list-menu > li:last-child > a {
background: #00c178;
border-radius: 40px;
text-decoration: none !important;
padding-left: 20px;
padding-right: 20px;
color: #fff!important;
}
.header .header__inline-menu .list-menu > li:last-child > a span {
text-decoration: none;
color: #000000;
}
body .header__inline-menu .list-menu > li:last-child > a:hover {
background: #bdffb7;
}
.menu-drawer__navigation .menu-drawer__menu > li:last-child {
padding: 0rem;
}
.menu-drawer__navigation .menu-drawer__menu > li:last-child a {
background: #00c178;
border-radius: 40px;
color: #fff!important;
justify-content: center;
display: inline-block; /* Added to make the button display as block element /
padding: 10px 20px; / Added padding to make the button look more clickable /
text-decoration: none; / Remove underline /
font-weight: bold; / Make the text bold */
}
body .header__inline-menu {
display: block;
}
@media screen and (min-width: 990px) {
body .header–middle-left {
grid-template-columns: auto 1fr;
}
body .header__inline-menu .list-menu–inline{
min-width: 100%;
}
body .header__inline-menu .list-menu–inline > li:last-child {
margin-left: 10;
}
}
@media screen and (max-width: 989px) {
body .header__inline-menu .list-menu–inline > li {
display: none;
}
body .header__inline-menu .list-menu–inline > li:last-child {
display: block;
}
body .header {
grid-template-areas: “left-icons heading navigation icons”;
grid-template-columns: 1fr 2fr;
}
body #menu-drawer .menu-drawer__navigation .menu-drawer__menu > li:last-child {
display: none;
}
}




