Buttons

Foundation

This is a paragraph. Morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. This is a link.

Header color .d1

Header color .d2

Header color .d3

Header color .d4

Header color .d5

Header color .d6

Header Level 1

Header Level 2

Header Level 3

Header Level 4

Header Level 5
Header Level 6

Header class="bold" Level 1

Header class="bold" Level 2

Header class="bold" Level 3

Header class="bold" Level 4

Header class="bold" Level 5
Header class="bold" Level 6

Color class="c-yellow"

Color class="c-orange"

Color class="c-red"

Color class="c-violet"

Color class="c-violetdark"

Color class="c-bluelight"

Color class="c-bluebright"

Color class="c-blue"

Color class="c-bluedark"

Color class="bg-yellow"

Color class="bg-orange"

Color class="bg-red"

Color class="bg-violet"

Color class="bg-violetdark"

Color class="bg-bluelight"

Color class="bg-bluebright"

Color class="bg-blue"

Color class="bg-bluedark"

Span class="size-1"
Span class="size-2"
Span class="size-3"
Span class="size-4"
Span class="size-5"
Span class="size-6"

Columns

.one-sixth

.five-sixths

.one-fourth

.three-fourths

.two-thirds or .four-sixths

.one-half or .two-fourths or .three-sixths

.one-half or .two-fourths or .three-sixths

.full

Text Justification

Left Justified

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.

Center Justified

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.

Right Justified

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.

Width Justified

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.

Images and Figures

Left Aligned Image

Image PlaceholderVivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.

Center Aligned Image

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue. Image Placeholder Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.

Right Aligned Image

Image PlaceholderVivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue.

Left Aligned Figure with Caption

Image Placeholder
Redcatcher Media
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec id elit non mi porta gravida at eget metus. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec id elit non mi porta gravida at eget metus. Nulla vitae elit libero, a pharetra augue. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec id elit non mi porta gravida at eget metus. Aenean eu leo quam.

Quotes and Citations

Block Quotes

I can see how it might be possible for a man to look down upon the earth and be an atheist, but I cannot conceive how a man could look up into the heavens and say there is no God.Honest Abe

Pull Quotes

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Donec ullamcorper nulla non metus auctor fringilla. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit tempus porttitor. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

Donec ullamcorper nulla non metus auctor fringilla. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit tempus porttitor. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Nulla vitae elit libero, a pharetra augue.

Inline Quotes

Use the <q> tag for inline quotes.

Citations

You can cite a reference using the <cite> tag.

List Types

Unordered List (Nested)

  • List item one
    • List item one
      • List item one
      • List item two
      • List item three
      • List item four
    • List item two
    • List item three
    • List item four
  • List item two
  • List item three
  • List item four

Ordered List

  1. List item one
    1. List item one
      1. List item one
      2. List item two
      3. List item three
      4. List item four
    2. List item two
    3. List item three
    4. List item four
  2. List item two
  3. List item three
  4. List item four

Definition List

Wordpress
WordPress is web software you can use to create a beautiful website or blog.
Sublime Text
Sublime Text is a sophisticated text editor for code, markup and prose.
HiDef, Inc
Catalysts for a Better World.
Sheryle Gillihan
Ideas, insights, and inspiration from a project management wonder woman.

HTML Element Tag Tests

This is an <anchor> tag (otherwise known as a link).

Use the <strong> tag for bold text.

Use the <em> tag to emphasize(italics) text.

The <address> tag is used to represent the contact information for an article, post, or page. When marking up postal addresses the <p> tag is the appropriate element.

For more details contact: John Doe

This abbr. is an example of an <abbr> tag in the middle of a sentence.

You can write code using the <code> tag.

You can emulate keyboard text, using the <kbd> text tag.

You can mark text for deletion using the <del> tag.

Use the <s> tag to mark content that is no longer relevant or accurate.

Use the <ins> tag to mark inserted text.

Use the <pre> tag to display blocks of code:

#container {
    float: left;
    margin: 0 -240px 0 0;
    width: 100%;
  }

Use the <sub> for subscripting text like H2O.

