Skip to main content
< All Topics
Print

Custom CSS

Video: FS – Quality Assurance – Custom CSS
Video with Subtitles

  • All Custom CSS needs to be in the style.css sheet (Appearance > Theme Editor). No Custom CSS in the builder module (Advanced > Custom CSS > Main Element). No CSS in Customizer.
  • No capitalization like !Important
  • Consistent indentation/formatting
  • Font sizes in px, rem, em, or clamp
  • Use text-transform: uppercase when needed, instead of writing the text in caps.
  • If you need to include an image, don’t include the full URL, just “/wp-content/…”
  • If you need to target a section, row, module, use custom class instead of page builder added classes like “et_pb_row_3”
Table of Contents