Digi Educorp

Best Practices

Layout Design and sizing

Once you create pages or post make sure of the following layout is followed for best results

The section width should remain fixed or boxed, typically set at 1140px by default. It is advised not to change it to full width. Alternatively, you can adjust this width in the global settings of Elementor. If you opt to customize the width, it is important to maintain consistency across all pages of the site. Setting the width to full width may result in disruptions to layouts and content on larger screens

Ensure adequate padding around your section/layout. For desktop screens, it is recommended to have 5% padding on the top and bottom (left and right padding is unnecessary as the layout is boxed). For tablet layouts, maintain a padding of 32px on all sides, and for mobile screens, maintain a padding of 20px on all sides.

Avoid using “absolute” positioning; instead, rely on margins and padding to reposition elements. Using “absolute” positioning can disrupt responsive layouts, so it is recommended to utilize margins and padding for proper alignment across different screen sizes.

Ensure that your layout design is responsive across various device screens, including desktop, tablet, and mobile, before saving it. Testing and optimizing for responsiveness will help provide a consistent and user-friendly experience across different devices.

To summarize

Side bar for navigation

Adding a sidebar to a website can offer several benefits, contributing to a more engaging and functional user experience. Here are some reasons why it can be a good idea to include a sidebar on your website:

Improved Navigation

Sidebars or bottom bars provide additional navigation options, making it easier for users to explore other posts, categories, or related content on your website. This can enhance user engagement and encourage visitors to spend more time on your site.

Increased Website Engagement

By offering easy access to related posts, recent articles, or popular content, you create opportunities for users to discover more of your site’s offerings. This can contribute to increased engagement and a positive user experience.

Reduced Width Strain

Having a sidebar can help reduce the width of the main content area. This can make the text more readable by preventing lines of text from becoming too long, which can be visually straining for readers.

Promotion of Important Elements

Sidebars provide a designated space to showcase important elements such as subscription forms, call-to-action buttons, or featured content. This can help in promoting specific actions or highlighting key information.

Consistent Design

Incorporating a sidebar or bottom bar across your post pages can contribute to a consistent design and layout throughout your website. Consistency in design elements can enhance the overall professional appearance of your site.

Monetization Opportunities

If your website is monetized through advertising, sidebars can be utilized for displaying ads. This creates potential revenue streams and utilizes the available space effectively.

Use templates for sections that require frequent updates

Using templates for sections that require frequent updates, such as headers, footers, or sidebars, is a highly efficient and best practice in web design.

It is considered a best practice to utilize templates for sections of pages or posts that require frequent updates, such as the header and footer. Another example is the sidebar or right bar, which commonly includes elements like blog categories, social share icons, and table of contents, contributing to easier navigation. When there’s a need to add or update something in the sidebar across multiple pages and posts, manually editing each one can be time-consuming. Instead, creating a template for the sidebar centralizes this process, providing a more efficient and streamlined approach.

You can build centralized custom layouts with the help of the Header and Footer Block Elementor plugin. This plugin allows you to create custom blocks and easily incorporate them into pages and posts using shortcodes. This approach simplifies the process of managing and updating shared elements, providing a convenient way to maintain consistency across your website.

Avoid overriding the global color and typography

It is advisable not to override global settings, such as global colors and typography for elements, unless absolutely necessary. When you override a color or typography setting for a specific component, it is no longer under the global control. Any subsequent changes made to the global styling will not affect the overridden component unless you manually update it again. This practice helps maintain consistency and ensures that global styling changes automatically reflect across the entire website.