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

Easy way to add banner across top of layout?

I have a custom object but I'm using a layout generated page as opposed to a custom vforce page.  I want to add a bold, red line of text across the top of the page and I'm simply trying to avoid having to write a vforce page just to do this.  Any tips?




Prafull G.Prafull G.

Hi Tyler,


You can create a visualforce page having Red line of Text only. And then use this page on standard page layout.

No need to create whole visualforce page.


the page will something like

<apex:page standardController="Account">

     <b>PUT YOUR TEXT HERE</b>



and then use this visualforce page at the top of your Account's Page Layout.





Matt HammelMatt Hammel
Can this be used for reports too?  Would it be possible to set up some type of trigger to display the banner, ie something in the title or the folder the report resides in?