Archive

Archive for June, 2021

How do you make a layout with pictures down one side of a page matched up with paragraphs on the other side?

June 30th, 2021 No comments

I got this exact question in an email the other day, and I thought it would make a nice blog post because of how wonderfully satisfying this is to do in CSS these days. Plus we can sprinkle in polish to it as we go.

HTML-wise, I’m thinking image, text, image, text, etc.

<img src="..." alt="..." height="" width="" />
<p>Text text text...</p>

<img src="..." alt="..." height="" width="" />
<p>Text text text...</p>

<img src="..." alt="..." height="" width="" />
<p>Text text text...</p>

If that was our entire body in an HTML document, the answer to the question in the blog post title is literally two lines of CSS:

body {
  display: grid;
  grid-template-columns: min-content 1fr;
}

It’s going to look something like this…

Not pretty but we got the job done very quickly.

So cool. Thanks CSS. But let’s clean it up. Let’s make sure there is a gap, set the default type, and reign in the layout.

body {
  display: grid;
  padding: 2rem;
  grid-template-columns: 300px 1fr;
  gap: 1rem;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  font: 500 100%/1.5 system-ui;
}
img {
  max-width: 100%;
  height: auto;
}

I mean… ship it, right? Close, but maybe we can just add a quick mobile style.

@media (max-width: 650px) {
  body {
    display: block;
    font-size: 80%;
  }
  p {
    position: relative;
    margin: -3rem 0 2rem 1rem;
    padding: 1rem;
    background: rgba(white, 0.8);
  }
}

OK, NOW ship it!

CodePen Embed Fallback

The post How do you make a layout with pictures down one side of a page matched up with paragraphs on the other side? appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Categories: Designing, Others Tags:

When a Click is Not Just a Click

June 30th, 2021 No comments

The click event is quite simple and easy to use; you listen for the event and run code when the event is fired. It works on just about every HTML element there is, a core feature of the DOM API.

As often the case with the DOM and JavaScript, there are nuances to consider. Some nuances with the click event are typically not much a concern. They are minor and probably most people would never even notice them in the majority of use cases.

Take, for example, the click event listening to the grandfather of interactive elements, the

Categories: Designing, Others Tags:

I Love Typography Launches Font Store

June 30th, 2021 No comments

There is no shortage of places to buy fonts online, but the quality of what is on offer is variable, and the way of searching catalogs has remained largely unchanged since the first stores appeared decades ago.

I Love Typography — a popular source of news about typography and type design since 2007 — has stepped into the marketplace, starting by inviting some of the world’s top designers to contribute to its new store, resulting in 40 foundries joining the project and 15 new type families available at launch.

ILT’s boldest move is to step away from the traditionally shallow type categories and attempt to devise a system that drills down into the nuances of type design, all to aid discovery.

The approach is named CEDARS+, which is a method of describing the formal characteristics of a (mainly Latin) typeface based on the characteristics of the marks if made by a writing tool such as a pen or chisel.

CEDARS+ can be broken down as follows:

  • Contrast: the difference between the thickest and the thinnest strokes in a character. Permissible values range from ‘none’ through ‘medium’ to ‘extreme.’
  • Energy: the visual energy in the letterform. Values range from ‘calm’ to ‘lively’ and ‘very high.’
  • Details: with several sub-categories, details is a catch-all category that covers aspects such as how strokes end and intersect.
  • Axis: the angle at which the tool would be held to create the form. Axis uses degrees, with 90 degrees being a vertical axis.
  • Rhythm: covers both the tightness or looseness of letters varying from ‘very tight’ to ‘very loose, and the difference in width between the narrow and wide letters varying from ‘highly regular’ to ‘highly irregular.’
  • Structure: another catch-all category that covers the structure of loops with values such as ‘triangular’ and ‘oval,’ and the general construction, which can be ‘formal,’ ‘cursive,’ ‘organic,’ ‘layered,’ ‘stencil,’ or ‘modular.’
  • +: the plus covers several characteristics that don’t fit neatly into an acronym, including the shape of crossbars, and single or double storey ‘a’s and ‘g’s.

With a way to browse font families that is based on the feel of the design, rather than popularity (or alphabetical order!) ILT hopes to expose lesser-known designs and designers, and to encourage more creative typography on the web.

Source

The post I Love Typography Launches Font Store first appeared on Webdesigner Depot.

Categories: Designing, Others Tags:

Fixing a Bug in Low-Resolution Mode

June 30th, 2021 No comments

I was working on a bug ticket the other day where it was reported that an icon was sitting low in a button. Just not aligned like it should be. I had to go on a little journey to figure out how to replicate it before I could fix it. Lemme set the scene.

Here’s the screenshot:

See how the icon is just… riding low?

But I go to look at the button on my machine, and it looks perfectly fine:

What the heck, right? Same platform (macOS), same browser (Firefox), same version, everything. Other people on the team looked too, and it was fine for them.

Then a discovery! (Thanks, Klare.)

It only showed up that way on her low-resolution external monitor. I don’t know if “low” is fair, but it’s not the “retina” of a MacBook Pro, whatever that is.

My problem is I don’t even have a monitor anymore that isn’t high resolution. So how I can test this? Maybe I just… can’t? Nope! I can! Check it out. I can “Get Info” on the Firefox app on my machine, and check this box:

Checked box for “Open in Low Resolution”

Now I can literally see the bug. It is unique to Firefox as far as I can tell. Perhaps something to do with pixel… rounding? I have no idea. Here’s a reduced test case of the HTML/CSS at play though.

The solution? Rather than using an inline-block display type for buttons, we moved to inline-flex, which feels like the correct display type for buttons because of how good flexbox is at centering.

.button {
   /* a million things so that all buttons are perfect and... */

  display: inline-flex;
  align-items: center;
}


