function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
onetwokathreeonetwokathree 

Home Tab in Customer Portal

Hi, I have created customer portal and added visual force tab also. there is default Home Tab which we can't remove from customer portal.

but can we change the home page content?

 

if we create multiple customer portal then what would be happen with Home Tab?

Can we use different Home tab for different customer portal?

 

any hint would be very helpful.

Best Answer chosen by Admin (Salesforce Developers) 
FinnArildFinnArild

You can add some css to the header to hide the tab, like this:

 

<style type="text/css"> <!-- #tabBar td:first-child { display: none; } --> </style>

 

 

 

All Answers

EIE50EIE50

Hi,

 

We just can't remove the home tab from any portal.  With standard home page functionality, you have standard components which you can add or remove as required. If you create N number of portals, then also the home tab would appear in all your N number of portals. 

 

But, you can always create customized pages using Apex and Visualforce.  

FinnArildFinnArild

You can add some css to the header to hide the tab, like this:

 

<style type="text/css"> <!-- #tabBar td:first-child { display: none; } --> </style>

 

 

 

This was selected as the best answer
jg@hhsjg@hhs

Hi,

 

Where is it that I can place this bit of css to hide the Home tab? 

 

Thanks for the help!!

 

jg@hhsjg@hhs

I believe I figured it out.  I went to the Home page layout and included a custom component with an HTML area and stuck it in there.  Good to go!

EIE50EIE50

Hi,

 

Were you able to hide the home tab sucessfully? If so can pls paste your code peace?

 

Thanks.

FinnArildFinnArild

I did paste the code - it's the CSS snippet above. Theres no more to it.

aggaramaggaram

Yeah style is hiding the first tab called home tab in chrome and mozilla but is not working in IE.

 

Please Help !