Enable or Disable Footer¶
The footer section is visible by default. You can hide the footer by configuring the userTheme.js
file.
The userTheme.js
file has all the parameters defining the look and feel of the developer portal. To learn more about userTheme.js
refer here.
-
Open the
<API-M_HOME>/repository/deployment/server/webapps/devportal/site/public/theme/userTheme.js
file in a text editor and set thethemes.light.custom.footer.active
attribute asfalse
to hide the footer. -
Refresh the Developer Portal to view the changes.
The following attributes are available for the footer¶
const Configurations = {
custom: {
footer: {
active: true,
text: '',
background: '#000',
color: '#fff',
},
},
};
Option | type | Description |
---|---|---|
active | boolean | Footer is visible if true (default). Hidden if false. |
text | string | Leave empty to show the default WSO2 Text. Provide custom text to display your own thing. |
background | string | Set the background color of the footer |
color | string | Set the font color for the footer text |