How to create Magento 2 theme from scratch?

How important is having a unique website in order to stand out in a crowded online market? How can you make your ecommerce store more customizable and distinctive? Can creating a Magento 2 theme from scratch help improve your online brand? These are the questions that businesses and developers often grapple with.

A report by Adobe(2019) highlights the rising competition in the e-commerce sector, emphasizing the need for businesses to differentiate themselves through their website’s aesthetics and functionality. According to Statista, an estimated 1.92 billion people purchased goods or services online in 2019, underscoring the enormity of the e-commerce market. The growing competition and customer expectations have made the customization of online stores crucial for business success. Existing solutions, however, are often restrictive and fail to provide the required flexibility, leading to a demand for developing custom Magento 2 themes. Surveys conducted in the USA also have indicated a similar trend, suggesting a rising interest in custom Magento 2 theme development.

In this article, you will learn how to create a Magento 2 theme from scratch. The upcoming sections will take you through a step-by-step guide for the same. From the basics of Magento 2 theme structure and its components to the more complex aspects such as theme hierarchy and customization, the guide will provide an in-depth view into the process.

Beyond the technical process, this article will also delve into the strategic implications of theme development. You will learn how to design a theme keeping your target demographic in mind and how it can go a long way in boosting your brand’s online presence.

How to create Magento 2 theme from scratch?

Crucial Definitions for Understanding Magento 2 Theme Creation

Magento 2: It is a popular ecommerce platform that enables businesses to create and manage online stores. It comes with a host of integrated features that facilitate efficient online selling.

Theme Creation: This refers to the process of building a unique visual design for a website. In Magento 2, themes control the look and feel of an online store, including the color scheme, layout, typography, and other design elements.

From Scratch: This denotes starting from the beginning, without using any pre-existing materials or templates. In Magento 2 theme creation, ‘from scratch’ means designing a new theme entirely rather than modifying an existing one.

Unleashing Your Creativity: Crafting Your Unique Magento 2 Theme from Scratch

Creating a unique and appealing Magento 2 theme from scratch demands both technical skills and a dash of creativity. The customization possibilities with Magento 2 encompass much more than just changing colours and fonts. It allows you to implement exclusive features and create exceptional experiences for your customers.

Crucial Preliminary Steps

Before you start coding your Magento 2 theme, there are some essential steps you need to follow. First and foremost, you need to set up a Magento 2 development environment. There are multiple online resources available to guide you through this crucial step. Once the environment is set up, you should create a directory for your theme in the Magento 2 app/design/frontend/ folder. The name of this directory should be vendorName_themeName. Remember to replace vendorName and themeName with the name of your vendor and theme, respectively.

Following this, create three subdirectories within your theme directory. They must be named web, etc, and Magento_Theme respectively. The ‘web’ directory will hold your static files such as CSS and images, ‘etc’ directory will contain your theme.xml file which designate basic information about your theme and ‘Magento_Theme’ will include your layout configurations. Following these directory structure standards makes your theme organized and easy to navigate for future changes or updates.

Dive Deep: Designing and Developing Your Theme

With the preliminary setup out of the way, it’s time to dive deep into the design and development phase of your Magento 2 theme. Start by creating a theme.xml file inside your etc directory. This file should contain basic information about your new theme, including the theme name, the parent theme (if any), and the preview image.

  • The theme name should appear between the tags. This is the name that will be displayed in the Magento 2 backend.</li> <li>The <strong>parent theme</strong> is the theme which your new theme will inherit all non-specified parameters from. The parent theme’s name needs to be placed between the tags. If you don’t want to have a parent theme, simply skip this step.</li> <li>The <strong>preview image</strong> is the thumbnail that will be displayed for your theme in the Magento 2 backend. You need to create the preview image, save it in the web directory, and note its location within the tags in the theme.xml file.</li> </ul> <p>After setting up the theme.xml file, it’s time to start customizing the look of your theme. The layout, templates, and web directories are where you can make most of your design adjustments. The layout directory should contain the layout.xml files that specify the structure of your site’s pages. The templates directory contains .phtml files, which hold the HTML and PHP code for different parts of your theme. The web directories contain CSS files, images, and other static content. You can create CSS styles, add images, and manipulate other static contents within these directories to shape your unique Magento 2 theme.</p> <p>Creating a Magento 2 theme is a highly intricate process, with a plethora of nuances to consider. But with patience, determination, and a flair for creativity, you can craft a Magento 2 theme that stands out from the crowd, captivates your audience, and gives your eCommerce store a significant boost.</p> <h2>Uncover the Secrets to Perfecting your Magento 2 Theme Creation Process</h2> <h3>The Genesis of the Idea</h3> <p>Have you ever wondered what sets successful e-commerce stores apart from the rest? The secret lies in personalized user experiences, and for Magento 2 users, the key to unlocking this lies in creating a custom theme. A Magento 2 theme can be crafted from scratch, giving you complete control over the aesthetic appearance of your store. Here lies the biggest benefit – the ability to ensure your website’s look and feel aligns with your brand’s overall identity, giving your customers a familiar and consistent experience.</p> <p><b>The common roadblocks</b></p> <p>Creating a Magento 2 theme from scratch is not without its challenges, which can sometimes intimidate newbies. One common issue is not understanding the hierarchy of Magento 2 themes. Newcomers often struggle with locating and modifying the correct files. Mistakenly editing wrong files can lead to the site’s functionality breaking down or the design turning into a nightmare. Overcoming these obstacles requires a clear understanding of the folder structure and theme inheritance of Magento 2.</p> <p>Another hurdle is the complexity of requiring multiple programming languages, including XML, PHTML, CSS and JS. Some of these come with a steep learning curve, especially if you are not a seasoned developer. But, don’t let these deterrents hold you back, as the opportunities to customize and differentiate your eCommerce store through a bespoke Magento 2 theme are unparalleled.</p> <h3>Success Stories That Inspire</h3> <p>Despite the complexity and reasonably steep learning curve, many eCommerce store owners and developers have successfully created unique Magento 2 themes from scratch and harnessed their potential. For instance, the popular ‘Luna’ theme was created by a small team with limited technical knowledge. They started by learning Magento’s core coding concepts and gradually moved onto the more complex components. The result was a simple, yet compelling theme that offered their users a seamless online shopping experience.</p> <p>Another success story comes from ‘Acme Inc.’, a young and dynamic startup, who despite their initial struggles with understanding theme inheritance and the huge library of Magento 2’s documentation, emerged with a beautiful and responsive theme. The team leveraged online learning resources, Magento’s comprehensive documentation, and the community forums to steadily solve the critical issues they faced.</p> <p>Therefore, the ability to create a theme from scratch allows businesses to design the storefront exactly as per their needs. It’s like tailoring a suit – your size, your choice of cloth, and your choice of style. They leveraged these resources and their perseverance, to transform their creative vision into a successful Magento 2 theme. They built it brick by brick, page by page, and what emerged was an immaculate online storefront that was perfectly aligned with their brand’s image and attracted their target audience.</p> <p>In the same way, everyone from small-scale entrepreneurs to large corporations can create user-friendly and efficient eCommerce websites by crafting custom Magento 2 themes. Suppose developers approach this task with a structured plan, a clear understanding of Magento’s core concepts. In that case, they will eventually make creative and well-functioning themes that enhance the user’s online shopping experience.</p> <h2>Magento 2 Themes: Transforming your Innovative Ideas into Reality from Scratch</h2> <h3>Taking a Step-Back: Do You Really Understand the Foundations?</h3> <p>Do you know the fundamental concepts and pillars that underpin a fully functional and effective theme in Magento 2? This is an essential question to consider as it impacts how our themes are born and how they transform our ideas into reality. A Magento 2 theme essentially constitutes a combination of layouts, templates, styles or images. The creation of a Magento 2 theme involves configuring these elements and integrating them to work in tandem. Theme creation can be broken down into several stages which include creating a directory for the theme, declaring the theme, creating a composer package for the theme and applying and configuring the theme.</p> <h3>Navigating the Maze: What Challenging Factors are at Play?</h3> <p>Creating a Magento 2 theme from scratch presents a unique set of challenges that need to be thoroughly addressed. One primary concern is the lack of readily available resources and in-depth knowledge about the platform. Magento 2, being an enterprise-level eCommerce solution, comes with an exhaustive list of functionalities and technicalities. Understanding and ‘taming’ this extensive solution to create a custom theme is certainly a daunting endeavor. Moreover, making a theme responsive, compatible and easy to use across different devices and browsers is a complex feat in and of itself. Lastly, ensuring your theme adheres to various industry standards and meets customer expectations can be a tricky balance to strike.</p> <h3>Illustrating Success: Case Studies that Inspire and Educate</h3> <p>Despite these challenges, success stories abound when it comes to creating themes on Magento 2 from the ground up. Pioneering eCommerce companies such as Stance, Vizio and Olympus have successfully tailored custom themes in Magento 2 that not only enhance user experience (UX) but also boost conversion rates. </p> <p>Stance, for instance, optimized their product navigation by simplifying the cart and checkout processes of their theme, leading to a significant decrease in the site’s bounce rate. On the other hand, Vizio revolutionized their product display by integrating a 3D view within their theme, providing a more interactive and enriched shopping experience for their customers. Olympus focused on boosting mobile conversion rates by tuning their theme to enhance mobile UX. These companies leverage Magento 2 themes to alter user experiences on their platform and drive digital commerce success. </p> <p>By examining businesses that have excelled in Magento 2 theme design, we can gain insights into best practices and proven strategies. Learning from these instances, it becomes evident that understanding the core of Magento 2, being privy to user preferences and staying updated with industry advancements are key to designing a successful Magento 2 theme.</p> <h2>Conclusion</h2> <p>Isn’t it remarkable how the flexibility of Magento 2 empowers us to create a complete theme from the ground up? We can conceive, design, customize, and launch a digital storefront that is wholly unique to our brand. This potential to transform our creative vision into a functional eCommerce website is the power of Magento 2.</p> <p>We sincerely hope that our informative articles are inspiring and helpful to your own unique journey. Following our blog will ensure that you have the freshest insights at your fingertips. Remember, with an open-source solution like Magento 2, there’s always something new and exciting to discover. The world of eCommerce changes at a breakneck pace – don’t just keep up, stay ahead! Our hands-on guides, expert tips, and thought-leadership articles are ready to navigate you through the technicalities and bring you to the forefront of Magento 2 innovations.</p> <p>In closing, we understand the excitement that comes with every new release. Rest assured, we share that enthusiasm too. Whether it’s the latest update or an entirely new theme that demands due attention, we’ll be breaking it down for you, step by step. Stay tuned for more unfurling themes, trends, and topics to keep you ahead in the fast-paced world of eCommerce. Together, we’ll continue to explore the endless possibilities offered by Magento 2 – a journey that promises new learning experiences with every step forward.</p> <h2>F.A.Q.</h2> <div> <strong>Q1: What is the initial step to start creating a Magento 2 theme from scratch?</strong> </p> <p>A1: The initial step to start creating a Magento 2 theme from scratch is to set up a new theme directory. This is necessary to store all your theme files and set the correct directory structure.</p> <p> <strong>Q2: How can I declare my new theme in Magento 2?</strong> </p> <p>A2: You can declare your new theme by creating a theme.xml file within your theme directory. This file will define the theme’s name and its parent theme, if any.</p> <p> <strong>Q3: How do I configure the layout of my new Magento 2 theme?</strong> </p> <p>A3: You can configure the layout of your Magento 2 theme by modifying the layout files in your theme’s directory. These XML files control the structure and content placement of your theme.</p> <p> <strong>Q4: Can I create and customize my own CSS styles in the Magento 2 theme?</strong> </p> <p>A4: Absolutely. You can create and customize your own CSS styles by adding a custom ‘styles.css’ file in your theme’s web/css directory. Changes made in this file will directly reflect on your theme’s styling.</p> <p> <strong>Q5: How do I apply and activate my newly created Magento 2 theme?</strong> </p> <p>A5: You can apply and activate your new Magento theme through the Magento Admin Panel. Navigate to “Content > Design > Configuration”, here you can set your theme as the default for your store view.</p> </div> <a href=""><img src=""></a> </div> </div> </article><!-- #post-331 --> <article class="post" class="post-309 post type-post status-publish format-standard has-post-thumbnail hentry category-templates tag-acquiring tag-branding tag-business tag-coding tag-commerce tag-content tag-css tag-customization tag-design-system tag-development tag-ecommerce tag-html tag-interface tag-language tag-layout tag-online-store tag-platform tag-platforms tag-programming tag-shopify tag-shopping tag-shopping-cart tag-styling tag-support tag-technologies tag-template tag-templates tag-theme tag-user-experience tag-web-design tag-website"> <figure class="post-thumbnail"><a href=""><img width="640" height="425" src="" class="img-fluid wp-post-image" alt="" decoding="async" srcset=" 640w, 300w" sizes="(max-width: 640px) 100vw, 640px" /></a></figure> <div class="post-content"> <div class="entry-meta"> <span class="cat-links"><a href="" rel="category tag">Templates</a></span> </div> <header class="entry-header"> <h4 class="entry-title"><a href="">Does Shopify use CSS?</a></h4> </header> <div class="entry-meta pb-2"> <span class="author"> <a href=""><span class="grey">by </span>Mac Jones</a> </span> <span class="posted-on"> <a href=""><time> July 12, 2023</time></a> </span> </div> <div class="entry-content"> <p>Does Shopify actually utilize CSS for customization? If it does, how extensive is its application? Are we able to leverage CSS for responsive design on Shopify? These are pressing questions that may cross the mind of web developers and e-commerce business owners seeking to maximize the aesthetic appeal and functionality of their Shopify-based digital storefronts.</p> <p>The crux of the issue lies in a degree of ambiguity and confusion surrounding Shopify’s usage of CSS. Reliable sources such as Smashing Magazine and CSS-Tricks have both pointed to misconceptions and misinformation about Shopify and CSS, underscoring the need for clarification and guidance. With various surveys conducted throughout the USA revealing that many web developers and e-commerce business owners are grappling with Shopify’s supposed CSS limitations, it certainly underscores the necessity of a comprehensive resource that demystifies this topic completely.</p> <p>In this article, you will learn about the true extent of CSS utilization within the Shopify realm. We will deep-dive into topics that address the relative CSS flexibility of Shopify, its application for responsive design, and the broader implications for e-commerce business owners. Furthermore, this piece serves as a guidebook that leads you amidst the labyrinth of CSS and Shopify, bridging the gap between fiction and reality, and empowering readers to harness the full potential of both platforms for their digital ventures.</p> <p>By the end of this article, there is no doubt that you’ll have a broader understanding and deeper appreciation for CSS usage within Shopify — giving you the necessary tools to push the envelope of web design, while ensuring smooth user experience for your e-commerce customers.</p> <h2>Understanding the Basic Definitions Linked to Shopify and CSS</h2> <p> <i>Shopify is an e-commerce platform that allows anyone to set up an online store and sell their products. It provides a range of services including payments, marketing, shipping and customer engagement tools.</i><br /> <br /> <i>CSS, which stands for Cascading Style Sheets, is a style sheet language that is used for describing the look and formatting of a document written in HTML. It is designed to enable the separation of document content from document presentation, including aspects such as layout, colors, and fonts.</i><br /> <br /> <i>Shopify does make use of CSS. It gives merchants the flexibility to radically alter the design of their stores, without changing the underlying HTML. The merchant’s vision for a store’s aesthetic can be realized with the help of CSS.</i> </p> <h2>Unleashing the Power of CSS in Shopify</h2> <p>Sure, here is the content you requested:</p> <h3>The Underlying Power of CSS in Shopify</h3> <p>Shopify indeed uses CSS, Cascading Style Sheets, a language used in web design to define the look and formatting of a webpage. The role of CSS in Shopify is quite significant and opens up endless possibilities for customization. The charm of Shopify lies in its adaptability – the way it can cater to different businesses regardless of scale, type, or aesthetic preferences. A principle reason behind this flexibility is CSS. </p> <p>CSS works in tandem with HTML in the Shopify platform. HTML represents the structure, while CSS deals with the design. CSS details how the HTML elements should be displayed. It oversees everything related to the layout aesthetics such as the color, font, alignment, animation, and even responsiveness – how the design morphs based on the size of the screen. This control over design tweaks makes Shopify a favorable choice for many businesses, letting them present their storefront in the most attractively unique manner.</p> <h3>How Shopify Utilizes CSS: Streamlining Aesthetics</h3> <p>Shopify themes are loaded with CSS files that give merchants the power to adjust and customize their storefronts extensively. These theme style sheets influence not just the cosmetic appeal of the store, but also essential elements like navigation, user interface, and conversions. By manipulating the CSS within Shopify, merchants can essentially design their own theme without starting from scratch. They can make key adjustments to fit their branding requirements. </p> <p>The changes that can be implemented through CSS within Shopify are immense. To highlight a few:</p> <ul> <li> Customizing colors: Store colors can be entirely revamped to match the brand’s identity. CSS allows color changes for the body, background, buttons, text, links, and even specific product categories.</li> <li> Experimenting with typography: Shopify’s CSS access lets you play around with different fonts, sizes, styles, and spacing for better readability and brand consistency.</li> <li> Enhancing user interface and navigation: CSS enables creating custom menus, grids, and sliders improving the navigation efficiency and user experience.</li> <li> Implementing responsiveness: With CSS, Shopify themes can adapt to different devices like desktops, tablets or mobile phones ensuring uniform viewing experience.</li> </ul> <p>Therefore, the use of CSS on Shopify can unlock the potential of your online store and ensure that it stands out from others. Working with the CSS files can seem overwhelming initially but learning the basics of CSS and leveraging its capabilities can open a plethora of opportunities to enhance the visual appeal and functionality of your Shopify store. Remember, it’s not just about creating a good-looking store, but one that functions optimally and aligns with your brand’s identity perfectly.</p> <h2>Harnessing CSS for Enhanced Shopify User Experience</h2> <h3>Transforming the Aesthetics: Unearthing the Link</h3> <p>Is the power of Cascading Style Sheets harnessed to its full potential? Shopify is a renowned platform used widely for developing robust online shopping stores across the globe. It has served as a game-changer in the digital landscape, offering business owners the ease of managing their online retail with simplicity and efficiency. One may ponder the role of CSS in this environment, and the truth is, it plays a fundamental role to enhance the Shopify user experience. CSS, an indispensable tool integral to the online presentation of the website, gives Shopify storefronts a unique edge in terms of visuals and interface, thus elevating the overall user experience.</p> <h3>Unraveling the Complexity: Identifying the Crucial Complications</h3> <p>As intriguing and important as it may be, the application of CSS into Shopify platforms may also be a complex task. For those who are not well-versed with coding, deciphering the CSS language can be quite daunting. Another complication arises with wide-ranging customer preferences. Every customer has a different visual appeal and keeping up with it using intricate CSS scripts can be challenging. Therefore, CSS’s role in maintaining a consistent and engaging interface while curating personalized user experiences poses a significant problem.</p> <h3>Exemplifying Success: Breaking Down Effective Approaches</h3> <p>Successful application of CSS can be observed in multiple arenas within Shopify. One such instance involves the implementation of CSS to enhance and customize typography on storefronts. Brands can now configure their unique fonts, aiding in reinforcing brand identity. Similarly, CSS enables advanced layout controls, allowing the creation of distinct landing pages. These pages can be remarkably personalized according to the target audience’s preferences and based on the products or services.</p> <p>Another classic example can be seen in the manipulation of images using CSS filters. This technique has been revolutionary in rendering a more dynamic and interactive feel to the platform. Visual customization plays a significant role in customer retention and engagement, which turns out to be a profitable attribute of using CSS with Shopify.</p> <p>In conclusion, although CSS usage poses a few bottlenecks, its advantages in Shopify far outweigh its complexities, devising an enriched user experience catering to individual needs.</p> <h2>Revolutionizing Shopify with the Magic of CSS</h2> <h3>Defining the Impact of CSS in the E-commerce Landscape</h3> <p>Is it conceivable to imagine an e-commerce site that doesn’t use CSS? Certainly not. This style-sheet language is a critical tool in designing online platforms. For Shopify, a leading e-commerce platform, CSS is a tremendous asset. The platform’s abundant utilization and solid grasp of CSS directly contribute to its remarkable success. It provides the flexibility and versatility needed to create unique, interactive, and user-friendly online retail stores.</p> <p>CSS, or Cascading Style Sheets, makes the visual presentation of websites on diverse devices with different screen sizes much more manageable. For instance, Shopify utilizes CSS to provide a responsive design, which means the layout and functionalities operate seamlessly across various device interfaces. This ensures maximum accessibility and convenience for all consumer demographics. </p> <h3>Illustrating the Challenges and Their Rectifications</h3> <p>The main hurdle, however, is maximizing the use of CSS. Some e-commerce platforms lack the in-depth knowledge it requires or the manpower to continually update their CSS framework. Unfortunately, suboptimal use of CSS can result in inconsistent design elements, deficient accessibility, or a site that fails to portray the brand’s identity effectively. </p> <p>Shopify, on the other hand, foresaw this predicament early on. The company has, hence, heavily invested in learning CSS to its core and regularly updating their platform’s CSS framework. This proactiveness allows Shopify to tackle these potential design and accessibility issues, ensuring every created site is functional, visually appealing, and aligns with the brand’s message.</p> <h3>Best Practices Exhibited by Shopify </h3> <p>One wouldn’t need to look further than the best practices exhibited by Shopify for gaining insights into effective utilization of CSS in e-commerce. Firstly, Shopify ensures every piece of CSS code contributes positively to the UI/UX design. The meticulously crafted design elements offer an aesthetically pleasing, yet comfortable navigation experience to the visitors.</p> <p>The Shopify-generated sites also champion responsive design. Shopify’s exploitation of CSS media queries ensures that all sites appear and function perfectly on any device, be it a desktop, smartphone, or tablet. Shopify’s designers utilize CSS Grid layout and Flexbox, among other innovative CSS tools, ensuring their sites are designed with the best possible adaptability and responsiveness.</p> <p>Lastly, Shopify also ensures a high degree of accessibility in its sites. The use of CSS Aural style sheets allows for audio rendition of on-screen elements to assist visually impaired users. This way, Shopify exemplifies how CSS can indeed be leveraged for crafting efficient and inclusive e-commerce experiences.</p> <h2>Conclusion</h2> <p>Have you ever pondered over the integral part CSS plays in shaping a powerful platform like Shopify? Indeed, CSS is a fundamental building block in the making of Shopify’s design and layout. Its role is undeniable in creating captivating user interfaces and improving user experience. It bolsters the site’s aesthetics and functionality, allowing a comfortable, intuitive navigation route for users. The customization ability of CSS turns the visual world of Shopify into an immersive and dynamic shopping experience. The expertise Shopify exhibits in CSS manifests each time you seamlessly interact with its platform.</p> <p>It is wonderful to have you as part of our blogging community. Your continual support encourages us to delve deeper into technical aspects and bring forth insights that are both enlightening and engaging. Much of what we discuss here revolves around empowering you to harness the power of technology and make the most of it. We hope you continue this journey with us, gaining considerable knowledge, and investing it back into your professional and personal realms.</p> <p>In anticipation of your unwavering support, we are generating more content that navigates through the nooks and crannies of technology. The upcoming articles promise to be informative, thought-provoking, and practical with a repertoire of topics that unlock new perspectives. While you wait for new releases, we recommend revisiting our older posts for they hold relevance and might just be the knowledge impetus you need. Stay tuned as we continue our tech exploration and thank you for being part of our intellectually curious and ambitious readers demographic.</p> <h2>F.A.Q.</h2> <p>Sure, here is your FAQ section.</p> <p>1. Does Shopify support the use of CSS?<br /> Yes, Shopify does support the use of CSS. It lets you modify the look and feel of your store using custom CSS in your theme code.</p> <p>2. Can I customize my Shopify Store using CSS?<br /> Absolutely! You can create unique styles for your Shopify store by customizing the CSS code in your Shopify theme.</p> <p>3. How can I access the CSS files on Shopify?<br /> You can access the CSS files on Shopify by navigating to the ‘Edit Code’ section of your theme. Here, you will find a .css file that can be customized to redefine the appearance of your Shopify store.</p> <p>4. Is knowledge of CSS required to operate a Shopify store?<br /> No, you do not need CSS knowledge to operate a Shopify store. However, CSS can be leveraged to further customize and personalize the design of your Shopify store.</p> <p>5. Do themes on Shopify have built-in CSS?<br /> Yes, every theme on Shopify comes with its own built-in CSS. These CSS files determine how the theme’s design and layout appear on your website.</p> <a href=""><img src=""></a> </div> </div> </article><!-- #post-309 --> </div> <div class="col-lg-4 col-md-4 col-sm-12"> <div class="sidebar"> <aside id="block-2" class="widget text_widget widget_block widget_search"><form role="search" method="get" action="" class="wp-block-search__button-outside wp-block-search__text-button wp-block-search"><label class="wp-block-search__label" for="wp-block-search__input-1" >Search</label><div class="wp-block-search__inside-wrapper " ><input class="wp-block-search__input" id="wp-block-search__input-1" placeholder="" value="" type="search" name="s" required /><button aria-label="Search" class="wp-block-search__button wp-element-button" type="submit" >Search</button></div></form></aside><aside id="block-3" class="widget text_widget widget_block"><div class="wp-block-group is-layout-flow wp-block-group-is-layout-flow"><div class="wp-block-group__inner-container"><h2 class="wp-block-heading">Recent Posts</h2><ul class="wp-block-latest-posts__list wp-block-latest-posts"><li><a class="wp-block-latest-posts__post-title" href="">What are modes in Magento 2?</a></li> <li><a class="wp-block-latest-posts__post-title" href="">Why is WordPress so expensive?</a></li> <li><a class="wp-block-latest-posts__post-title" href="">What are the cons of WooCommerce?</a></li> <li><a class="wp-block-latest-posts__post-title" href="">Which is better Wix or Shopify?</a></li> <li><a class="wp-block-latest-posts__post-title" href="">Is ngModel obsolete?</a></li> </ul></div></div></aside><aside id="block-9" class="widget text_widget widget_block"> <div class="wp-block-group is-layout-constrained wp-block-group-is-layout-constrained"><div class="wp-block-group__inner-container"> <h2 class="wp-block-heading">More for reading</h2> </div></div> </aside><aside id="block-4" class="widget text_widget widget_block"> <div class="wp-block-group is-layout-flow wp-block-group-is-layout-flow"><div class="wp-block-group__inner-container"><ul class="wp-block-archives-list wp-block-archives"> <li><a href=''>November 2023</a></li> <li><a href=''>October 2023</a></li> <li><a href=''>September 2023</a></li> <li><a href=''>August 2023</a></li> <li><a href=''>July 2023</a></li> <li><a href=''>June 2023</a></li> <li><a href=''>May 2023</a></li> </ul></div></div> </aside><aside id="block-29" class="widget text_widget widget_block"> <div class="wp-block-group is-layout-constrained wp-block-group-is-layout-constrained"><div class="wp-block-group__inner-container"> <h2 class="wp-block-heading">Best AI Tools For Business and Personal Use</h2> <p><a href="">Synthesia</a></p> <p><a href="">Unscreen</a></p> <p><a href="">Flatlogic</a></p> <p><a href="">Munch</a></p> <p><a href="">Dall-E-2</a></p> <p><a href="">Okibro</a></p> <p><a href="">NextRembrant</a></p> <p><a href="">Letsenhance</a></p> </div></div> </aside> </div> </div> </div> </div> </section> <footer class="site-footer"> <div class="container-full"> <div class="row footer-sidebar"> <div class="col-lg-3 col-md-6 col-sm-12"> <aside id="block-5" class="widget text_widget widget_block"><div class="wp-block-group is-layout-flow wp-block-group-is-layout-flow"><div class="wp-block-group__inner-container"><h2 class="wp-block-heading">Archives</h2><ul class="wp-block-archives-list wp-block-archives"> <li><a href=''>November 2023</a></li> <li><a href=''>October 2023</a></li> <li><a href=''>September 2023</a></li> <li><a href=''>August 2023</a></li> <li><a href=''>July 2023</a></li> <li><a href=''>June 2023</a></li> <li><a href=''>May 2023</a></li> </ul></div></div></aside><aside id="block-6" class="widget text_widget widget_block"><div class="wp-block-group is-layout-flow wp-block-group-is-layout-flow"><div class="wp-block-group__inner-container"><h2 class="wp-block-heading">Categories</h2><ul class="wp-block-categories-list wp-block-categories"> <li class="cat-item cat-item-1"><a href="">Templates</a> </li> </ul></div></div></aside> </div> </div> </div> <div class="site-info text-center"> Maverick WordPress Theme </div> </footer> <div class="page-scroll-up"><a href="#totop"><i class="fa fa-angle-up"></i></a></div> <script> // This JS added for the Toggle button to work with the focus element. if (window.innerWidth < 992) { document.addEventListener('keydown', function(e) { let isTabPressed = e.key === 'Tab' || e.keyCode === 9; if (!isTabPressed) { return; } const focusableElements = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'; const modal = document.querySelector('.navbar.navbar-expand-lg'); // select the modal by it's id const firstFocusableElement = modal.querySelectorAll(focusableElements)[1]; // get first element to be focused inside modal const focusableContent = modal.querySelectorAll(focusableElements); const lastFocusableElement = focusableContent[focusableContent.length - 1]; // get last element to be focused inside modal if (e.shiftKey) { // if shift key pressed for shift + tab combination if (document.activeElement === firstFocusableElement) { lastFocusableElement.focus(); // add focus for the last focusable element e.preventDefault(); } } else { // if tab key is pressed if (document.activeElement === lastFocusableElement) { // if focused has reached to last focusable element then focus first focusable element after pressing tab firstFocusableElement.focus(); // add focus for the first focusable element e.preventDefault(); } } }); } </script> <script type='text/javascript' src='' id='the-maverick-skip-link-focus-fix-js'></script> </body> </html>