Flash sale: Get up to 30% off themes and extensions. Ends April 26 at 3 pm UTC. Shop the sale.
  1. Documentation /
  2. Swag

Swag

Thank you for choosing Swag theme to build your Woo website.

Installation

↑ Back to top
  1. In your Dashboard go to Appearance > Themes.
  2. Click on the Add New button on top.
  3. Click Upload New button on top.
  4. In the new interface click Choose File and browse your computer to locate swag.zip file you downloaded.
  5. Click Install Now.
  6. After installation Activate the theme.

Recommended Plugins

↑ Back to top
  1. Variation Swatches: Create images and buttons variation swatches for WooCommerce product attributes..
  2. Icon Block: A simple little block that allows you to add a custom SVG icon or graphic.
  3. Contact Form 7: The plugin is recommended for creating contact forms.

Theme setup wizard

↑ Back to top

Swag comes with a setup wizard that enables you to create the demo layout with a just a few clicks.

  1. After installing the theme, in your Dashboard go to Appearance > Theme Setup.
  2. The setup wizard will ask you to install and activate necessary plugins, and import the demo content. Please be patient while WordPress imports all the content.
  3. After the setup ends, all you need to do is assign the menu’s to their respective navigation blocks.

Editing the theme’s elements

↑ Back to top

Swag is a full site editing theme, thus you can edit most elements from the front end. In your Dashboard go to Appearance > Editor and there you can select and edit any element you like, change their color, font etc. You can edit the global styles, to change the elements throughout the websites as shown in the picture below.

Specific elements can be edited by selecting the template part you want to edit, like large header, small header or footer.

Static front page

↑ Back to top

In case you want to configure the theme manually instead of importing the demo content.

  1. Create a page and assign Page (Large Header) template to it.
  2. In your Dashboard go to Settings > Reading and assign the page to display in front and another page to display the latest posts.
  3. Add blocks and patterns you like to the page.

Instagram feed in the front page

↑ Back to top

While there are many plugins that can help you display your instagram feed or a feed based in a hashtag, in our demo we have setup a hashtag based feed, powered by curator.io. You need to sign up in their website (it’s free), generate your feed, and add the embed code in a html block in any page you need it.

Custom block patterns list

↑ Back to top
  1. Main slogan: Used in the home page below the video section.
  2. Product carousel sliders: Three product carousels, featured products, new products and products on sale
  3. Features pattern: Four columns of text and icon that help display store features.
  4. Featured category block: A pattern that can display featured content using text in the left and an image in the right.
  5. Team Members: Display your team members in four columns, including a description and their social media accounts.

Here’s how you can add a block pattern to a page.

  1. When editing a page or post click the ‘+’ button to add a new block.
  2. Click the Browse All button.
  3. Click the Patterns tab in the blocks section.
  4. From the dropdown select the patterns that belong to Swag.
  5. Select any of the available patterns and it will be added to your page.

Product carousel sliders

↑ Back to top

We have included the ability to include up to three product carousels in any page of your website. Each carousel is a block pattern. Add them to any page or post as explained above.You can define the number of products displayed in each carousel by selecting the amount of rows in each blocks settings. You can replace the block grid of a carousel with another one, say Product Grid from a category to have the carousel display products from only one category.

Page templates

↑ Back to top

Swag comes with different page templates to help you achieve a different look for any page.

  1. Default: This template creates a page with a simple header in the top.
  2. Page (Large Header): This template uses a large header that has a background image, text and call to action button. You can replace the image or with another one, or a video instead. Used only for the front page of the website.
  3. Blank: As the name says, this is a blank canvas that you can use any of of the template parts and patterns to achieve a different look.

Pre-designed pages

↑ Back to top

If you import the demo content there will be three pre-designed pages included. HomeAbout us and Contact.

Template parts

↑ Back to top

Template parts are pre-designed sections that are included in page templates to organize and add structure to the theme to avoid having to repeat code. To edit a template part in your Dashboard go to Appearance > Editor > Templates. Note that when you edit a template part it will change in all sections of your website. You can always reset customizations if you make a mistake.

Animate blocks

↑ Back to top

Swag enables you to animate any block using css3 animations when entering the screen, by adding classes to that block.In the Advanced section of any block settings add the ‘animated‘ class. This class will tell the theme this block will animate. You need to combine this with another class to define which animation you will be using like ‘fadeIn‘. Available animations are:

Fade effect

fadeIn fadeInRight fadeInLeft fadeInUp fadeInDown fadeInUpShort fadeInDownShort fadeInRightShort fadeInLeftShort

Flip & Rotate

flip flipInX flipInY rotateIn rotateInUpLeft rotateInUpRight rotateInDownLeft rotateDownUpRight rollIn lightSpeedInRight lightSpeedInLeft

Bounce

bounceIn bounceInRight bounceInLeft bounceInUp bounceInDown

Attention seekers

growIn shake shakeUp wiggle swing tada wobble pulse

Delay animationsAdd the following classes to delay any animation, measured in milliseconds.

delay-250 delay-500 delay-750 delay-1000 delay-1250 delay-1500 delay-1750 delay-2000 delay-2250 delay-2500 delay-2750 delay-3000 delay-3250 delay-3500

Animation speedUse below classes to slow down animation

slow slower slowest

To animate a page separator like in our demo, in block settings select the separator to display as a wide line and the classes ‘animated widthOut’ to it.