Social

In this article, we're going to discuss the Social Element and its settings. The Social Element can be used to add social icons or images in pages created in either Cornerstone or Pro's Content Builder (can also be used in Footer and Header as well). So let's dive in!

  1. Social Setup
  2. Social Design Settings
  3. Text Setup
  4. Graphic Setup
  5. Particle Setup
  6. Customize
  7. Demo
  8. Summary

The Social element adds a social icon or image on the page which you can link to the social media of your choice.

To add the Social Element, simply search for "Social" and drag "Social" to the canvas.

Social Addition

Social Setup

The setup control group contains the option to set up the Social element initially.

Social Setup
  • Base Font Size - The font size of the Social element.
  • Width & Height - The width and height of the Social set to auto by default. Can be changed to any required value.
  • Min Width & Height - The minimum width and height the Social should be. Useful if you want your Social element always to be say 50px wide.
  • Max Width & Height - The maximum width and height of the Social at any time. Useful if you want your Social element never to exceed a specific size.
  • Background - Offers two options: Base and Interaction. Base is the background color of the Social at all times apart from on hover. Interaction is the background color of the Social on hover and when the Social is interacted with.

The Link Setup consists of necessary controls to have an anchor on the Social element. There are three kinds of anchor links possible to setup:

  • URL: Use this anchor type to link to a website or another page of the current website.
  • Email: Use this anchor type to open up the mail client of the user and set the proper email and subject.
  • Phone: Use this anchor type to add a phone number. If the device that the visitor uses has the call capability, the phone screen with the phone number already added will open up.

URL

Social Link URL

Enabling the URL mode of a link setup is done by clicking the anchor link icon. You will be presented with the URL input which you can add the URL of the website which you want to link to. The Preview input will show how it will be added in the actual HTML code. Check the New Tab checkbox if you want to have the link opened on a new browser tab. Check the nofollow checkbox if you don't want the search engines to sniff the link. The nofollow is used when we link to an external website usually.

Email

Social Link Email

Enabling the Email mode of a link setup is done by clicking the envelope icon. Add the Email Address into the Email input and the subject of the email into the Subject input. The preview input shows how the link will be added in HTML. Clicking the link with an email setup will open up the Email Client software of the visitor and will fill in the recipient Email Address and Subject of the email.

Phone

Social Link Phone

Enabling the Phone mode of a link setup is done by clicking the phone icon. Add the Phone Number into the Phone input. The preview input shows how the link will be added in HTML. Clicking the link with a phone setup will open up the phone dialer screen of the user's device if the user owns a device that has that capability.

Social Design Settings

The design settings in Social element consists of the control group to fine-tune the element design wise.

Content Flex Layout

The Content Flex Layout controls consist of:

  • Layout - Either set to Row or Column
  • Reverse Layout
  • Wrap Children
  • Horizontal
  • Vertical
Social Flex

The Content Flex Layout controls allow you to configure the flexbox settings of the Social Element. If you're not familiar with flex, this guide will help you.

Margin

Use this option to set the margin of the Social element. You can change the settings for all the sides of the Social element or modify them individually.

Social Margin

Padding

Use this option to set the padding of the Social element. You can change the settings for all the sides of the Social element or modify them individually.

Social Padding

Border

Use this option to set the border of the Social element. You can set the style, width and color of the border on all sides or each side individually.

Social Border

Border Radius

Use this option to set a border radius for the Social element. You can set the curve on all sides or set them individually.

Social Border Radius

Box Shadow

You can set a shadow over the Social element using the box-shadow control group.

Social Box Shadow
  • X-Offset - Use this option to set the X offset of the shadow in the Social element.
  • Y-Offset - Use this option to set the Y offset of the shadow in the Social element.
  • Blur - Use this option to set the intensity of the blur effect in the Social element.
  • Spread & Position - Use this option to set the spread amount of the items section shadow and decide if you want the shadow to sit inside or outside of the Social element.
  • Color - Use this option to set the color of the Social element shadow.

Text Setup

You can have text next to the icon inside the Social element by enabling the Text Setup option.

Social Text Setup
  • Enable - Use this option to enable or disable the text section of the Social element.
  • Primary Text - Use this option to add the primary text of the Social element which shows with a larger font.
  • Secondary Text - Use this option to add the secondary text of the Social element which shows with a smaller font.
  • Spacing & Order - Use this option to set the spacing between the primary and secondary text. In the standard mode, primary text is above the secondary text, but if you check the Reverse checkbox the order will be reversed, and secondary text will sit above the primary text.
  • Interaction - Use this option to set an animation while hovering over the Social element. The animation options are:
  • None
  • Slide Top
  • Slide Left
  • Slide Right
  • Slide Bottom
  • Scale Up
  • Scale Down
  • Flip X
  • Flip Y
  • Overflow - Check the Hidden checkbox if you want to hide the text if it goes beyond the limits of the Social element.

