user5495947
user5495947

Reputation: 35

Salesforce Navigation Menu - remove home

enter image description here

I am very new to saleforce and playing around to get to know how things work. How do i remove that home button there and can i move that cases and products menu items to right side?

Can you please help check

Upvotes: 1

Views: 5078

Answers (4)

Diogo Madaleno
Diogo Madaleno

Reputation: 31

What I've used and did the trick:

.forceCommunityThemeNav .mainNavItem:first-child {
    visibility: hidden;
    display: none;
}

Upvotes: 0

Ashish Saini
Ashish Saini

Reputation: 1

GO to builder > Theme > Top Right corner > Edit CSS

Here it is source image

.forceCommunityGlobalNavigation .slds-list__item a, .forceCommunityGlobalNavigation .slds-list__item button {
    display: none;
}

Upvotes: 0

Charles Naccio
Charles Naccio

Reputation: 358

In the latest version of Salesforce/Experience Builder the following can be used to hide just the home tab or the entire navigation menu which is what I needed.

Home tab

.themeNavContainer:first-child {
    visibility: hidden;
    display: none;
}

Entire nav menu

nav { 
  display: none;
  visibility: hidden;
}

Upvotes: 0

Matt Kaufman
Matt Kaufman

Reputation: 808

You can use a CSS hack to hide the Home icon and option

Click on the Pen icon in the builder and then the CSS button next to the word Branding at the top.

.navigationMenuNode:first-child { 
  display: none;
  visibility: hidden;
}

Upvotes: 5

Related Questions