Archived topic
2.1: Text before search-item in primary navigation
1 reply · Started by xdaniel on May 2, 2018
Viewing posts 1–2 of 2
Hello GP-Team,
sometime ago you gave me a code to write some text before the search icon. With todays uodate this code breaks my navigation bar. Anything I can do to get this back?
The code was:
.search-item a:before {
content:" Suchen";
float:right;
padding-left:5px;}
You can see the problem here https://kulturmanagement-online.de, but it also happened on other sites I used it.
Best, Daniel
Ah yes, we're using that pseudo selector for the icon now.
Instead, you can just make use of the screen reader text:
.search-item .screen-reader-text {
height: auto;
position: relative !important;
width: auto;
clip: auto;
margin: 0;
clip-path: none;
padding-left: 10px;
}
This archived topic is closed to new replies.