The post Fixing a Bug in Low-Resolution Mode appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Categories: Designing, Others Tags:

How to Create a Membership Website in 2021

June 30th, 2021 No comments

For most internet business owners, consistent revenue is the ultimate goal. Learning how to build a membership site is one of the most common ways to monetize your business and adds constant regular money.

How to Creating a membership website in 2021 is a significant undertaking question. To have your ducks in order, you’ll need to wrestle with technology, create content, establish an audience, and generate buzz to assure a successful launch.

However, suppose you can bring some of those things to the table right away, such as an existing following interested in buying from you or a variety of content selected from previous projects. In that case, you can construct a membership website much more quickly than you may expect.

You can utilize a membership website to lock down unique material and charge people for access. People that sign up for a subscription, for example, can get eBooks, courses, research papers, PDFs, webinars, forum access, and more. It is also a fantastic method to make money from your website.

What is a membership website?

A membership website is a gated section of an internet business where just members who have subscribed can view the content that has been placed behind the door. Or a membership site is a collection of pages that contain password-protected material that can only access by logging in. Your membership site might be charged, completely free, or a combination of the two.

A door is just a barrier that you can incorporate into your website using a plugin. As soon as you’ve set up that barrier, members will be able to log in and gain access to unique content, special discounts, and even become part of a society of other members

Choose the right platform for your Website

Here are some to choose from a right platform for your website:

MemberPress

MemberPress is a simple membership plugin for WordPress. This total Membership Software installs quickly on your website and allows you to begin charging for access right away. It’s great to see many WordPress plugins for membership sites, considering WordPress already has such a large number of extensions that it’s only natural that a simple membership site would use WordPress over a custom design.

 MemberPress allows you to create an unlimited number of product pages and membership levels, as well as features. Such as a coupon device, access rules to develop sophisticated membership levels, product categories to create a large-scale membership site, and reports to stay up to date on the latest developments in your business and how you can improve it.

Amember

Amember is, without a doubt, one of the older and most famous membership site systems available. It distinguishes out since it is a self-contained membership platform with WordPress-like functionality and aesthetics. The option to schedule content is the most popular feature.

This motivates your subscribers to stay subscribed for extended periods to gain access to previously unreleased material. Other characteristics include integrated modules, which allow you to combine different modules to increase the capability of your membership site more than what it now has.

Furthermore, the extensive affiliate program entices them to begin marketing your products to their relatives and friends.

Learndash

If you want a bespoke structure or set of features, and you have the expertise or budget, building a course online on your WordPress site using LearnDash can be a terrific option.

It’s a little more complex and time-consuming, but it provides you with complete creative flexibility and control.

Although it is the most difficult, it is also the choice that gives you the most flexibility over the appearance and functionality of your course.

Learndash is the most well-known and extensively used WordPress LMS and membership plugin, and it comes with many useful features.

You can design stunning courses with almost any feature you want, and you can link it with the other WordPress plugins and themes to customize your system even more.

Teachable

Teachable is the most popular and well-known online course platform available. It’s jam-packed with features that provide you with everything you’ll need to develop and advertise an online course. In addition, the tools for creating online courses are simple to use and very flexible.

It’s also relatively simple to use and has a modest entrance price, making it an excellent alternative for someone just starting up.

It has several excellent marketing features, like configurable checkouts and one-click upsell webpages, and also the ability to set up your customized affiliate network and manage EU VAT payments.

Teachable also supports your success by hosting regular webinars and articles on topics related to course production, marketing, and selling.

It’s just as important to sell your virtual classroom as it is to create great content. Both are necessary, and these teaching activities assist you in staying current and ahead of the competition.

Kajabi

Kajabi has a more feature-rich premium package than Teachable or Thinkific. For example, there’s built-in email marketing, as well as a library of glossy courses, homepage, and website themes to help you promote and sell your system.

While you can still use the other platforms on this list, in order to do so you’ll need to find tools to work together to achieve the same functionality that Kajabi does itself.  

For example, if you wanted to use another tool on this list, you’d have to find your preferred email marketing software to complement your member platform.  

Kajabi is an excellent choice and is one of the most extensive tools for designing and selling your material in a straightforward manner.

Kajabi-based courses have a high-quality look and feel, and it includes a variety of tools for creating online courses.

It’s also relatively simple to accomplish without any technical experience. You’ll be able to bypass the hassles of coding & web development while still creating a course that’s completely tailored to your needs.

After evaluating all of the options, I feel Kajabi is the most excellent online course platform available if you can pay $100 per month or more. The student course area’s design is superior to all other options, providing a positive user experience for your students.

You can operate anything from Kajabi without using any third-party solutions because of the extensive marketing options.

Kajabi’s customer service is excellent. You can get help right immediately through chat, and it’s rapid, professional, and thorough. Kajabi is also one of the best (if not the best) teaching platforms available, and it provides you with all of the tools you need to create a world-class learning experience for your students.

Learnworlds

LearnWorlds is a powerful, fully customizable, and user-friendly Teachable alternative. It can be an excellent option for selling online courses or for training employees internally within a company.

LearnWorlds is a feature-rich option that allows you to create an entire course catalog if that’s what you want.

You’ll have significant exposure to over 300 templates for creating sales pages, keyword research, and course pages. When particularly in comparison to developing an app from the ground up, this can save you a lot of time.

And, because there are so many options, you won’t run into the issues that some other platforms do, where everyone’s courses tend to look the same. LearnWorld’s page builder is simple to use and assists you in creating an SEO and mobile-friendly course website.

Set your Membership Model

The Membership is based on value.

Members can combine services and benefits could choose them a-la-carte in a value-based membership model, depending on where they found the most value. This approach gives your members different levels of flexibility, making much more in line with some other non-association services that your target users are already using.

