Skip to content

Instantly share code, notes, and snippets.

@gera3d
Created September 9, 2016 17:20
Show Gist options
  • Save gera3d/b1caf73984a1c29c2e5b9daf8c5d9c08 to your computer and use it in GitHub Desktop.
Save gera3d/b1caf73984a1c29c2e5b9daf8c5d9c08 to your computer and use it in GitHub Desktop.
Take a word on the doctor page and replace it with another word.
/*Remove a word and replace it with another word -Gera*/
body > div.site-container > div > div > div:nth-child(3) > main > article > div.col-md-12.docmeta > div.col-md-2.col-sm-3 > h3:nth-child(2) {
position: relative;
text-indent: -9000px;
}
.page-template-single-doc > div.site-container > div > div > div:nth-child(3) > main > article > div.col-md-12.docmeta > div.col-md-2.col-sm-3 > h3:nth-child(2):after {
content: 'Degrees';
display: block;
position: absolute;
text-indent: 0;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment