Forum Moderators: not2easy
a.footer-responsive-grid-link::before {
content: "Zur vollen PC-Ansicht wechseln: ";
background-color: yellow;
color: red;
}
.footer-responsive-grid-link.footer-responsive-grid-disable.footer-link::before
If you want content before the anchor itself you would need to target the parent of the anchor and assuming there was no other content in the way.
<p>...</p><p class="footer-responsive-grid-link-container footer-responsive-grid-link-enable-container"><a href="http://example.com/?full-site=false" rel="nofollow" class="footer-responsive-grid-link footer-responsive-grid-enable footer-link">View Full Site</a></p> the empty space after colon is ignored on the frontend:
{content: "";} <a href="http://example.com/?full-site=false" rel="nofollow" class="footer-responsive-grid-link footer-responsive-grid-enable footer-link">Wechsel Mobil- und PC-Ansicht</a> .block-type-footer a.footer-responsive-grid-link { display: none; } no link appears at all any more
This value causes an element to not appear in the formatting structure (i.e., in visual media the element generates no boxes and has no effect on layout). Descendant elements do not generate any boxes either; the element and its content are removed from the formatting structure entirely. This behavior cannot be overridden by setting the 'display' property on the descendants.
Please note that a display of 'none' does not create an invisible box; it creates no box at all. CSS includes mechanisms that enable an element to generate boxes in the formatting structure that affect formatting but are not visible themselves. Please consult the section on visibility for details.