# Any way to change the automatic "View Profile" text in the menu?

**URL:** <https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474>\
**Category:** Ask for Help\
**Tags:** custom-css\
**Created:** [April 11, 2024, 1:00am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474 "2024-04-11T01:00:01Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [April 11, 2024, 1:00am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/1 "2024-04-11T01:00:01Z")

</div>

I can’t find anything to change it, but wanted to ask before i put in a request.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/f/2f75cfd7be91fc8d17be3d2610cb454b28793df7.png)

I’d really rather it say Your Dashboard - as my users can have multiple public profiles accessible through their dashboard so it’s a bit confusing for navigation.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [April 11, 2024, 10:04am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/2 "2024-04-11T10:04:35Z")

</div>

As far as I know there is no way to change the wording of “View Profile”. If it were anywhere to be changed it would be in the Settings section.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 11, 2024, 1:40pm UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/3 "2024-04-11T13:40:11Z")

</div>

I tried using CSS, but seems like the fact that this menu isn’t immediately visible when you load the page (only after you click the profile picture) messes with it, I haven’t found a way to deal with that.

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [April 11, 2024, 4:08pm UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/4 "2024-04-11T16:08:29Z")

</div>

Bummer, I was hoping that there would be a work-around!

Not the end of the world, but a bit presumptuous to assume that in **all cases** people would want that button for a “profile” and not something like “your account”

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [April 12, 2024, 3:24am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/5 "2024-04-12T03:24:32Z")

</div>

Yes, the world has not ended because there is still CSS. Is this what you mean?

![Screenshot 2024-04-12 at 02.01.57](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/5/75e5526a535fb40fafc00b782e143bc2dcafad60.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 12, 2024, 3:30am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/6 "2024-04-12T03:30:33Z")

</div>

Did you use ::before or ::after master? I couldn’t get it to work at all.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [April 12, 2024, 3:38am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/7 "2024-04-12T03:38:58Z")

</div>

It’s fine to use :before/:after, but you need to use font-size:0; for the parent element. I’ll just give you the code.  
The issue is with the mobile view, where a div element is added via JavaScript. For now, I think “view profile” is not needed on mobile, so I removed it.

```auto
#app-modal-root > div > ul > li:nth-child(1) {
font-size: 0;
}
#app-modal-root > div > ul > li:first-child:not(:has(> [data-testid="mb-li"])):before {
    content: "Hello World";
    vertical-align: middle;
    font-size: 14px;
}
/*Mobile display*/
#app-modal-root > div > ul > li:first-child > [data-testid="mb-li"] {
display: none;
}

```

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 12, 2024, 3:52am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/8 "2024-04-12T03:52:52Z")

</div>

> [@Himaladin](#):
>
> It’s fine to use :before/:after, but you need to use font-size:0; for the parent element.

Ah so this was the problem. I had something like this instead:

```auto
div[class*="nav-bar-common___StyledUl"] li:first-child::before {
  content: "New Text";
  visibility: visible;
}

div[class*="nav-bar-common___StyledUl"] li:first-child {
  font-size: 0;
}

```

I also didn’t see the data-testid you mentioned. I used your code and it doesn’t change the text.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/4/e4a8e61e2295f44ac384b847b014dac5475ebaee.jpeg)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 12, 2024, 3:53am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/9 "2024-04-12T03:53:31Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/1/f1b080031f3d3ed0068a1d9158b15d079f60ab42.png)

There isn’t any mb-li classes in my case. It’s just straight li classes.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [April 12, 2024, 3:56am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/10 "2024-04-12T03:56:51Z")

</div>

> [@ThinhDinh](#):
>
> There isn’t any mb-li classes in my case

Switch to the mobile view, especially after you use my two codes above.

![Screenshot 2024-04-12 at 10.59.25](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/0/906a2150d5e241d0fa9bc8a619c356085668f11a.png)

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [April 12, 2024, 4:03am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/11 "2024-04-12T04:03:08Z")

</div>

> [@ThinhDinh](#):
>
> I used your code and it doesn’t change the text.

You haven’t turned on the CSS preview.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [April 12, 2024, 5:06am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/12 "2024-04-12T05:06:49Z")

</div>

Yes @ThinhDinh, you can use visibility or font-size, depending on the condition. But in this case, using font-size will not remove the hover effect.

It turns out the choice component also has the same selector. To avoid it, I tweaked it a bit:

```auto
#app-modal-root > div > ul > li:not([data-testid="wc-item"]):nth-child(1){
font-size: 0;
}
#app-modal-root > div > ul > li:not([data-testid="wc-item"]):first-child:not(:has(> [data-testid="mb-li"])):before{
    content: "Hello World";
    font-size: 14px;
}
/* Negating the pseudo effect above */
#app-modal-root > div > ul > li:not([data-testid="wc-item"]):first-child:has([data-testid="mb-li"]):before {
content: "";
}

```

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [April 12, 2024, 5:17am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/13 "2024-04-12T05:17:47Z")

</div>

@Himaladin @ThinhDinh - I’ve started tagging some of these threads as #custom-css  
There is some really useful stuff, and at least having that tag will make them a bit easier to find.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 12, 2024, 8:53am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/14 "2024-04-12T08:53:12Z")

</div>

Thank you!

> [@Himaladin](#):
>
> You haven’t turned on the CSS preview.

Do you know what’s the main difference between the “compile CSS” choice and “CSS preview”? I have always turned the “compile CSS” option on but I never know the difference between them.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [April 12, 2024, 9:17am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/15 "2024-04-12T09:17:55Z")

</div>

Not too sure… However, the difference is clear when you enable “Compile CSS” because you won’t apply your custom CSS, and you may receive messages if there are errors in your code usage.

 ![Screenshot 2024-04-12 at 16.17.27](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/8/98b3853c9138feba8f9c4dd6c4a471fc1a995b27.png)

Does your custom CSS work when enabled?

> [@ThinhDinh](#):
>
> I have always turned the “compile CSS” option on

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 12, 2024, 9:20am UTC](https://community.glideapps.com/t/any-way-to-change-the-automatic-view-profile-text-in-the-menu/72474/16 "2024-04-12T09:20:04Z")

</div>

> [@Himaladin](#):
>
> Does your custom CSS work when enabled?

Nope, but your latest one works. Thanks a lot!
