Hello Sheena,
All the code that we have given were tested first in our local testing servers. You may have inserted an invalid css which created an issue and why the code did not work. As I have inspected the css code, you added this:
@media (max-width:979px){
.masthead-stacked .x-btn-navbar{
color:#333;
}
.home .x-anchor-button{
font-size:0.7em !important;
}
.home .x-anchor-button span{
padding:5px 3px !important;
margin-top:5px;
}
.home .x-grey-img{
margin-bottom:30px !important;
}
@media (max-width:600px){
.e12137-4.x-text .x-text-content-text-primary{
padding:20px 40px;
font-size:1.5em;
line-height:1.3;
}
.e12137-5.x-text{
font-size:1.5 em;
}
.e12137-18.x-image{
width:auto !important;
}
.e12137-19{
text-align:center;
}
}
@media (max-width:600px){
.e12137-19{
padding-top:30px;
}
.e12137-25.x-anchor{
box-shadow:none;
}
.e12137-35 .h-custom-headline{
font-size:calc(20px + 5vw);
}
@media (max-width:600px){
.e12137-25.x-anchor .x-graphic-icon,.e12137-26.x-anchor .x-graphic-icon,.e12137-27.x-anchor .x-graphic-icon,.e12137-28.x-anchor .x-graphic-icon{
font-size:3em !important;
}
.e12137-19.x-column{
text-align:center;
}
@media only screen and (max-width:600px){
.alert-name{
margin-top:20px !important;
}
.x-callout .h-callout{
color:red;
}
There were missing curly braces in the code above. If I have to correct the code, it should probably be like this:
@media (max-width:600px){
.e12137-4.x-text .x-text-content-text-primary{
padding:20px 40px;
font-size:1.5em;
line-height:1.3;
}
.e12137-5.x-text{
font-size:1.5 em;
}
.e12137-18.x-image{
width:auto !important;
}
.e12137-19{
text-align:center;
}
}
@media (max-width:600px){
.e12137-19{
padding-top:30px;
}
.e12137-25.x-anchor{
box-shadow:none;
}
.e12137-35 .h-custom-headline{
font-size:calc(20px + 5vw);
}
}
@media (max-width:600px){
.e12137-25.x-anchor .x-graphic-icon,.e12137-26.x-anchor .x-graphic-icon,.e12137-27.x-anchor .x-graphic-icon,.e12137-28.x-anchor .x-graphic-icon{
font-size:3em !important;
}
.e12137-19.x-column{
text-align:center;
}
}
@media only screen and (max-width:600px){
.alert-name{
margin-top:20px !important;
}
}
.x-callout .h-callout{
color:red;
}
Hope this helps. Please let us know how it goes.