However, because of the many service tiers and accompanying dues, value-based Membership introduces significant revenue volatility. As a result, your bottom line may fluctuate as members try out new providers or choose the cheapest memberships.

Trade organizations, some trade groups, and other organizations have had remarkable success with value-based Membership. Even members who prefer a one-time fee which is easy to get authorized by their employer can package services to achieve a clearer ROI.

Ability-to-Pay Membership is a type of Membership that allows you to pay as you.

Ability-to-pay membership is single-cost, only specific plans that give everyone who joins access to all of your services. This strategy, which has long been regarded as the industry standard, generates dependable cash streams for your organization. They are, however, less appealing to members who want more flexibility. In addition, less involved organizations and individuals have a more challenging time justifying the cost of ability-to-pay memberships since they can’t be appropriately linked to a return on investment.

For organizations looking for more consistent revenue, the capacity membership model works well. However, even at the minor level, they may throw in necessary lobbying costs into another dues structure.

Hybrid Value-Based

Finally, an ability-to-pay structure can be combined with an accurate worth component. This gives members more choice regarding pricing and benefits while also giving your organization a more stable cash stream.

This is accomplished by allowing members to upgrade from a basic membership to a premium membership, which provides more perks for a more fantastic price. The cost of both the base and premier memberships are determined by the member’s financial ability to pay.

Set a Price for Your Membership

It’s no easy task to find that perfect balance with your pricing strategy, and picking the wrong price can be disastrous for your organization.

If you charge too little, you risk losing money, and if you charge too much, you risk alienating potential customers. Therefore, it would help if you devoted time and study to determine your membership pricing approach.

The expense of joining your club should ideally not break the bank, but it also shouldn’t leave you scrabbling for dollars to pay your bills!

After all, you’re running a business, so your membership site must be successful. So, how much will your membership website cost? Is there a target number that you should shoot for?

Unfortunately, when it comes to membership price, there is no such thing as a one-size-fits-all solution. However, there are four crucial factors to consider in arriving at acceptable pricing for you and your members.

You’re Membership Profitability & Your Business Financials

When it comes to determining the cost of your membership site, the first thing you should examine is your company’s finances.

Although you may want to keep your Membership as low-cost as possible, you must be careful not to run out of funds.

Your Membership must be profitable. All of your hard work will be for naught if you don’t make enough money to cover your expenses. So said, if you aren’t producing money, your business will be doomed to fail.

Marketing and Maintain a Membership Site

Membership sites are a fantastic way to distribute your material while also earning money on the side. With a monthly membership, users can gain access to exclusive information on a helpful platform. You can also collect a one-time fee and then upsell additional material.

Make a pre-launch plan.

The ideal time to recruit a significant number of members is when you launch a new membership site. The introduction of a website can elicit feelings of excitement and expectation. You can use such emotions to gain more attention and attract visitors to your web site website.

Prepare content for your website launch several weeks ahead of time. To let users know about the launch, you can create a buzz on social media and send out email blasts.

You can also use limited-time offers to kick-start the launch. You’ll use the Fear of Missing Out (FOMO) to instill a sense of urgency in your audience. People will take advantage of the deal, which will result in increased conversions for your site.

Collaborate

Your Website launch, contests, and discounts can all be useful material for non-competing websites. In addition, you may track down social media influencers in your industry and have your content posted on their pages.

You can also collaborate with well-known bloggers in your field. Make unique offers for their readers, and you’ll be able to persuade them to join your site.

Create social proof

Uncertainty is one of the main reasons why people are hesitant to join membership sites. By including social evidence on your Website, you can reduce their fear of taking a risk.

This can accomplish by requesting client testimonials. In addition, look for and highlight internet reviews and user-generated content. Sharing this type of information generates social proof, fosters trust, and boosts your membership rate.

Affiliate marketing is a powerful approach to promote your Website.

Many people will contribute to the creation of content and the promotion of your membership site. In addition, they benefit from the money they make from the sales they make. This benefits several parties and helps deliver high-quality material to clients who are prepared to pay for it.

With digital marketing, you may multiply the growth of your membership site.

An excellent online business can build on the foundation of your membership site. However, to attract members, you must employ effective marketing methods. You can use the tips provided here to draw attention to your Website. Earning money online will benefit you. Exclusive content will also help your members.

Conclusion

Here we have placed How to create a membership website in 2021 and some other strategies for you. Now you don’t have to think more about your future. You don’t want to prepare carelessly or hurriedly because marketing will account for most of your membership model spending. So before making any judgments learn from your mistakes to go over these stages.

So best of luck with your carrier!

Categories: Others Tags:

5 Best Magento 2 Payment Gateways and How to Integrate Them on the Website

June 30th, 2021 No comments

Payment Gateway is a phrase that refers to receiving and transmitting money from online customers to seller accounts for their purchased products online in a safe manner using any form of transaction, such as credit card or debit card.

Actually, a payment gateway is a third-party resource that assists both vendors and purchasers in completing safe and secure transactions. They should also be in charge of maintaining high levels of security on online shops in order to direct online consumers to third-party pages where they may complete their orders.

Magento 2 is a free and open-source e-commerce platform that allows you to create an online store through a custom web development company with extensive functionality and scalability, allowing you to sell both physical and digital items and services. It works with the most recent PHP versions, as well as CSS3, HTML5, and MySQL. Magento 2 facilitates the online transaction procedure and this makes companies hire expert magneto developers

  • If all internet shoppers are included and an average is calculated, roughly 19 online transactions per person per year occur globally.
  • Online fraud, as opposed to in-person fraud, currently accounts for 58 percent of all instances.
  • Furthermore, 7 out of 10 buyers proceed with a transaction depending on the payment gateway option that is accessible.
  • Backend order processing is a crucial aspect of eCommerce that is sometimes ignored.
  • Business owners spend a significant amount of money to create a visually appealing website but often place less emphasis on payment delivery methods.
  • Consumers throughout the world expect more in the 2010s and 2020s.

