Buy me a coffee

Change text of “back” in mobile menu navigation.

To change “back” to another text in mobile menu navigation, you can use below CSS code.

#1. All pages

Use this CSS code

a.header-menu-controls-control.header-menu-controls-control--active>span:nth-child(2) {
visibility: hidden;
}
a.header-menu-controls-control.header-menu-controls-control--active>span:nth-child(2):before {
visibility: visible;
content: "new back";
width: 100%;
}

Change Text Of Back In Mobile Menu Navigation 01 Min

#2. Specific Page

First, you need to find the Page ID.

In my example, it is:

  • #collection-6673f2e18432c25013aee99f

Change Text Of Back In Mobile Menu Navigation 02 Min

Next, use this CSS code

#collection-6673f2e18432c25013aee99f {
a.header-menu-controls-control.header-menu-controls-control--active>span:nth-child(2) {
visibility: hidden;
}
a.header-menu-controls-control.header-menu-controls-control--active>span:nth-child(2):before {
visibility: visible;
content: "new back";
width: 100%;
}}

Change Text Of Back In Mobile Menu Navigation 03 Min

Result:

Change Text Of Back In Mobile Menu Navigation 04 Min