Symptom
This KBA explains how to remove the Margin or additional spacing on Text Components in CSB.
Environment
SAP SuccessFactors Recruiting Marketing
Resolution
This can be accomplished by adding the code to either Custom Plugin Component or Javascript Tab on CSB.
Javascript Tab:
- Go to Manage Career Site Builder from Admin Center.
- Go to Global > Appearance > Javascript Tab
- Add the code "<style type="text/css">.buttontext .inner.disableHorizontalPadding{max-width:100%}</style>" on either header or footer
- Click on Save.
- Go the Text Component where you want to remove the Margin.
- Open the Text component > Styles
- Toggle Enable Spacing to "Yes".
- Once Enable Spacing is turned on, an additional setting will appear. "Remove Existing Left and Right Padding"
- Toggle the Remove Existing Left and Right Padding switch to Yes.
- You can now proceed to preview or publish the changes.
Custom Plugin Component:
- Go to Manage Career Site Builder from Admin Center.
- Go the Homepage where the text component is located.
- Click on "Add Component" > Custom Plugin.
- Open the Custom Plugin and add the Code "<style type="text/css">.buttontext .inner.disableHorizontalPadding{max-width:100%}</style>".
- Click on Save.
- Go the Text Component where you want to remove the Margin.
- Open the Text component > Styles.
- Toggle Enable Spacing to "Yes".
- Once Enable Spacing is turned on, an additional setting will appear. "Remove Existing Left and Right Padding"
- Toggle the Remove Existing Left and Right Padding switch to Yes.
- You can now proceed to preview or publish the changes.
See Also
- Text Component Settings in Career Site Builder
- 3034858 - CSB Components not showing properly - Recruiting Marketing
Keywords
Padding, Spacing, Remove, Removed, Indent, Components, Text, Margin , KBA , LOD-SF-RMK-CSB-CPT , CSB component, content, category, landing page confi issues , How To
Product
SAP SuccessFactors Recruiting all versions