3

I created a custom lightning:appHomeTemplate with custom columns and rows. However, the only thing I wanting to do now to finish this, is to not have the Label output into the app page. The Label field is required and leaving it blank only prompts you to fill it in.

I've tried adding css to the style component, shown below, and that doesn't seem to work.

Any way I can hide the entire Label?

    THIS .flexipageHeader .slds-page-header .uiBlock .oneAnchorHeader  { display:none!important; }

.THIS  .masterLabel { display : none; visibility : hidden; }

Lightning App Builder

enter image description here

0

I have a workaround for this problem. You have to insert the following lines in the css file.

@media only screen and (max-width: 100vw) {
    .oneFlexipage .flexipageHeader { display:none!important; }
    .masterLabel { display : none; visibility : hidden; }
}
  • Please do not ask follow up questions in an answer. If you wish to seek alternatives, you may post your own question. It may be a good idea to link to this question for reference, if you do so. – Adrian Larson Jan 17 at 17:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.