Use the <sup> tag for superscripting text like E = MC2.

Use the <var> tag to call out a variable.

Yelp’s primary palette contains red, blue, and warm greys.

When designing for Yelp, you are not limited to these colors, but they should be prominent in any consumer facing design.

Color

Backgrounds and borders

  • $background-color #f5f5f1
  • $medium-background-color #e5e5e1
  • $border-color #ccccc8
  • $light-border-color #e5e5e1
  • $ad-border-color #ebc074
  • $highlighted-background-color #f0f3f8
    $highlighted-border-color #cbd6e7

Text

$normal-text #333

$mid-text #555

$subtle-text #999

$link-color #3b65a7

Revenue products

  • Deals

    $deal-green #2f8e2f
  • CTA

    $cta-orange #ff8001
  • Platform

    $platform-brown #d38855
  • Reservations

    $yelpy-red #c41200

Typography utilities

Occasionally, there is a need to distinguish some copy from our normal style1s. In these cases, you should use one of the following utilities.

Bullet separator

Yelp commonly groups pieces of similar information horizontally through the use of bullets between content pieces. Depending on your needs, you can put the bullet before or after the paragraph.

bullet

bullet

Embossed text

A subtle white shadow at the bottom to make a text look embossed (on gray background only).

.embossed-text-white

Embossed Text

Legal copy

Better explain what needs explainin’ or the fuzz will come for you.

.legal-copy

You must agree to our Terms and Services

Subtle text

Use sparingly.

.subtle-text

Subtle text

Time stamp

Did something happen at a specific time? Tell people when with this style1.

.time-stamp

2 hours ago

Badges

Badges or tags that you can append inline with text.

.ybadge

Bruce Lee

.ybadge .ybadge-large

King Kong

.ybadge .ybadge-notification

300
  • HR with text

    Generally used in the context of login or sharing, where you might want to use an external option, or the Yelp specific option. Use sparingly and only to differentiate obvious choices.

  • OR
  • Heading subtext

    Wrap a piece of any heading in <b> to create a sub heading.

  • New businesses San Francisco

    New businesses San Francisco

    New businesses San Francisco

  • <h3>New businesses <b>San Francisco</b></h3>
    <h2>New businesses <b>San Francisco</b></h2>
    <h1>New businesses <b>San Francisco</b></h1>
    
  • Page headers

  • New Business Openings San Francisco, CA

  • <div class="section-header">
        <h2>New Business Openings <b>San Francisco, CA</b></h2>
    </div>
    

Layout utilities

Pre-fab layouts

Use these layouts to establish the main column structure of a page. These layouts assume a full-width container. Do not nest layouts within one another. Borders are optional.

Yelp is moving towards a more unified column structure; use the right-rail type on all main pages.

type: right-rail column-alpha
type: right-rail column-beta
type: full column-alpha
type: a column-alpha (deprecated)
type: a column-beta
type: h column-alpha (deprecated)
type: h column-beta
type: j column-alpha (deprecated)
type: j column-beta
type: j column-gamma
type: n column-alpha (deprecated)
type: n column-beta
type: p column-alpha (deprecated)
type: p column-beta
type: g column-gamma
type: g column-alpha (deprecated)
type: g column-beta
type: m column-alpha (deprecated)
type: m column-beta
type: m column-gamma
type: o column-alpha (deprecated)
type: o column-beta

Positioning elements on the grid

Nest elements within the page layout with sass mixins.

