🥒
Dill's Knowledge Base
  • Hello World
  • 💻SQL
    • ❌Error Handling
    • 🧀Parameter Sniffing
      • Indexes
      • Query Hints
      • RECOMPILE
      • Branching
      • Memory Grants
      • Summary
      • Bonus
    • SQL Server Buffer Pool
  • 🖱️MongoDB
    • Instructor Led Training
      • DF100
      • DF200
      • DF300
      • DF400
    • MongoDB DBA University
      • DBA Admin Tools
      • DBA Basics
      • Metrics & Monitoring
  • 💻Web Design
    • Oxygen Tips
    • Bricks Builder
      • Tips
      • Discovery Call
      • Utility vs Custom Classes
      • Math Functions
      • Static vs Relative Units
  • Azure
    • AZ-900
      • Benefit of Cloud Computing
      • CapEx, OpEx and Consumption-based
      • Differences Between Cloud Service Categories
      • Identify The Right Service Type
      • Differences Between Types of Cloud Computing
      • Reliability and Predictability
      • Regions and Region Pairs
      • Availability Zones
      • Resource Groups
      • Subscriptions
      • Management Groups
      • Azure Resource Manager
      • Azure ARC
      • Resources Required for VM
      • Benefits and Usage of Core Compute Resources
      • Benefits and Usage of Core Network Resources
      • Public/Private Endpoints
      • Benefits and Usage of Storage Accounts
      • Benefits and Usage of Database Resources
      • Data Movement and Migration Options
      • Benefits and Usage of IoT Services
      • Benefits and Usage of Big Data and Analytics Services
      • Benefits and Usage of AI Services
      • Benefits and Usage of Serverless Technologies
      • Benefits and Usage of DevOps Technologies
      • Functionality of Azure Management Solutions
      • Functionality and Usage of Azure Advisor
      • Functionality and Usage of ARM Templates
      • Functionality and Usage of Azure Monitor
      • Functionality and Usage of Azure Service Health
      • Functionality of Microsoft Defender for Cloud
      • Functionality and Usage of Key Vault
      • Functionality and Usage of Microsoft Sentinel
      • Azure Dedicated Host
      • Defense in Depth
      • Describe the Concept of Zero Trust
      • Functionality and Usage of NSGs
      • Functionality and Usage of Azure Firewall
      • Functionality and Usage of Azure DDoS Protection
      • Explain Authentication and Authorization
      • Functionality and Usage of Azure AD
      • Microsoft Entra Overview
      • Functionality of Conditional Access, MFA and SSO
      • Functionality and Usage of RBAC
      • Functionality and Usage of Resource Locks
      • Functionality and Usage of Tags
      • Functionality and Usage of Azure Policy
      • Governance Hierarchy Constructs
      • Azure Blueprints
      • Describe Microsoft Privacy Statement, OST and DPA
      • Purpose of Trust Center and Azure Compliance Documentation
      • Purpose of Azure Sovereign Regions
      • Factors That Affect Costs
      • Factors to Reduce Cost
      • Functionality and Usage of Azure Cost Management
      • Purpose of Service Level Agreements
    • DP-900
      • Study Cram
    • DP-300
      • Deploy IaaS Soluton with Azure SQL
  • 📦Kubernetes
    • Udemy: Kubernetes for Beginners
Powered by GitBook
On this page
  1. Web Design

Oxygen Tips

Oxygen is a developer focused, low-code page builder built on Wordpress.

PreviousMetrics & MonitoringNextBricks Builder

Last updated 1 year ago

18 Mistakes to Avoid

Source:

  1. Using IDs instead of classes to style elements

  2. Random class naming - If you have a card for example that contains a heading, text, button.. start off by giving the div a class name of "card" and then for every element inside prefix the class name with "card". For example: card__btn, card__heading. If you want to make a dark version of the card, use "--". For example: card--featured could put a shadow on one of the cards to make it stand out.

  3. Not locking classes - Once something is the way you like it, go to Advanced -> Lock Selector Styles

  4. Using the columns module - Columns module uses Flexbox, but CSS Grid is better for laying out content. Flexbox does have an advantage in positioning content.

  5. Putting everything in one section

  6. Not using semantic HTML tags - Use headings, sections, footer tags etc so that screen readers can understand the page. In Oxygen, you can easily change the tags of a div for example.

  7. Using divs to create lists - On the main div that contains the list, use a custom "ul" tag, and for each div make the tag a custom "li". Alternatively, you can use Rich Text module and insert the line items there, but the only downside of this is that it is hard to create an icon list.

  8. Pixels instead of relative units - Use REM and set your root font size to 62.5% so that 1 REM = 10px, 1.6 REM = 16px, etc.

  9. Improper heading levels - If you want to make a heading smaller, lower the REM.. do NOT set the heading level to something lower as that will mess up SEO.

  10. Setting heading size in global settings - In Oxygen, the problem with this is that you have no control of how responsive the text will be on mobile vs desktop. Instead, make classes for each heading and change the REM for each breakpoint. Alternatively, use a paid plugin like:

  11. Static images - Image URL vs Media Library.. typically you want to choose a size for the photo such as "medium" to keep the size small. Additionally, if you use SRCSET () images it will automatically load smaller images if it detects the device size only requires that size.

  12. Background vs Real images - Do not use background images if the image is important because there is no SEO value and screen readers do not see it.

  13. Not removing pagination - People try to hide the pagination button with DISPLAY: none, but this still gets indexed and that is bad.

  14. Not using custom post types for queryable items - Create custom post types similar to how WooCommerce creates Products

  15. No 404 template

  16. Global colors managed by name - Do NOT go into global colors and name colors based off what the color is, but rather what it represents. For Example: Red vs Primary. In Oxygen, you can not change the name of the global color.

  17. Writing CSS in modules - If you do this, be sure to write comments so you know why you did it.

  18. Using Oxygen to create blog posts

💻
https://www.youtube.com/watch?v=FgjO4fJybZs&t=13s
https://automaticcss.com/
https://www.youtube.com/watch?v=0jc74V5wYRk