For reference, the CSS content property only works with :before and :after pseudo-elements. You cannot use it to modify the text contained in an HTML document.
Your best option here is to wrap the text in a span element:
<a class="btn btn-blue" ... > <i ... ></i> <span>Text here</span> </a>
Then hide the span element by setting its display property to none :
@media (max-width: 768px) { .btn span { display: none; } }
James donnelly
source share