What do you mean by payment gateways?

An eCommerce payment gateway is a third-party service that approves credit card payments within your eCommerce software and connects your eCommerce shop to a bank.

Consider it a physical POS (point of sale) terminal at a grocery store or café. A payment gateway, like a cash register, is offered and supported by a third party for your convenience. It takes, verifies, and encrypts your customers’ credit card information. As a result, sensitive financial information is sent securely from a consumer to the merchant, and subsequently between the merchant and the bank.

What are Magento payment methods?

The payment gateway for the Magento store is the manner through which a client decides to pay for an item. Cash, credit/debit card payments, e-Wallets, bitcoin transactions, and other internal and external ways are examples. Yes, you read it correctly: cash transactions are used in eCommerce, though they are less common than other payment methods.

The following payment methods may be configured by a Magento merchant: check/money order, bank transfer, cash on delivery, buy delivery, and zero subtotal checkout. The methods may be installed by going to Admin Stores Configuration Sales Payment Methods in the admin panel.

Understanding a merchant account

A merchant account is a bank account into which proceeds from a successful financial transaction are placed. Your retail business can accept credit and debit card payments processed through a payment processor with a merchant account.

The payment gateway’s primary function is to refuse or authorize each financial transaction, whereas a merchant account is responsible for accepting credit and debit card payments. In simple terms, a merchant account is an agreement between an internet business owner and a credit card processing firm. As a retailer, you don’t need a merchant account because it isn’t required.

What are the best 5 Magento gateways?

Let us have a look at the top 5 payment gateways of Magento2 that one must know:

1. World pay business payment

Most eCommerce shop owners select Worldpay Business Payment Module as one of their preferred Magento2 online payment solution integration extensions because it allows them to sell their products while remaining calm and relaxed without having to worry about technical issues. Many new online store owners, regardless of which PHP-based online store they have just launched, may be perplexed when it comes to choosing Worldpay payment extensions because it is available in two different types: Business account and Online account. They should know which account they have before purchasing any Worldpay payment extensions.

  • It allows you to apply customer-specific discounts.
  • It aids in the provision of a discount in order details and order emails.

2. World pay the online payment

Worldpay Online Payment Extension allows store owners to manage all payments and transactions within their store, and buyers can continue shopping after checking out by paying with any of their credit cards (Visa, Mastercard, JCB, AE, etc.) within your online shop without being redirected to the Worldpay payment page, as in Worldpay Business. It also aids the Magento2 store administrator in increasing sales and maximizing profits.

  • The payment system is completely automated.
  • It has a feature that allows you to receive automated payment updates.
  • It provides secure codes to improve payment security.

3. Paypal adaptive

PayPal is a well-known Top Online Payment Gateway for a variety of companies other than e-commerce domains since it has had a significant beneficial influence on online businesses such as online hotel bookings, online shopping, rental bookings, and travel bookings, among others. I discovered PayPal’s Adaptive Payments Extension provides a flexible manner of collecting and transferring funds received from purchasers, which may be divided into different user tiers (primary receiver, secondary receiver). Because it allows sellers to easily handle admin to shopper commission transactions, this type of adaptive payment system will be best suited for the Multivendor Marketplace, which comprises vendors, admin, and buyers.

  • Both Magento 2.0 and 2.1 are supported by this plugin.
  • This addon is very simple to set up.
  • It accepts both normal PayPal payments and PayPal express payments.
  • It accepts payments in all currencies except the base currency.
  • Customers are able to pay in any currency of their choice.

4. Stripe payments

Stripe is a well-known payment gateway among all internet users, similar to the PayPal payment system, so there is no need for a lengthy introduction. Since store owners included the Stripe Payment Module by default along with PayPal to collect huge quantities of transactions within their online store, Stripe is another smart payment option on virtually all shopping cart websites. It enables Magento2 shop owners to create partial billing from both the admin panel and the customer dashboard.

  • It offers credit card processing for level II and level III data.
  • This extension offers encrypted card readers.
  • It helps to protect customer data and secure checkout.
  • It minimizes PCI scope and reduces liability

5. Sage pay

In comparison to other payment methods that are frequently incorporated into an online business, such as Worldpay, 2 checkouts, and so on, Sage Pay is one of the most dominant payment service providers in the UK. It also enables online consumers to conduct safe purchases using credit or debit cards. With the aid of a PCI-compliant data vault, Sage Pay Payments would be able to collect and preserve payments from consumers, as well as save payment information via checkout forms.

  • It comes with a responsive checkout page by default.
  • This add-on is simple to use.
  • This plugin allows you to auto-fill your address.

How do these payment gateways work?

As a middleman between a merchant and a bank, an eCommerce payment gateway protects customers’ privacy while also reducing merchant costs. But how does it function in practice? Let’s have a look at each step.

A payment gateway (and especially Magento payment processing) follows the four stages below:

  • Step 1: A consumer chooses the product he or she wishes to buy and completes the transaction by entering his or her credit card information on the checkout page. The transaction data is encrypted before being sent to your payment gateway.
  • Step 2: The payment gateway receives the order and uses a Digital Certificate to authenticate the store (a sort of your online shop ID). When a client selects a payment method, the payment gateway sends the information to either the acquiring bank (in the case of Magento credit card payment method) or a merchant account (in the case of another chosen method).
  • Step 3: After the issuing bank or credit card (Mastercard, VISA, Maestro, American Express) authenticates the transaction, it is accepted or refused (depending on the charges available on the customer’s bank account).
  • Step 4: The bank transfers the funds to the payment gateway, which then directs the funds to the merchant account. The money may arrive on a merchant account in a few minutes or a few working days, depending on the payment gateway.

