EGM Theme Style Guide Demo
Visual preview of Typography, Buttons, and Color Palette configured for the theme
1. Color Palette (New Colors Configured)
2. Typography (Text Styles – Now aligned Left)
Heading 1 Typography
Heading 2 Typography
Heading 3 Typography
Heading 4 Typography
Heading 1 Regular (<h1 class=”h1-r”>)
Lead in 1 Typography (h5)
Lead in 2 Typography (h6)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. (Body – Regular)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. (Body – Medium)
3. Lists & Text Block Margins (Desktop/Body – R)
Paragraphs (<p>), <ul>, and <ol> use
Body-R and have
margin-bottom: var(--line-height-body-r) (22px). If they are the last-child,
they have no margin bottom.
Items <li> have margin-bottom: 0.
This is the first paragraph. It has a bottom margin of 22px (equal to Body-R line-height) to separate it from the list below.
- Bullet list item 1 (margin-bottom: 0)
- Bullet list item 2 (margin-bottom: 0)
- Bullet list item 3 (margin-bottom: 0)
This is the second paragraph. It separates the bullet list above and the numbered list below with a bottom margin of 22px.
- Numbered list item 1 (margin-bottom: 0)
- Numbered list item 2 (margin-bottom: 0)
- Numbered list item 3 (margin-bottom: 0)
This paragraph is the
last element inside this block. It has margin-bottom: 0 (via last-child selector).
4. Button Style (Configured as Body-M)
Mapped variables:
var(--font-size-body-m) [16px], var(--line-height-body-m) [22px] and
font-weight: 500
5. Form Elements (Uniform Padding & Border Radius using Body-R)
Form elements (input, textarea, select) have
padding: 10px 20px;, border-radius: 8px;, and use font style
Body-R.
6. Font-weight Helper Classes (Global Overrides)
You can use these helpers to force any text block to a specific font weight using !important
rules.
This paragraph normally inherited bold/medium weight but is forced to Regular 400.
This paragraph normally inherited regular weight but is forced to Medium 500.
This paragraph normally inherited regular weight but is forced to SemiBold 600.
7. Font Helper Classes (Enforcing Fonts on TC/SC Pages)
Testing classes .font-futura and
.font-ethnocentric (forces Futura PT / Ethnocentric regardless of current language
setting):
var(--font-futura)):
var(--font-ethnocentric)):
9. WordPress Default Pagination
Pagination with active page item (Pink) and normal items (#F7F7F7). The Prev/Next buttons will show as disabled (opacity 30%) on first/last page.
10. Swiper Navigation Buttons & Image Border Radius
Demo of the styled Swiper Navigation Buttons (default and hover states) and various image styles including
standard images, excluded banners, and the reusable .image-ratio class.