Text Margin

Use this option to set the margin of the Social element text area. You can change the settings for all the sides of the Social element or modify them individually.

Social Text Margin

Primary Text Format

You can use this control group to set the format of the primary text in the Social element.

Social Primary Text Format
  • Font Family - Use this option to set the font of the social element primary text.
  • Font Weight - Use this option to set the weight or thickness of the font. The values may differ depending on the selection of the font and if the select font supports weights or not.
  • Font Size - Use this option to set the size of the font.
  • Letter Spacing - Use this option to set the spacing between letters.
  • Line Height - Use this option to set the spacing between each line.

Primary Text Style

You can use this control group to set the style of the primary text in the Social element.

Social Primary Text Style
  • Font Style - Use this option to decide if you want to have a normal or italic style.
  • Text Align - Use this option to set the alignment of the text. Possible values are left, center, right, and justify.
  • Text Decoration - Use this option to force an underline or linethrough style.
  • Text Transform - Use this option to set the case of the text. Available options are uppercase, camel case, and lowercase.
  • Text Color - Use this option to set the color of the text.

Primary Text Shadow

The primary text shadow control group contains settings to set a text shadow for the Social element primary text.

Social Primary Text Shadow
  • X-Offset - Use this option to set the X offset of the text shadow.
  • Y-Offset - Use this option to set the Y offset of the text shadow.
  • Blur - Use this option to set the intensity of the blur effect in the text shadow.
  • Color - Use this option to set the color of the text shadow.

Secondary Text Format

You can use this control group to set the format of the secondary text in the Social element.

  • Font Family - Use this option to set the font of the Social element secondary text.
  • Font Weight - Use this option to set the weight or thickness of the font. The values may differ depending on the selection of the font and if the select font supports weights or not.
  • Font Size - Use this option to set the size of the font.
  • Letter Spacing - Use this option to set the spacing between letters.
  • Line Height - Use this option to set the spacing between each line.

Secondary Text Style

You can use this control group to set the style of the secondary text in the Social element.

  • Font Style - Use this option to decide if you want to have a normal or italic style.
  • Text Align - Use this option to set the alignment of the text. Possible values are left, center, right, and justify.
  • Text Decoration - Use this option to force an underline or linethrough style.
  • Text Transform - Use this option to set the case of the text. Available options are uppercase, camel case, and lowercase.
  • Text Color - Use this option to set the color of the text.

Secondary Text Shadow

The secondary text shadow control group contains settings to set a text shadow for the Social element secondary text.

  • X-Offset - Use this option to set the X offset of the text shadow.
  • Y-Offset - Use this option to set the Y offset of the text shadow.
  • Blur - Use this option to set the intensity of the blur effect in the text shadow.
  • Color - Use this option to set the color of the text shadow.

Graphic Setup

The graphics setup control group gives you options to enable and set up the graphic icon of the Social element.

Social Graphic Setup
  • Enable - Use this option to enable or disable the icon of the Social element.
  • Type - Use this option to decide if the Social element graphic type should be Icon, Image, or Burger. There will be different control groups depending on the graphic type selection.
  • Icon & Img Interaction - Use this option to set up an animation for the Social element graphic on mouse hover. Available options are:
  • None
  • Scale Up
  • Scale Down
  • Flip X
  • Flip Y

Graphic Margin

Use this option to set the margin of the Social element graphic. You can change the settings for all the sides of the Social element graphic or modify them individually.

Social Graphic Margin

Graphic Icon

Use this option to fine-tune the graphics icon of the Social element. This option will show if you set the graphics type of the Social element to the icon.

Social Graphic Icon
  • Font Size & Secondary - Use this option to set the base font for the graphic icon of the Social element, and check the Secondary checkbox if you want to change the icon to another one while hovering the mouse over the Social element.
  • Width & Height - Use these options to set the width and height of the Social element graphic icon.
  • Primary & Secondary - Use this option to select the primary and secondary icon of the Social element graphic. The secondary option will be available if you check the secondary checkbox in the Font Size & Secondary option.
  • Color - Use this option to set the color of the Social element icon in normal and hover mode.
  • Background - Use this option to set the background of the Social element icon in normal and hover mode.

Graphic Icon Border

Use this option to set the border of the Social element graphic icon. You can set the style, width and color of the border on all sides or each side individually.

Social Graphic Icon Border

Graphic Icon Border Radius

Use this option to set a border radius for the Social element graphic icon. You can set the curve on all sides or set them individually.

Social Graphic Icon Border Radius

Graphic Icon Box Shadow

You can set a shadow over the Social element graphic icon using the box-shadow control group.

Social Graphic Icon Box Shadow
  • X-Offset - Use this option to set the X offset of the shadow in the Social element.
  • Y-Offset - Use this option to set the Y offset of the shadow in the Social element.
  • Blur - Use this option to set the intensity of the blur effect in the Social element.
  • Spread & Position - Use this option to set the spread amount of the items section shadow and decide if you want the shadow to sit inside or outside of the Social element.
  • Color - Use this option to set the color of the Social element shadow.

Graphic Icon Text Shadow

The primary text shadow control group contains settings to set a text shadow for the Social element graphic icon.

Social Graphic Icon Text Shadow
  • X-Offset - Use this option to set the X offset of the text shadow.
  • Y-Offset - Use this option to set the Y offset of the text shadow.
  • Blur - Use this option to set the intensity of the blur effect in the text shadow.
  • Color - Use this option to set the color of the text shadow.

Graphic Image

This option will appear if you select the image as the graphic type.

Social Graphic Image
  • Max Width - Use this option to set the maximum width of the Social element graphic image.

Primary Graphic Image

The Primary Graphic Image control group is to set the image for the Social element graphic.

Social Primary Graphic Image
  • Retina & Dimensions - Retina support is enabled out the box. Click the Eye to disable the Retina support. Also supports options to set the width and height of the image.
  • Source - The image to be used. Click to select an image from the WordPress media library or upload a new one.
  • Alt Text - The alternative text for your image. Make sure to set this for screen readers!

Secondary Graphic Image

The Secondary Graphic Image control group is to set the image for the Social element graphic on hover. The control group has the same options as the Primary Graphic Image except the enable/ or disable checkbox.

Social Secondary Graphic Image

Particle Setup

Particle setup group contains the controls to the initial setup of the interaction effects. Following is the detailed information for each setting:

Social Particle Setup
  • Enable - Use this option to enable the interaction particle.
  • Location - Use this option to set the position of the particle in respect with the element that it is applied to. Available options are:
  • Center
  • Top
  • Left
  • Right
  • Bottom
  • Top Left
  • Top Right
  • Bottom Left
  • Bottom Right
  • Placement - Use this option to decide if you want to have the particles overlap with the element or limited inside the element.
  • Scale - The scale option will determine how the particle will expand or shrink in transition. The available options are:
  • None - Use this option if you do not want the particle to scale in transition.
  • Scale All - Use this option to scale the particle both vertically and horizontally in transition.
  • Scale X - Use this option to scale the particle horizontally in transition.
  • Scale Y - Use this option to scale the particle vertically in transition.
  • Delay - The delay option will determine how long will it take the transition to complete. The value of this option in seconds or milliseconds depends on the selection of the value unit.
  • Transform Starts From - Use this option to set where the transition of the particle should start. Available options are:
  • Center
  • Top
  • Left
  • Right
  • Bottom
  • Top Left
  • Top Right
  • Bottom Left
  • Bottom Right

Particle Style

Particle style group contains the controls to fine tune the interaction effects. Following is the detailed information for each setting:

Social Particle Style
  • Width & Height - Use this option to set the width and the height of the particle. The value unit can be Calc, PX, REM, EM, and %.
  • Radius - Use this option to set the radius of the particle. The same units can be used for this option values as the width/height options.
  • Color - Use this option to set the color of the particle.
  • Inline CSS - Use this option to add custom CSS which will be applied to the article. This option is for the advanced users that want an extra layer of customization which they can not find in the styling options of the particles.

Primary and Secondary Particles

The same setup and style options which we described are available for primary and secondary particles. You basically have two sets of particle options to get innovative and create stylish interactions.

Customize

The customize section consists of controls to customize the element if you are into HTML, CSS, and Javascript.

Social Customize
  • ID - Use this option to set an HTML ID for the element. The ID should be unique on the page.
  • Class - Use this option to set an HTML Class for the element. You can use the class for your custom CSS code.
  • Element CSS - Use this option to have better control over the element to access the inner tags of the element using $el as the CSS selection. Click here for more detailed information.
  • Hide During Breakpoint - Use this option to hide the element on different device sizes. Click here for more information.
  • Custom Attributes - Use this option to add a custom attributes to the wrapper HTML tag of the element. Such as data-info=123. You can use the option to inject custom information into the element to use on your customization code.
Custom Attributes

Demo

To see a live demo of the Social Element click here.

Summary

To sum up, we've discussed the Social Element. We've discussed that a Social Element is an easy tool for adding social icons or images on a page and we've learned how to change it's content and design and delved into details of the Social Element settings.

See something inaccurate? Let us know