What’s the appeal of it? This entire process takes no more than 2-3 seconds! The final stage of settling the payments may take a few days, but with the appropriate payment gateway, your customer will be able to check out in the blink of an eye.

Conclusion 

These extensions are the backbone of not only online retailers, but also many enterprises that have switched from conventional direct store sales to a digital platform. While many online shop administrators obtain the Best Ecommerce Website, others fail to integrate the Best Online Payment Extensions on their particular eCommerce marketplaces. At the end of this post, any online shop owner will be able to choose the best payment gateway modules for their Custom Magento2 Marketplace.

Categories: Others Tags:

How to Build Consumer Trust in your eCommerce Company with Video

June 30th, 2021 No comments

Consumer trust is a key factor in any eCommerce platform’s marketing strategy. 

Regardless of how big or small a business is, it is trust that helps them build online credibility, attract new prospects, nurture relationships with existing customers, and ultimately sell more products or services!

Incidentally, one of the most efficient resources that businesses have to inspire confidence and bridge relationship gaps with prospects is video content. As it helps them connect their core messages with their audiences while keeping it engaging, dynamic, and genuine.

Now, there are several types and techniques you can use to build consumer trust with videos. So, today, we’ll go over the most relevant in terms of enhancing your marketing strategy and earning your prospects’ trust.

Let’s go!

The Three Desirable Traits to Inspire Confidence

When you want to start a business relationship with potential customers, it’s vital to first shape how they perceive your brand. 

Given that we are focusing on consumer trust let’s take a quick look at three desirable traits that can help you inspire confidence in your prospects: competence, expertise, and humanity

1. Use quality to display competence

In the digital landscape, your content is the presentation letter you’ll offer to potential customers. Your website, social media accounts, videos, and blog posts will be their point of reference to help them understand if your brand’s worth it or not. 

And for that matter, quality is paramount because it speaks to the standards you hold your company to! So, if you are developing videos to show how professional your company is, it’s essential to keep a certain quality level and make sure they have a professional finish.  

Now, several elements will come into play for how your video’s quality is perceived – for example, a well-written script and a top-notch visual delivery. However, this may depend on the type of video you are producing. 

Whatever the case might be, you need to remember that poor quality can be harmful and scare your target audience away. So, make sure the piece you end up with matches your audience’s expectations.

2. Showcase your expertise 

Few things inspire more confidence than sharing knowledge about the topic in question. It demonstrates to your audience that you are an expert in your field

Keep in mind that when browsing online, people are usually trying to find a solution to a specific problem. But not just any solution – the best solution. So, to be seen as a reliable source of information (and solutions), you must be ready to address those pain points and provide all the right answers. 

That’s when video waltz’s in. 

This awesome and versatile medium has the ability to condense a lot of important information in a short amount of time, no matter how complex that information might be. Making it a great resource to share your knowledge and display your expertise in the most creative, simple, and engaging way.

3. Humanize your brand

We, humans, are inherently social creatures. We crave to be seen and treated as unique individuals, especially in the often-so-cold-and-impersonal online field. 

So, to build a sincere connection with your audience, you need to show them that there are real people behind your brand. People that care about them and their problems. 

Take into account that people bond with other people and their experiences, not with brands and logos. Make a stand and prove that your company’s more than just a business, an office, or a product that needs to be sold. 

Go beyond the mere fleeting impact and create video content that’s relatable, interesting, and above all, human. By doing so, you’ll be able to build more loyal, long-lasting relationships with your audience.

5 Types of Videos that Excel at Generating Consumer Trust

Now that we know which attributes or elements you need to focus on to foster consumer trust, let’s take a cue from experienced video companies, and break down a few types of videos that can really help you achieve it.

Explainer Videos

Explainer videos – a.k.a.: promotional videos – are short, usually, animated pieces that help to illustrate complex business ideas or concepts in simple and meaningful ways. 

Instead of hard-selling, their main goal is to describe a company’s product or service in a way that resonates with their target audiences’ pain points, introducing their solution as the ideal choice

To achieve that, these videos use storytelling as a secret weapon to connect a brand’s message with its target audience. How? By focusing on telling a relatable story about a product or a brand and showing how it can make a prospect’s life easier, all while keeping it exciting and compelling. 

This is why explainer videos are great to foster consumer trust – if well executed, they speak directly to the audience, making the message more personal, intimate, and relatable. 

Take a look at this cool motion graphics video as an example. In less than 2 minutes, an empathetic narrator walks the viewer through an in-depth but understandable explanation of several types of explainers. And on top of that, it has gorgeous animations to make the brand’s core message come alive!

Company Story Videos

If you want to show your company’s human side, few things can stand against a company story video. These are a great marketing tool for conveying your brand’s culture and sharing your story with prospects and existing customers. 

As explainer videos do, company story videos also use appealing narratives – driven by powerful scripts – to create a strong connection with viewers and foster consumer trust. To do so, they mostly revolve around a brand’s core values, targeting topics that resonate with the audience. 

That said, for a company story video to be effective, it needs to feel authentic and unique. There’s no other brand like yours, and you should exploit that. Show your prospects how you like to do things, what drives you, what you stand for, and so on.

Check out this company story video developed by Ben & Jerry’s. They used it to convey a powerful message: their desire to make a positive impact and create linked prosperity for everyone involved in their business (suppliers, employees, farmers, customers, etc.)

Product Videos

One of the trickiest parts about online shopping is that people can’t try out or even touch a product before purchasing it. Fortunately, product videos came to save the day! 

