Why Does the Padding of an HTML Content Block Impact the Entire Template?

Problem 

The padding intended to be applied only to a specific HTML Content block is being added to the entire template instead.
Untitled design (33).png

Solution

  • Use content tags and text elements to add content to the body.
  • Avoid adding duplicate <html> tags in custom content blocks.
  • Adding global styles may cause unintended effects. For example, the styles applied also affect the editor's user interface (UI).
  • If styling is required, use inline Cascading Style Sheets (CSS) to ensure it only affects the specific element.
info

Information

It is recommended that the content be written in HTML code first, and then inline styling is applied to achieve the desired appearance.

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?