type: right-rail column-alpha
@include row()
@include column(3, 8)
@include column(5, 8)
type: right-rail column-beta
  • Media block

    We use CSS Flexbox with a fallback to the classic float-based media block for old versions of Internet Explorer.

  • cras justo odio, dapibus ac facilisis in, egestas eget quam cras mattis consectetur purus sit amet fermentum.
  • <div class="media-block">
        <div class="media-avatar">
            ...
        </div>
        <div class="media-story">
            ...
        </div>
    </div>
    
  • Variations

    Add .pull-right to the .media-avatar div to move the avatar to the right of the story.

    cras justo odio, dapibus ac facilisis in, egestas eget quam cras mattis consectetur purus sit amet fermentum.

    Media block large

    When the avatar is 60x60 or larger, add .media-block-large to increase the space between the avatar and story.

    cras justo odio, dapibus ac facilisis in, egestas eget quam cras mattis consectetur purus sit amet fermentum.

    Media title

    Add a .media-title to the .media-story to distinguish the title from the rest of the story content.

    cras justo odio, dapibus ac facilisis in, egestas eget quam cras mattis consectetur purus sit amet fermentum.
  • Inline layout list

    Inline list for laying out items (within a grid column). Defaults to 2 items per "line".

    • Filler content
    • Filler content
    • Filler content
    • Filler content
    • Filler content
    • Filler content
  • <ul class="inline-layout clearfix">
        <li><div class="sample-content">Filler content</div></li>
        <li><div class="sample-content">Filler content</div></li>
        <li><div class="sample-content">Filler content</div></li>
        <li><div class="sample-content">Filler content</div></li>
        <li><div class="sample-content">Filler content</div></li>
        <li><div class="sample-content">Filler content</div></li>
    </ul>
    
  • .up-3 - 3 items per line (instead of 2). Supports up-3 through up-6.

    • Filler content
    • Filler content
    • Filler content
    • Filler content
    • Filler content
    • Filler content

Top shelf

The ultimate class in hierarchy. Used sparingly across Yelp to distinguish headliner content from the rest of the page.

Buttons

  • Basic buttons

  • Default Small
    Default
    Primary
  • $ybutton(tag_name, ybtn_type=None, size=None, content='', **tag_attributes)
  • Button group

    A button group is a series of buttons laid out next to each other, joined together to create one continuous UI. No extra markup is necessary, just a container with the modifier classes.

  • <span class="ybtn-group clearfix">
        $ybutton(...)
        $ybutton(...)
        $ybutton(...)
    </span>
    
  • .ybtn-group-full – A full width flexible ybtn-group. Used for sub-navigation on biz site only.

Revenue buttons

These buttons are only used in conjunction with their specific revenue products and colors. Add classes to large, primary buttons.

Deal button

.ybtn-deal

CTA button

.ybtn-cta

Platform button

.ybtn-platform

Reservations button

.ybtn-reservations

Giant call-out button

.ybtn-giant

Social buttons

Use these buttons for any social media actions. Add classes to large, primary buttons.

Facebook share button

.facebook

Twitter share button

.twitter

Forms

  • Text inputs and textareas

    Notes on help text:
    • Inline - Only use the inline style1 to denote that a field is optional.
    • Block - Use the block style1 to give context or directions for a particular field. You can also include denote something as optional.
    • Placeholder - Use placeholder text to give an actual example of what you might write (do not include additional text, such as "ex:" or "e.g.").
  • Optional Optional. Yelper name or an email address.
  • <form class="yform">
        <label>Label name</label>
        <span class="help-inline">Optional</span>
        <input type="text" placeholder="tacos, cheap dinner, Max's">
        <label>Label name</label>
        <span class="help-block">Optional. Yelper name or an email address.</span>
        <textarea placeholder="Placeholder text"></textarea>
        <input type="text" disabled="disabled" placeholder="Disabled placeholder text">
    </form>
    
  • Checkboxes, radios, and selects

  • <form class="yform">
        <fieldset>
            <label class="radio-check"><input type="checkbox"> <span>Check please</span></label>
        </fieldset>
        <fieldset>
           <label class="radio-check"><input name="radio-example" type="radio"> <span>One Fish</span></label>
           <label class="radio-check"><input name="radio-example" type="radio"> <span>Two Fish</span></label>
        </fieldset>
        <select>
            <option value="1">Value 1</option>
            <option value="2">Value 2</option>
            <option value="3">Value 3</option>
        </select>
    </form>
    

Radio lists

Radio buttons

A list of radio inputs disguised as buttons.

Radio links