These cool videos showcase how a product or service works, highlighting its benefits and key features through detailed visuals. By doing so, people can see it in action and understand what kind of value it brings to them. 

As it happens with most video content, there’s not just one right way to make a product video. This will depend on your industry, your target audience’s characteristics, and how they usually make purchase decisions. 

Nevertheless, it’s important to remember that these videos are the cornerstone of any eCommerce company. In classy and precise ways, they can reinforce consumer trust by offering solid evidence that supports all the great things you are saying about your products. 

Like this Cambridge Sound piece that offers a thorough demonstration of the product’s functions and special features with elegant animations. The video also features a calm tune that matches the brand’s overall tone.

Customer Testimonials

When we’re interested in buying something online, one of the first things we all do is go and check the reviews. This is because there’s nothing more trustworthy than hearing or reading what another fellow human has to say about it. 

So, customer testimonials and reviews in any form help you build trust, and pair really well with email outreach strategies across all niches. But testimonial videos are particularly effective because they feature real people with real emotions. Sharing their personal experiences and impressions about your product or service.   

If you want to develop a testimonial video – and we really encourage you to do so – there are a couple of important things that you should take into account first:

  • Testimonials need to feel natural and authentic. People can really tell when someone’s faking an opinion, especially on camera. So, it’s always better not to try to stage it!  
  • You will probably plan ahead and write some important questions you want to ask. That’s fine, but try to make it as conversational as you can.  
  • Ensure that your interviewees clearly address how your product or service helped them solve their specific problems and improved their lives.

Check out how all these elements we’ve just mentioned play together in the following testimonial video. The person interviewed takes the time to elaborate his answer without sounding robotic or fake.

How-To Videos

Truly helpful content is another way to form a strong connection with your target audience and build trust in your brand. 

In its more basic form, a how-to video quickly teaches something related to your product or brand by answering a specific question and providing immediate value. For example, how to prepare a mocha cappuccino, how to use Instagram Stories for businesses, or how to cut your own hair! 

Because they are very instructional and easy to follow, people love watching them when they need to solve a problem or learn something new. For businesses, developing this kind of content is a great opportunity to position them as an authority and source of useful (and sometimes fun) information. 

As a side benefit, how-to videos are not only helpful for converting potential customers but also for existing ones, as they can use these videos to learn to handle your product correctly or how to get the most out of them.

This type of video can take on many forms, such as DIY, training videos, or tutorials. Check out this screencast how-to video created by Asana:

Bonus Round: More Videos to Build Trust and Delight Your Customers

Some video styles help boost consumer trust indirectly by strengthening the customer-brand relationship. Let’s take a look at some of the best:

Behind the Scenes Videos

These can be included in the “company culture videos” category, but they are so powerful that they deserve a special mention on our list.

Audiences really like taking a look behind the curtains to discover how everything’s done inside a brand. It makes them feel special and included because you are opening your brand’s door, inviting them to be a part of your world. 

Since this type of content is (or should be) transparent, it works particularly well on social media – a place that thrives on genuine interactions between brands and customers. By sharing behind-the-scenes videos and other types of BTS content, a company can look approachable and develop a more personal bond with its audience. 

The thing is, not every behind-the-scenes moment is worth sharing. The video should send a consistent message about your brand and revolve around a single topic, such as a company event, a new project, or even the office’s pets if that speaks to your core values!

Take a look at this tour inside Facebook’s engineering office in London and see how they’ve managed to convey their company values throughout the piece. 

Live Videos

Ever since their recent addition to the video marketing world, live videos have become one of eCommerce companies’ favorite video styles

These videos have proven their power to captivate audiences, amassing excellent results in terms of online engagement. They allow companies to interact directly with their customers and establish a strong relationship with them.

If you think about it, it’s no wonder that live videos succeed at fostering trust in a brand. There’s something truly remarkable about a company that dares to speak directly to their audience, addressing their questions and feedback in real-time.

Why does that matter? Because live videos are not so much about the company and its products as about its audience. 

So remember: to create truly great live streaming, you need to pay special attention to your viewers. Welcome them to the streaming by name, allow them to leave comments – deactivating that feature may leave a poor impression about your brand – and answer their questions.

A final piece of advice: keep in mind live videos need to be well-promoted before time. Otherwise, don’t be surprised if hardly any viewer shows up to the streaming!

Customer Appreciation Videos

Customer appreciation videos are a great marketing resource that brands can use to nurture their bonds with existing customers. 

As you may know, one of the biggest challenges business owners have to face is trying to turn a one-time purchase into a loyal customer. 

With these videos, you can go above and beyond, keep in touch with them, and create a memorable customer experience. Plus, this will help you to extend your reach organically because your happy and loyal customers will spread the word about your brand.

One of the most common ways to connect with your customers and show them appreciation is on special occasions. For example, sending a thank you video when they make a purchase or greeting them on their birthdays or holidays. 

Take, for example, this Lyft ‘thank you’ video honoring one of the company’s drivers: 

Summing Up

An eCommerce company – or any type of company really, can’t exist without its loyal customers. But for that to happen, you first need to create a relationship with each of them. One based on trust and credibility. 

As we’ve just learned, video can be a really powerful tool for building a bridge that connects you with your prospects and nurtures consumer trust. Depending on your industry and specific business needs, there are many options for you to choose from: explainer videos, customer testimonials, behind the scenes, product videos, company stories, how-to videos, live streamings, you name it!

However, regardless of what type of video you end up choosing, remember this: There’s only one way to achieve that kind of trust bond with your prospects. And that is, showing that you care about their problems and that you’re more than committed to solving them. 

In the end, it’s all about that!

Categories: Others Tags:

Chromium spelling and grammar features

June 29th, 2021 No comments

