Web Design Tutorials

Build a WordPress Theme Options Page With Carbon Fields
* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;}In this new tutorial, I’ll explain how to use Carbon Fields, a WordPress custom fields library, to create a Theme Options/Settings page.  What is Carbon Fields? Carbon Fields is a free WordPress library developed by 2create. It helps WordPress theme and plugin developers create additional fields for post types, navigation menus, widgets, etc., or even register custom Gutenberg blocks without touching JavaScript.  As we’ll see, along the way, it comes with various fields like checkboxes, repeaters (complex), texts, etc.  An important note is that we don’t install it as a WordPress plugin but through the Composer PHP dependency manager—if you aren’t familiar with it, think of it like the npm Javascript dependency manager. So, at this point, if you want to follow this tutorial, first install Composer, then install Carbon Fields by running this command: 1 composer require htmlburger/carbon-fields What is a WordPress Theme Options Page? A theme options page is an admin page, located outside the default WordPress pages, where developers store global settings which affect the functionality of their WordPress site or plugin. For example, there might be options for managing things like: Header behavior—whether it should be sticky or...
How to Use Webflow’s Collaboration Tools for Better Teamwork
* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;}Webflow is making it easier than ever to collaborate on projects with a team—including your clients. Let’s explore how to make the most of these useful features. What work looks like has changed a lot in recent years. In fact, there’s been a dramatic shift, with a staggering 44% increase in the use of collaboration tools since 2019, as reported by Gartner. With more people working from home, this surge underscores the tools’ critical role in ensuring productivity amidst the transition to remote teams.  As organizations navigate towards a hybrid workforce model, the reliance on cloud-based, personal, and team productivity technologies, alongside collaboration tools, is becoming even more important for keeping everybody on the same page while accommodating diverse work preferences​​. And that’s one reason why Webflow has become such a dominating force. Its collaboration tools are worth a sign-up alone. So with this in mind, let’s explore how you can use these collaborative tools to get more out of Webflow and more out of your team, too.  Webflow is Built for Teamwork Webflow’s philosophy centers around empowering teams to work together seamlessly. With the advent of Workspaces, team collaboration has been simplified, allowing for a more...
How to Create an “AI Quotes Generator” With OpenAI and JavaScript
* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;}#it86{background-color:rgb(243, 245, 246);}In this tutorial, we’ll learn how to create an “AI Quotes Generator” app with JavaScript. This app will demonstrate how to fetch data from the OpenAI API and generate engaging quotes for different categories or custom moods. Our AI Demo This demo requires an API key to work. You can get yours via the OpenAI website. HTML Structure The HTML structure will consist of the following elements: A button at the top right will open a modal that lets users add their OpenAI API key. An input that lets users add a custom mood Several options populated with categories A button which, when clicked, will generate quotes from the OpenAI API. As we’ve done before, we’ll use the Bootstrap framework to do a lot of the heavy lifting where the UI is concerned. The HTML Structure will look like this: 1 <div class="position-absolute top-0 end-0 mt-2 me-3"> 2 <button 3 id="api" 4 type="button" 5 class="btn btn-primary" 6 data-bs-toggle="modal" 7 data-bs-target="#myModal" 8 > 9 Add API Key 10 </button> 11 </div> 12 <div class="container mt-5"> 13 <div class="message alert alert-danger text-...
How to Duplicate a Page in WordPress With and Without Plugins
* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;}If you’ve ever wanted to reuse a page’s layout or settings to create a new one, you might’ve been surprised to find that WordPress doesn’t have a simple out-of-the-box solution.  You could use a keyboard shortcut to Copy All, but that will only copy the text from the page. To carry over images, metadata, custom effects, and page settings, you need a more powerful solution that enables you to duplicate or clone a page in WordPress. In this tutorial, we’ll show you how to duplicate a page in WordPress using three different methods: How to Duplicate a Page in WordPress with a Plugin How to Copy a Page in WordPress with the Page Builder How to Clone a Page in WordPress with Elementor How to Duplicate a Page in WordPress with a Plugin There are various plugins that allow you to quickly duplicate pages, posts, and custom post types (like product pages). For example:  Duplicate Post WP Duplicate Page Yoast Duplicate Post Don’t get hung up on the wording of the plugin. With these plugins, you can clone any type of content in WordPress, not just pages or posts as the name may suggest.  For this tutorial, we’re going to use a plugin called Duplicate Page.  Step 1: Install and Activate the PluginGo to Plugins > Add New. Search for “...
14 UX Laws for More Effective Website Design (With Examples)
* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;}In this post, we’ll break down the 14 most important UX laws to master as a web designer. When you sit down to design a website, who are you doing it for? While the company or person paying you ultimately sets the goals of the project, it’s the end users you’re most concerned with. This is why user feedback and testing are a crucial part of designing the user experience (UX). But you don’t necessarily need to host focus groups, run A/B tests, or send out surveys in order to design intuitive and enjoyable websites. There are certain facts we know about our users — and these facts are what have led to the laws of UX. What Are the Laws of UX? The laws of UX are more than a collection of best practices for web design. Each UX law is based on fundamental human nature.  If you understand people’s innate responses to certain visuals, you can create more visually pleasing and intuitive interfaces. And that’s what these UX laws and principles are all about. Here’s a summary (with examples) of the laws you need to know: Fitt’s Law Hick’s Law Miller’s Law Jakob’s Law Aesthetic-Usability Effect Occam’s Razor Pareto Principle Postel’s Law Goal-Gradient Effect Doherty Threshold Serial Position Effect Peak-End Rule Von Restorff Effect Law of...
20+ Best Shopify Themes for Dropshipping 2024
* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;}Dropshipping is a great way to make money online without having to come up with a product of your own. With dropshipping, you’re selling products from third party stores for a price that you set. Creating your own dropshipping store is easy with Shopify. It’s even easier when you use a Shopify theme designed with dropshipping stores in mind. In this post, we’ll share the best Shopify themes for dropshipping in 2024.Best Dropshipping Templates in the Shopify Theme StoreLet’s begin this expansive collection with six examples from Shopify’s own theme store: District Designed specifically for dropshippers Store locator Color swatches Mega menu Sticky header Startup Makes small catalogs shine Designed specifically for dropshippers Perfect for direct-to-consumer Warehouse Adaptable layout with highly versatile and custom setting Tailored for large catalogs Designed specifically for dropshippers Iris Designed specifically for dropshippers 30+ custom sections optimize for smooth navigation and mobile users Parallax Show the product with parallax images, videos, and slideshows The parallax scrolling adds a creative vibe Designed for dropshippers Upscale Helps you promote products and grow conversions...
How to Retrieve the IDs, Titles, and URLs of the Core WordPress/WooCommerce Pages
* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} As WordPress developers, many times we want to grab different info (ID, title, URL) for standard WordPress/WooCommerce pages like the Blog and My Account pages. Surprisingly, all this useful stuff is stored in the *_options table, and we can access it using the get_option() function. There’s also the wp_load_alloptions() that we can use to print them all on the page. Let’s see it in action! Get Static WordPress Pages Imagine that, on our site, we’ve registered static pages as front and blog pages.  WordPress stores the ID of these pages as values of the page_on_front and page_for_posts options.  From there we can access the titles and URLs using the built-in get_the_title() and get_permalink() functions. It’s worth noting that another way of immediately getting the blog archive page URL is by using the get_post_type_archive_link() function and passing the post keyword as a parameter. For example, if we want to grab the archive page URL for the member custom post type, we’ll pass the member parameter to this function. Static Front Page 1 /* GET URL */ 2 function get_front_page_url() { 3 return get_permalink( get_option( 'page_on_front' ) ); 4 } 5 6 /* GET TITLE */ 7 function get_front_page_title() { 8...
30+ Best Single Product Shopify Themes (Free & Paid)
* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} Origin - Shopify Template for Free Try this Shopify template for free for a stylish single product website. Its features include a stock counter and image galleries. Ride - Free Shopify Product Template Ride is a good option if you're looking for a single product Shopify theme. It's perfect for sports stores. You can even add a FAQ page. It's one of the best free Shopify templates. Sense - best Free Shopify Template for Skin Care This theme is great for a skin care product on Shopify. It has room to add nutritional-related information and supports lookbooks. Dawn - Free Theme for Shopify This is a free option from the Shopify themestore. It supports product videos and image zooms. It's easy to customize, which makes it a best free Shopify theme for single products. Crave by Shopify If you're selling a food product on Shopify, this theme may work for you. It offers enhanced...
7 Lessons Web Designers Can Learn from Mobile App Developers
* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} When working as a web designer, it’s totally expected that you might develop tunnel vision after some time. That is, you only listen to other web designers for tips and tricks of the trade. But you can seriously up your game by peeking into the toolbox of mobile app developers. You see, it’s not just about making sure your site looks good on a phone. These app creators have been nailing user experience – making apps that folks love to use because they’re smooth, intuitive, and downright handy. Ready to get into it? Let’s take a look at what you can learn from the app developers’ playbook to make your site designs pop. Embrace Simplicity and User-Centric Design Prioritize Performance and Optimization Use Consistent UI Elements and Feedback Use Personalization and Push Notifications Incorporate Advanced Features Thoughtfully Continuously Test Choose the Right Tools and Technologies Lesson 1: Embrace Simplicity and User-Centric Design Taking cues from mobile app developers about simplicity and user-centric design could make all the difference in your designs. “Less is more” isn’t just a catchy phrase. It’s often a guideline to live by. Simplicity speeds up development, simplifies maintenance, and reduces costs. It’s about focusing...
Best Shopify Themes for Selling Trending eCommerce Products
* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} Prestige Luxury Design for Premium Brands, EU Translations, Fast Performance 30+ Configurable Sections, Optimized for Editorial & Visual Storytelling Supports Physical Stores, Advanced Marketing & Merchandising Features Ella Enhanced SEO with Google’s Rich Product Snippets, Responsive & Mobile Optimized Design 28+ HomePage, 06+ Category, 09+ Product, 07 Collection, 06 Blog Layouts Upsell Bundled Products, 08 Mega Menus, Quick Shop, Ajax Navigation Habitat 26 Custom Sections, EU Translations, Ideal for High Volume Stores Unique Customization Quick View for Better Conversion Support for Visual Storytelling, Physical Stores, Advanced Merchandising Morata Multi Variant Support, EU Translations, Sharp Images 20+ Easy Setup Sections, Meta Field Upsells, Intuitive Design Free Updates, Lifetime Help, Quick Setup for High-Volume Stores Mr. Parker Sharp Images...
Best Streetwear Shopify Themes for Fashion Stores
* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} Staff Pick Ap Suppre Ideal for street style fashion. Includes homepage demos, header styles, product pages, and multiple inner pages. Enhanced mobile shopping experience. Staff Pick Colorblock Colorful, attractive theme for a vibrant street fashion wear website. Atypical typography and customizable blocks of color to create trendy lookbook. Includes expandable menu and advanced filtering. Neytiri Fashion Shopify theme with multiple mega menu styles. Elegant page layouts with brilliant visual elements. Includes pop-up search  view, product image zoom. Werk Ideal for streetwear or urban clothing store. Numerous options to design your web page layouts. Featured collections to showcase your best products...
34 Best Shopify Themes With Beautiful eCommerce Designs for 2024
* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} Staff Pick Spark Shopify Template Made for stores with high-volume Works with the latest Shopify features Speed-tested and approved EU translations to EN, FR, IT, DE, and ES Staff Pick Origin Shopify Website Template Free Shopify theme Theme setup steps are minimal to allow for quick launch Stock counter Mega menu Staff Pick Unicorn Shopify eCommerce Theme Designed to showcase images to support visual brand storytelling Fullwidth logo Icon menu Packed with sections and features Staff Pick Venue Shopify Template Supports the sale of age-restricted products such as lottery...

Pages