A list of radio inputs disguised as links.

  • Inline yform

  • <form class="yform yform-inline">
        <div class="yform-input-field-wrap">
            <input type="text">
        </div>
        $ybutton(...)
    </form>
    
  • Nested icon labels

  • <form class="yform">
        <div class="nested-icon-label">
            $h.ycon(...)
            <input placeholder="http://yelp.com/biz/jacobs-pickle-san-francisco" type="text">
        </div>
    </form>
    
  • Error state

  • Please provide a valid email address

  • <div class="yform">
        <input type="text" class="input-error">
        $h.ycon('form-error', group='common_sprite')
        <p class="text-error text-error-inline">Please provide a valid email address</p>
    </div>
    
  • Placeholder shim

    The placeholder attribute is not supported by ie9 or below. Use this class to display a text block above the input.

  • <form class="yform">
        <label class="placeholder-sub">Email address</label>
        <input type="text" placeholder="Email address">
    </form>
    
  • Inline form fields

    This styleguide section is visible for internal IPs only

    Experimental feature for laying out fields inline, but supporting i18n friendly labels. Fields expand to accomodate length of label. Needs a better component name.

  • <form class="yform">
        <div class="inline-form-fields">
            <div class="field">
                <label>First Name</label>
                <input type="text">
            </div>
            <div class="field field-minimal">
                <label>Label name</label>
                <input type="text">
            </div>
        </div>
    </form>
    

Lists

Ordered and unordered lists

Round bullets

.bullet-list-round

  • Uno
  • Dos
  • Tres
  • Catorce

Square bullets

.bullet-list-square

  • Uno
  • Dos
  • Tres
  • Catorce

Numeric

.numeric-list

  • Uno
  • Dos
  • Tres
  • Catorce

Alpha

.alpha-list

  • Uno
  • Dos
  • Tres
  • Catorce

yList

Standard lists for rendering feeds and lists of content with proper spacing. Often contains media blocks.

.ylist

  • Filler content
  • Filler content
  • Filler content
  • Filler content

Bordered ylist

.ylist .ylist-bordered

  • Filler content
  • Filler content
  • Filler content
  • Filler content
  • Short definition list

    Short means they typically have shorter strings, and this treatment may not be ideal for longer content.

  • Takes Reservations
    Yes
    Wheelchair Accessible
    Definitely
    Ambience
    Hipster, Romantic
  • <div class="short-def-list">
        <dl>
            <dt><span>Takes Reservations</span></dt>
            <dd>Yes</dd>
        </dl>
        <dl>
            <dt><span>Wheelchair Accessible</span></dt>
            <dd>Definitely</dd>
        </dl>
        <dl>
            <dt><span>Ambience</span></dt>
            <dd>Hipster, Romantic</dd>
        </dl>
    </div>
    
  • Dotted definition list

    Note: Dots should not appear next to items with no dd.

  • Takes Reservations
    Yes
    Wheelchair Accessible
    Definitely
    Ambience
    Hipster, Romantic
    Key to life
  • <div class="def-list-dots">
        <dl>
            <dt><span>Takes Reservations</span></dt>
            <dd>Yes</dd>
        </dl>
        <dl>
            <dt><span>Wheelchair Accessible</span></dt>
            <dd>Definitely</dd>
        </dl>
        <dl>
            <dt><span>Ambience</span></dt>
            <dd>Hipster, Romantic</dd>
        </dl>
        <dl class="no-def-item">
            <dt>Key to life</dt>
        </dl>
    </div>
    
  • Iconed list

    An iconed list is a special kind of list where the bottom border appears only under the right-aligned content, rather than the icon associated with it. (See business page’s summary box.)

    • Open now
    • Open later
  • <ul class="iconed-list">
        <li class="iconed-list-item">
            <div class="iconed-list-avatar">
                ...
            </div>
            <div class="iconed-list-story">Open now</div>
        </li>
        ...
    </ul>
    