Delan Azabani digs into the (hopefully) coming soon ::spelling-error and ::grammar-error pseudo selectors in CSS. Design control is always nice. Hey, if we can style scrollbars and style selected text, why not this?

The squiggly lines that indicate possible spelling or grammar errors have been a staple of word processing on computers for decades. But on the web, these indicators are powered by the browser, which doesn’t always have the information needed to place and render them most appropriately. For example, authors might want to provide their own grammar checker (placement), or tweak colors to improve contrast (rendering).

To address this, the CSS pseudo and text decoration specs have defined new pseudo-elements ::spelling-error and ::grammar-error, allowing authors to style those indicators, and new text-decoration-line values spelling-error and grammar-error, allowing authors to mark up their text with the same kind of decorations as native indicators.

This is a unique post too, as Delan is literally the person implementing the feature in the browser. So there is all sorts of deep-in-the-weeds stuff about how complex all this is and what all the considerations are. Kinda like, ya know, web development. Love to see this. I’ve long felt that it’s weird there is seemingly such little communication between browser engineers and website authors, despite the latter being a literal consumer of the former’s work.

Direct Link to ArticlePermalink


The post Chromium spelling and grammar features appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Categories: Designing, Others Tags:

Working around the viewport-based fluid typography bug in Safari

June 28th, 2021 No comments

Sara digs into a bug I happened to have mentioned back in 2012 where fluid type didn’t resize when the browser window resized. Back then, it affected Chrome 20 and Safari 6, but the bug still persists today in Safari when a calc() involves viewport units.

Sara credits Martin Auswöger for a super weird and clever trick using -webkit-marquee-increment: 0vw; (here’s the documentation) to force Safari into the correct behavior. I’ll make a screencast just to document it:

I randomly happened to have Safari Technology Preview open, which at the moment is Safari 15, and I see the bug is fixed. So I wouldn’t rush out the door to implement this.

Direct Link to ArticlePermalink


The post Working around the viewport-based fluid typography bug in Safari appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Categories: Designing, Others Tags:

Positioning Overlay Content with CSS Grid

June 28th, 2021 No comments

Not news to any web developer in 2021: CSS Grid is an incredibly powerful tool for creating complex, distinct two-dimensional modern web layouts.

Recently, I have been experimenting with CSS Grid and alignment properties to create component layouts that contain multiple overlapping elements. These layouts could be styled using absolute positioning and a mix of offset values (top, right, bottom, left), negative margins, and transforms. But, with CSS Grid, positioning overlay elements can be built using more logical, readable properties and values. The following are a few examples of where these grid properties come in handy.

It will help to read up on grid-template-areas and grid-area properties if you’re not yet familiar with them.

Expanding images inside limited dimensions

CodePen Embed Fallback

In the demo, there is a checkbox that toggles the overflow visibility so that we can see where the image dimensions expand beyond the container on larger viewport widths.

Here’s a common hero section with a headline overlapping an image. Although the image is capped with a max-width, it scales up to be quite tall on desktop. Because of this, the content strategy team has requested that some of the pertinent page content below the hero remain visible in the viewport as much as possible. Combining this layout technique and a fluid container max-height using the CSS clamp() function, we can develop something that adjusts based on the available viewport space while anchoring the hero image to the center of the container.

CSS clamp(), along with the min() and max() comparison functions, are well-supported in all modern browsers. Haven’t used them? Ahmad Shadeed conducts a fantastic deep dive in this article.

Open this Pen and resize the viewport width. Based on the image dimensions, the container height expands until it hits a maximum height. Notice that the image continues to grow while remaining centered in the container. Resize the viewport height and the container will flex between its max-height’s lower and upper bound values defined in the clamp() function.

Prior to using grid for the layout styles, I might have tried absolute positioning on the image and title, used an aspect ratio padding trick to create a responsive height, and object-fit to retain the ratio of the image. Something like this could get it there:

.container {
  position: relative;
  max-height: clamp(400px, 50vh, 600px);
}

.container::before {
  content: '';
  display: block;
  padding-top: 52.25%;
}

.container > * {
  max-width: 1000px;
}

.container .image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

Maybe it’s possible to whittle the code down some more, but there’s still a good chunk of styling needed. Managing the same responsive layout with CSS Grid will simplify these layout style rules while making the code more readable. Check it out in the following iteration:

.container {
  display: grid;
  grid-template: "container";
  place-items: center;
  place-content: center;
  overflow: hidden;
  max-height: clamp(450px, 50vh, 600px);
}

.container > * {
  grid-area: container;
  max-width: 1000px;
}

place-content: center instructs the image to continue growing out from the middle of the container. Remove this line and see that, while the image is still vertically centered via place-items, once the max-height is reached, the image will stick to the top of the container block and go on scaling beyond its bottom. Set place-content: end center and you’ll see the image spill over the top of the container.

This behavior may seem conceptually similar to applying object-fit: cover on an image as a styling method for preserving its intrinsic ratio while resizing to fill its content-box dimensions (it was utilized in the absolute position iteration). However, in this grid context, the image element governs the height of its parent and, once the parent’s max-height is reached, the image continues to expand, maintaining its ratio, and remains completely visible if the parent overflow is shown. object-fit could even be used with the aspect-ratio property here to create a consistent aspect ratio pattern for the hero image:

.container .image {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

The overlay grid-area

Moving on to the container’s direct children, grid-area arranges each of them so that they overlap the same space. In this example, grid-template-areas with the named grid area makes the code a little more readable and works well as a pattern for other overlay-style layouts within a component library. That being said, it is possible to get this same result by removing the template rule and, instead of grid-area: container, using integers:

.container > * {
  grid-area: 1 / 1;
}

This is shorthand for grid-row-start, grid-column-start, grid-row-end, and grid-column-end. Since the siblings in this demo all share the same single row/column area, only the start lines need to be set for the desired result.

Setting place-self to place itself

Another common overlay pattern can be seen on image carousels. Interactive elements are often placed on top of the carousel viewport. I’ve extended the first demo and replaced the static hero image with a carousel.

CodePen Embed Fallback

Same story as before: This layout could fall back on absolute positioning and use integer values in a handful of properties to push and pull elements around their parent container. Instead, we’ll reuse the grid layout rulesets from the previous demo. Once applied, it appears as you might expect: all of the child elements are centered inside the container, overlapping one another.

With place-items: center declared on the container, all of its direct children will overlap one another.

The next step is to set alignment values on individual elements. The place-self property—shorthand for align-self and justify-self—provides granular control over the position of a single item inside the container. Here are the layout styles altogether:

.container {
  display: grid;
  grid-template:"container";
  place-items: center;
  place-content: center;
  overflow: hidden;
  max-height: clamp(450px, 50vh, 600px);
}

.container > * {
  grid-area: container;
  max-width: 1000px;
}

.title {
  place-self: start center;
}

.carousel-control.prev {
  place-self: center left;
}

.carousel-control.next {
  place-self: center right;
}

.carousel-dots {
  place-self: end center;
}

There’s just one small problem: The title and carousel dot indicators get pulled out into the overflow when the image exceeds the container dimensions.

To properly contain these elements within the parent, a grid-template-row value needs to be 100% of the container, set here as one fractional unit.

.container {
  grid-template-areas: "container";
  grid-template-rows: 1fr;
}

For this demo, I leaned into the the grid-template shorthand (which we will see again later in this article).

.container {
  grid-template: "container" 1fr;
}

After providing that little update, the overlay elements stay within the parent container, even when the carousel images spread beyond the carousel’s borders.

Alignment and named grid-template-areas

Let’s use the previous overlay layout methods for one more example. In this demo, each box contains elements positioned in different areas on top of an image.

CodePen Embed Fallback

For the first iteration, a named template area is declared to overlay the children on the parent element space, similar to the previous demos:

.box {
  display: grid;
  grid-template-areas: "box";
}

.box > *,
.box::before {
  grid-area: box;
}

The image and semi-transparent overlay now cover the box area, but these style rules also stretch the other items over the entire space. This seems like the right time for place-self to pepper these elements with some alignment magic!

.tag {
  place-self: start;
}

.title {
  place-self: center;
}

.tagline {
  place-self: end start;
}

.actions {
  place-self: end;
}

That‘s looking great! Every element is positioned in their defined places over the image as intended. Well, almost. There’s a bit of nuance to the bottom area where the tagline and action buttons reside. Hover over an image to reveal the tagline. This might look fine with a short string of text on a desktop screen, but if the tagline becomes longer (or the boxes in the viewport smaller), it will eventually extend behind the action buttons.

A two by two grid of images with text overlaid on top, as well as a tag label in the top right corner and, tagline in the bottom left corner and actions to like and share in the bottom right corner of each one.
Note how the tagline in the first box on the second row overlaps the action buttons.

To clean this up, the grid-template-areas use named areas for the tagline and actions. The grid-template-columns rule is introduced so that the actions container only scales to accommodate the size of its buttons while the tagline fills in the rest of the inline area using the 1fr value.

.box {
  display: grid;
  grid-template-areas: "tagline actions";
  grid-template-columns: 1fr auto;
}

This can also be combined with the grid-template shorthand. The column values are defined after a slash, like so:

.box {
  grid-template: "tagline actions" / 1fr auto;
}

The grid-area is then converted to integers now that the “box” keyword has been removed.

.box > *,
.box::before {
  grid-area: 1 / 1 / -1 / -1;
}

Everything should look the way it did before. Now for the finishing touch. The tagline and actions keywords are set as their respective element grid-area values:

.tagline {
  grid-area: tagline;
  place-self: end start;
}

.actions {
  grid-area: actions;
  place-self: end;
}

Now, when hovering over the cards in the demo, the tagline wraps to multiple lines when the text becomes too long, rather than pushing past the action buttons like it did before.

Named grid lines

Looking back at the first iteration of this code, I really liked having the default grid-area set to the box keyword. There’s a way to get that back.

I’m going add some named grid lines to the template. In the grid-template rule below, the first line defines the named template areas, which also represents the row. After the slash are the explicit column sizes (moved to a new line for readability). The [box-start] and [box-end] custom identifiers represent the box area.

.box {
  display: grid;
  grid-template: 
    [box-start] "tagline actions" [box-end] /
    [box-start] 1fr auto [box-end];
}

.box > *,
.box::before {
  grid-area: box;
}

Passing a name with the -start and -end syntax into brackets defines an area for that name. This name, known as a custom ident, can be anything but words from the CSS spec should be avoided.

Logical placement values

One of the really interesting parts to observe in this last example is the use of logical values, like start and end, for placing elements. If the direction or writing-mode were to change, then the elements would reposition accordingly.

When the “right to left” direction is selected from the dropdown, the inline start and end positions are reversed. This layout is ready to accommodate languages, such as Arabic or Hebrew, that read from right to left without having to override any of the existing CSS.

Wrapping up

I hope you enjoyed these demos and that they provide some new ideas for your own project layouts—I’ve compiled a collection of examples you can check out over at CodePen. The amount of power packed into the CSS Grid spec is incredible. Take a minute to reflect on the days of using floats and a clearfix for primitive grid row design, then return to the present day and behold the glorious layout and display properties of today‘s CSS. To make these things work well is no easy task, so let’s applaud the members of the CSS working group. The web space continues to evolve and they continue to make it a fun place to build.

Now let’s release container queries and really get this party started.


The post Positioning Overlay Content with CSS Grid appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Categories: Designing, Others Tags: