Skip to main content

Anchor footer to the bottom of the page

Isn't it super annoying how the footer in Aura templates jump around?

I've got a solution for you.

The exact CSS override you need to do might vary based on the template you're using, but here's sample code that should do the trick.

/* anchor footer to bottom of page */ .siteforceThemeLayoutStarter { min-height: 100vh; position: relative; } .siteforceContentArea { padding-bottom: 3rem; } .footer { bottom: 0; height: 3rem; position: absolute; width: 100%; }

You need to update the rem to handle the height of your footer.

Comments

Popular posts from this blog

Output File Parameters for Conga Composer

Output File Parameters The following parameters affect the output file generated by Conga Composer. PARAMETER DESCRIPTION DefaultPDF=[0 or 1] Sets the default output type to Adobe Acrobat If set to 0, "Output Format" is "Same as template" (default) If set to 1, "Output Format" is "Adobe Acrobat" The user may override this choice unless the “Lock Output to PDF” parameter (fp0=1) is enabled. FP0=[0, 1 or 2] Locks the output file format If set to 0, "Output Format" is "Same as template" and not locked (default) If set to 1, "Output Format" is "Adobe Acrobat" and  the Output Format radio buttons are locked. If set to 2, “Output Format” is “Same as template” and the Output Format radio buttons are locked OFN=[text] Sets the Output File Name, overriding the default output file name Requires: A text value to use for the output file name You may use static text or m...

How to create the Conga Composer Button

Create  a Custom Conga Composer Button Conga Composer includes sample buttons on the following standard objects so you can easily copy and paste the base URL into your button.  Lead   Contact Account Opportunity Case Contract                       ​From Setup, click  Customize , select one of the above standard objects and click  Buttons, Links, and Actions ​Click on the  Conga Composer  button and copy the four lines in the Button or Link URL field 3. Click back to the main Buttons, Links, and Actions menu and click  New Button or Link      ​4. For the label, enter something that will describe the kind of document you will create     with Conga Composer, i.e. "AccountPlan" or "Invoice" ​5. For the Display type, choose either a  Detail Page Link  or a  Detail Page Button ​6. In the Button or Link URL text box, paste th...

How to create a Visualforce button to call Conga Composer

To create a Visualforce command button to call Conga Composer, you’ll need to access the current Session Id and Partner Server URL endpoint.  Example Visualforce button that defaults the template, output as PDF, does not automatically log after merging, attach file to "Notes and Attachments" related list without task record, and creates a unique name for the merged document: <apex:commandButton id="ButtonPDF" reRender="none" value="Generate PDF" onclick="window.open('https://www.appextremes.com/apps/Conga/Composer.aspx?SessionId={!$Api.Session_ID}&ServerUrl={!$Api.Partner_Server_URL_210}&LG3=2&LG4=0&DefaultPDF=1&Id={!CustomObject__c.Id}&TemplateId=a17n00000008aVS&FP0=1&OFN={!CustomObject__c.Name}+--+{!CustomObject__c.CustomField__c}+--+{!CustomObject__c.CustomField__c})','_blank','toolbar=yes, scrollbars=yes, resizable=yes, top=50, left=300, width=700, height=525' );" /> ...