Containers

  • Islands

    Islands are used to callout important content in the page.

  • No man is an island. But this element is.
  • <div class="island">
        No man is an island. But this element is.
    </div>
    
  • .island-light – A light weight version of the classic.

    No man is an island. But this element is.
  • .island-blue – A blue version of the classic.

    No man is an island. But this element is.
  • .island-city-scape – Use this island to prompt for more content such as add photos.

    No man is an island. But this element is.
  • Stacked islands

    • Order food
    • Buy a deal
    • Buy a gift certificate
  • <ul class="island-stack island">
        <li class="island-item">Order food</li>
        <li class="island-item">Buy a deal</li>
        <li class="island-item">Buy a gift certificate</li>
    </ul>
    
  • .island-light – A light weight version of the classic.

    • Order food
    • Buy a deal
    • Buy a gift certificate
  • Tables

  • Beast Bird Fish
    Dog Finch Salmon
    Kangaroo Crow Gefilte
  • <table class="table">
        <thead>
            <tr>
                <th>Beast</th>
                <th>Bird</th>
                <th>Fish</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Dog</td>
                <td>Finch</td>
                <td>Salmon</td>
            </tr>
            <tr>
                <td>Kangaroo</td>
                <td>Crow</td>
                <td>Gefilte</td>
            </tr>
        </tbody>
    </table>
    
  • .table-bordered

    Beast Bird Fish
    Dog Finch Salmon
    Kangaroo Crow Gefilte
  • .table-striped

    Beast Bird Fish
    Dog Finch Salmon
    Kangaroo Crow Gefilte
  • .table-simple

    Beast Bird Fish
    Dog Finch Salmon
    Kangaroo Crow Gefilte
  • .table-analytics

    Beast Bird Fish
    Dog Finch Salmon
    Kangaroo Crow Gefilte
    This row is .selected Parrot Tuna
  • .table-analytics-simple

    Beast Bird Fish
    Dog Finch Salmon
    Kangaroo Crow Gefilte

Alerts & popups

  • Alerts

    For things like application alerts, status messages, biz alerts, and announcements. Alerts are yellow by default.

    $common_templates.lib.info_alerts.draw_alert(...)

  • ×

    I have a bad feeling about this. That’s no moon, it’s a space station.

  • <div class="alert">
        <a class="alert-dismiss" href="#">&times;</a>
        <p class="alert-message">
            <b>I have a bad feeling about this.</b>
            That’s no moon, it’s a <a href="#">space station</a>.
        </p>
    </div>
    
  • .alert-info – Just lettin’ you know.

    ×

    I have a bad feeling about this. That’s no moon, it’s a space station.

  • .alert-error – Something bad happened.

    ×

    I have a bad feeling about this. That’s no moon, it’s a space station.

  • .alert-success – A successful thing happened.

    ×

    I have a bad feeling about this. That’s no moon, it’s a space station.

  • Popups

  • Share business

    Something amazing happened.

    Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.

  • Generated in javascript at yelp.ui.pop.

  • Progress bar

    Classic progress bar for reporting data.
  • 60%
  • <div class="progress-bar">
        <div class="progress-filled" style1="width: 60%;">
            60%
        </div>
    </div>
    
  • Media progress bar

    Progress bar for tracking status of a media upload. Should be displayed over media thumbnail.
  • <div class="media-progress-bar">
        <div class="media-progress-bar_fill" style1="width: 60%;"></div>
    </div>
    

Photo thumbnails

Add action links and statuses to photo box thumbnails with the .photo-box--interactive class.

Action links

Add action links to the top left of a photo box.

.photo-box_actions .photo-box_action-link

Minor actions should appear on the right.

.photo-box_actions--right

Status

Photo box statuses should appear in the lower right.

.photo-box_status

Indicate that a photo has an error associated with it with:

.photo-box--has-error

Graphical elements

Default images

Stars

render_medium()

render_large()

render_very_large()

1.0 star rating
1.0 star rating
1.0 star rating
1.5 star rating
1.5 star rating
1.5 star rating
2.0 star rating
2.0 star rating
2.0 star rating
2.5 star rating
2.5 star rating
2.5 star rating
3.0 star rating
3.0 star rating
3.0 star rating
3.5 star rating
3.5 star rating
3.5 star rating
4.0 star rating
4.0 star rating
4.0 star rating
4.5 star rating
4.5 star rating
4.5 star rating
5.0 star rating
5.0 star rating
5.0 star rating

Marketing components

  • Call us island

    $common_templates.lib.marketing.call_us_island.render_minimal_cta(...)

  • Marketing page header

    Phone number Call (123) 456-7890
  • <div class="clearfix">
        <h1 class="pull-left">Marketing page header</h1>
        <div class="island pull-right call-us-island-minimal">
            <span class="offscreen">Phone number</span>
            <span itemprop="telephone">
                $h.ycon_wrap('phone-cta', 'Call <strong>(123) 456-7890</strong>, ...)
            </span>
        </div>
    </div>
    
  • Call us CTA island

    Call to action which can contain different actions based on page and logged in state.

    $common_templates.lib.marketing.call_us_island.render_full_cta(...)

  • Create a free account or Log in Phone number Call (123) 456-7890
  • <div class="island call-us-island-full">
        $ybutton('a', 'primary', ... , 'Create a free account', ...)
        <span class="cta-text">
            or <a href="#">Log in</a>
        </span>
    
        <span class="cta-text pull-right">
            <span class="offscreen">Phone number</span>
            <span itemprop="telephone">
                $h.ycon_wrap('phone-cta', 'Call <strong>(123) 456-7890</strong>, ...)
            </span>
        </span>
    </div>
    
  • Marketing catcher text

    Used for introduction text below a heading.

  • Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

  • <div class="intro-text">
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit...</p>
    </div>
    
  • Hero image

    Hero image with an optional toggler underneath.

  • Appears on: Search results · Yelp pages · Phone
  • <div class="marketing-hero clearfix">
        <div class="img-wrap">
            <img class='marketing-hero-img' src='' alt='' id='marketing-hero-img-#'>
        </div>
        <div class="marketing-toggler pull-right">
            Appears on:
            <a href="#" class="tab" data-tab-id="marketing-hero-img-#">Search results</a>
            ...
        </div>
    </div>
    
  • Marketing block

    This uses our existing media block component but has specific requirements and content for marketing pages.

  • This is a section heading

    We love this fruit

    Egestas eget quam cras mattis consectetur purus sit amet fermentum.

    Do we really?

    Egestas eget quam cras mattis consectetur purus sit amet fermentum.

  • <div class="media-block marketing-block">
        <div class="media-avatar">
            ...
        </div>
        <div class="media-story">
            <div class="section-header">
                <h2>This is a section heading</h2>
            </div>
            <h3>We love this fruit</h3>
            <p>Egestas eget quam cras mattis consectetur purus sit amet fermentum.</p>
            <h3>Do we really?</h3>
            <p>Egestas eget quam cras mattis consectetur purus sit amet fermentum.</p>
            ...
        </div>
    </div>
    
  • Service options

  • Option 1

    Option subheader

    Some description explaining what the option is

    Badge text

    Option 2

    Option subheader

    Some description explaining what the option is

    Choose me!

    Option 3

    Option subheader

    Some description explaining what the option is

    Pick me please
    • Lorem ipsum
    • Dolor sit amet
    • Consectetur adipiscing elit
    Learn more
    • Lorem ipsum
    • Dolor sit amet
    • Consectetur adipiscing elit
    Learn more
    • Lorem ipsum
    • Dolor sit amet
    • Consectetur adipiscing elit
    Learn more
  • <div class="service-options">
        <div class="flex-container">
            ...
            <div class="service-option island flex-box">
                <div class="header">
                    <h2>Option title</h2>
                    <h3>Option subheader</h3>
                </div>
                <p>
                    Some description explaining what the option is
                </p>
    
                $ybutton('a', 'primary', ..., 'Button text', ...)
            </div>
            ...
        </div>
    </div>
    <div class="feature-lists">
        <div class="flex-container">
            ...
            <div class="feature-list-wrapper flex-box">
                <ul class="service-feature-list ylist ylist-bordered">
                    <li>$h.ycon_wrap('check', 'Lorem ipsum', ...)</li>
                </ul>
                <a class="service-learn-more-link" href="#">Learn more</a>
            </div>
            ...
        </div>
    </div>