Safira Documentation

Safira WooCommerce Responsive Theme Documentation

Safira responsive theme documentation by RoadThemes

Thank you for purchasing my theme. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!

Getting Started

WordPress Information

To install this theme you must have a working version of WordPress already installed. You should ALWAYS be running the latest version of WordPress anyway; otherwise you put your whole site at risk for potential threats in case using an outdated version of WordPress.

If you need help installing WordPress, follow the instructions in WordPress Codex.


How to install theme

Once you've downloaded the installation file on ThemeForest, extract it and locate a file called You can install the theme by using one of two installation methods:

  1. WordPress upload - This is probably the simplest way for most users. Here are the steps you need to take:
    1. Login to WordPress admin
    2. Go to Dashboard> Appearance > Themes > Add New > Upload Theme
    3. Click on "Choose File" and select
    4. Click on "Install Now"
  2. FTP upload - If you wish to install via FTP, here are the steps you need to take:
    1. Using FTP client, login to the server where your WordPress website is hosted
    2. Using FTP client, navigate to the /wp-content/themes/ directory under your WordPress website's root directory
    3. Using FTP client, upload the Theme directory to themes directory on remote server

Once installation is complete, your Theme theme will be ready to use. You should now see "safira" appears in the WordPress themes manager panel.

Note: If you don't want to lose changes after a theme update, we recommend that you install and activate a child theme.

How to install plugins

The installation of plugins will be required once after the theme activation.

***Install and Activate them. In case if automatic plugin installation fails (as a rule it is because of your server settings), you can install them manually via your Dashboard: Plugins > Add New > Upload Plugin > Browse plugins archives. Or via FTP, by uploading and extracting the plugin zip files into wp-content/plugins folder.

- You can find the zip files for plugin installation in the theme folder safira/plugins.

Watch the guide above to see in details.

***Automatic plugin installation

***Install and active plugins via Roadthemes Setup:

  • Click Roadthemes Setup

  • Dashboard >> click Install plugins

    => All plugins has already been installed and active

***Manual plugin installation

Demo Content

Import data demo

We can import content for pages, posts, menu, projects, contact form, testimonials... like our demo. To import our demo content follow the steps below:

  • Install and activate required and recommended plugins before you proceed.

  • Click Roadthemes Setup => Click on Install Demo Data => At interface Import Data Demo : Click IMPORT DEMO => The data have imported succesfully and see the demo with ACTIVATED => Successful

  • To install other demo, at interface Import Data Demo -> Click IMPORT DEMO at the demo you want. => See The data have imported succesfully -> Successful

  • To install demo which you have imported but now not "ACTIVATED", please click ACTIVATE at that demo.

Import Revolution Slider

After importing demo data, slider doesn't show. You need to create/import. We have some sample slider in the slider-sample folder in the package.

- Login to your WordPress dashboard, navigate to Slider Revolution - Modules - Manual Import

- You can drag and drop sample slider or choose Click to Choose to choose sample slider in the slider-sample folder in the package

- You can see sample slider you've imported at:

Import Widgets

- After importing demo content, if Shop page doesn't show sidebar, please import widgets.

- To create widgets for this theme quickly, we use a tool to import all widgets from exported files in "sample-data/exported_files" folder.

- Login to your WordPress dashboard, navigate to Tools - Widget Importer & Exporter

- Click on "Browse..." or "Choose File" button then select "widgets.wie", click on "Import Widgets" to finish.

- After importing widgets, if you need change widgets, go to Apperances - Widgets


1. How to update your theme

*** Manual Update via FTP

You can update your theme manually by performing the following steps:

  1. Before update, please backup your site
  2. Download the latest theme zip file from ThemeForest
  3. Extract and open safira folder
  4. Upload all files in safira folder override to: wp-content\themes\your_theme

***Important note: Please note that all changes made directly within theme files (additional PHP coding and theme modifications) will be lost upon theme update. That is why we recommend using a child theme when making changes in theme files, in order to avoid losing these changes or having to re-do them each time you update your theme.

Theme General Settings

1. Wordpress General Settings

Go to Dashboard> Settings > General

If the url is not correct, Go to Dashboard > Settings > Permalink and Click Save

2. Change site title, tagline, site icon

To change site title, tagline, site icon, you need to do like steps below:

- Go to Dashboard - Appearance - Customize - Site Identity: Change title, tagline, icon of the site.

3. Set a page as home page and posts page (blogs)

To set a page as home page and posts page (blogs):

****Example: To set Home Backpack to be your homepage:

Login Dashboard > Settings > Reading :

After that, you must go to Dashboard> Pages > All Pages > Home page (you have set above, Example: Home Organic 01, Home Organic 02, Home Organic 03 ...) and set Template as Front Page Template:

***Important note: Please note that Template Demo (Second Front Page Template, Third Front Page Template, ...) are only for our demo. If you choose Template Demo, you cannot change Theme Options and Header, Footer layouts.

4. Setting WooCommerce Pages

  • Login Dashboard > WooCommerce > Settings :

  • - Tab Products: setting Shop page.

    - Tab Advanced: setting other pages.

    - Setting Wishlist page: Go to Dashboard > YITH > Wishlist > WISHLIST PAGE OPTIONS :

Theme Options

*** Note: You have to set home page as Front Page Template , see Setting Homepage and Posts Page

You can access Theme Options from the WordPress admin panel. The settings found here are applied globally and will affect all pages of the site.


This section allows you to set up general settings for your site. We can change body background, content background and show/hide the back to top button.


This is where you can change colors for your website. We can change the primary color, sale label color, link color, text selected color and background.


Note: The menu ID may changed, so you need to update menu in Pages, Header, Footer (WPBakery Page Builder editor).

This section allows you to set up the header area. The first choice to change the header layout, header layout in mobile. Change the header text color and link color.

Sticky header:

We can turn on or off the sticky header. Change background for the sticky header, it supports transparent background color. You can change header sticky layout.


We can change mobile menu label. The sub menu background in desktop view.

Categories Menu:

We can change categories menu label. The sub categories menu background, number of items are applied for the categories menu (categories menu) in desktop view.

Social Icons:

Enter your own social links.


In this area, we can change font for text, heading, menu, price... There are some options to select for each font like font family, back up font family, font weight and style, font size, line height, color. We use Google Fonts. You can use default options or change any font like you want.

If we want to use default options, click on "Reset Section" button.

Image Slider

This section allows you to upload images and links. Click on Add Slide to add more images.

Brand Logos

This section allows you to upload brands logo and configure the options for the brands slider. Click on Add Slide to add more logos.

Inner Brand Logos:

You can show brand logo in inner pages.


This section allows you to change position of sidebars to left or right side in inner Pages (Default Page Templates). Products and Blogs sidebars are in other sections. Go to edit page/post to select custom sidebar.


This section allows you to change the layout for the shop page and change position of sidebar in shop page. We can change how the products appear in grid view or list view. We have products per page, product columns and secondary image.

Product page:

This area allows you to change options for the product page in product page.

Quick View:

This area allows you to change the text link on the quick view window.


This section allows you to change the text on header of blog page "Blog", select blog layout, change read more text, change position of sidebar in blog page.


This area allows you to change options for the testimonials carousel on home page.

Error 404 page

This section allows you to upload image, background for the error 404 page.

Less Compiler

This section allows you to turn on/off the less compiler. In the theme, we used .less files in the "less" folder to generate .css files. Turn off the compiler after you finished your website.


Header Layout

- Go to Theme Options > Header > Header Layout to select your header layout.

- Go to Theme Options > Header > Header Mobile Layout to select your header layout on Mobile.

Setting Header

- Go to WPBakery Page Builder > Templates > Header 1 (Header 2/ Header 3/ Header 4)(The header you are using) -> Edit:

***Change mobile header : In WPBakery Page Builder > Templates > Header Mobile -> Edit

Sticky Header

- Go to Theme Options > Header > Sticky Header to select your sticky header layout, enable using sticky header, change background of sticky header.

- Change logo and content of sticky header : Go to WPBakery Page Builder > Templates > Header Sticky -> Edit

Mobile Header

- Go to Theme Options > Header > Header Mobile Layout to select your header mobile layout.

- Change your logo and content of header on mobile : Go to WPBakery Page Builder > Templates > Header Mobile (The mobile header you are using) -> Edit. Remember to save when finish changing.

Config menus on Header

After installing theme, to show links on header, you need to config and save menus:

Show Language, Currency:

  • Go to Dashboard > WPBakery Page Builder > Templates > Header1 (Header 2/ Header 3/ Header 4) (the header you are using)

  • At WP Custom Menu -> Edit -> At Menu:

    To like our demo set:

    - (1): Select Menu in Header : Language

    - (2): Select Menu in Header : Currency


1. Create new menu

Following these steps to create a menu.

  1. Go to Dashboard > Appearance > Menus

  2. Click on Create a new menu -> Enter a name for your menu, and then click on Create Menu

  3. Select items from the left meta boxes and click Add to Menu

  4. On the right, feel free to drag and drop menu items to organize them

  5. When you’re done moving menu items, check a menu location at the bottom of the page

  6. Click Save Menu

2. Config locations of menus

- To config locations of menus like demo, please follow these steps:

Go to Appearance > Menus > Manage Locations and choose location for each menu:

3. Config Horizontal Menu to show columns like demo

  1. Go to Dashboard > Appearance > Menus

  2. Select Edit Menus : At Select a menu to edit : Choose Horizontal Menu (Sidebar Menu by Mega Main, Primary Menu, Sticky Menu) -> Select

  3. Select item you want to set columns. Ex, here is Shop : At Menu Structure : Set Multicolumn Submenu and Submenu Columns (Not For Standard Drops) : choose number of columns


Theme comes with WooCommerce integration, which allows you to build an online shop. For more information on installing and configuring WooCommerce, please visit this page:

In order to setup WooCommerce with our theme, please perform the following steps:

  1. Go to Plugins - Add New from the admin panel.
  2. Type WooCommerce in the search field.
  3. Locate WooCommerce - excelling eCommerce in the search results and click on Install Now
  4. Once installation is complete, click on Activate Plugin


Product Image Sizes

  • Woocommerce product image sizes: Go to Dashboard > Appearance > Customize -> WooCommerce -> Click Product Images.

    Main image width: Single product width (unit: px)

    Thumbnail width: The largest width of products (in shop and homepage layouts, not the thumbnail) (unit: px)

  • YITH Compare product sizes: Go to Dashboard - YITH - Compare

  • YITH Zoom magnifier product sizes: Go to Dashboard - YITH - Zoom magnifier

  • Important Note: After changing product sizes, you need to regenerate thumbnails. Read more:

    Products Images

    When editing a product, we can upload a featured image and thumbnail images.

    Products Wishlist

    Note: You need active plugin YITH WooCommerce Wishlist.

    Read more:

    Go to YIT Plugins=>Wishlist to change settings for the wishlist, we don't require any settings there but we recommend to change text, select social networks.

    Included Plugins


    Blog Posts

    To create a new blog post, go to Posts - Add New from the admin panel.

    1. Enter a title for your post in the text field near the top.
    2. Next, at the right side of your screen, in the section called Post Format, choose a format for your blog post.

    3. Upload an image as featured image

    Let's go over Post Format :

    • Standard - This is the default blog format. You can start adding content.
    • Image - This is same as the default format, but it uses the content-image.php to display post. You can edit file to change layout of this post type.
    • Gallery - This post type has a gallery, you can add shortcode to show a slider at Post featured content.

      You can insert shortcode carousel such as Carousel, Gallery ...

    • Video - This post type has a video player, you can add shortcode to show YouTube or Vidmeo at Post featured content.

      You can insert shortcode video such as Youtube, Vimeo ...

    • Audio - This post types has a audio player, you can add shortcode to show a player at Post featured content.

      You can insert shortcode carousel such as Audio ...

    Now it's time to categorize this post.
    1. In the section called Categories, select the categories that you wish to add this post to. Alternatively, if you'd like to create a new category, click on "+ Add New Category." A text field will unfold where you can enter a name for the category.
    2. Then click on "Add New Category".
    3. Once you've checked the categories where you want this post to go to, click the "Publish button".
    4. Under the Categories section are the Tags sections. Here you can add tags to your post.

    Now that you've set up your blog post, let's go over the custom fields.

    Note that most of them are the same custom fields you'll find when creating standard pages.

    Post Excerpt




    Roadthemes Shortcodes

    You can find our shortcodes in tab Theme

    Roadthemes Product Sliders

    They included:
    • RT Sale Products : list products on sale
    • RT Feature Products : list products set as featured
    • RT Recent Products : list recent products
    • RT Top Rated Products : list top rated products
    • RT Best Selling Products : list best selling products
    • RT Products : list multiple products (You choose products manually)
    • RT Products categories : Display product categories loop
    • RT Products category : Show multiple products in a category

    Note: read more about Woocommerce Products:

    Some Settings for Example:

    Roadthemes Latest Posts

    Mailchimp Newsletter

    Note: You need active plugin MC4WP: Mailchimp for WordPress

    Read more:

    Go to Dashboard - MC4WP - Mailchimp and enter your API.

    - Then go to MC4WP > Form to edit Mailchimp Form and get the Form ID.

    - Go to Dashboard > WPBakery Page Builder > Templates > Footer 1


    - Create pages: you can read more:

    - When creating a new page, one of the first things you might want to do is to assign an appropriate template for it. To do this, go inside the page backend and locate the section on the right called Page Attributes. Theme comes with a variety of templates to choose from:

    • Default Template - Choose this one if you wish to create a standard page.
    • About Template - This template to use is for "About Us" page.
    • Contact Template - This template to use is for " Contact Us" page.
    • Front Page Template - This is the template to use for "Home" page.
    • Full Width - Choose this one if you wish to create a standard page with elements that go across full width of the page, no sidebar.


    Translate theme

    We will guide 2 ways to translate theme: Using Loco translate and PoEdit. We only guide translate text strings of our theme.

    Important: Before, you need check you can switch language

    • Dashboard -> Settings -> General. Changing this will set a new default language for all site visitors. Example, we're going to set the language to French at Available : Choose Français

      If you don't see your language in the dropdown list you may have to install the core language packs manually.

      You can set your site back to English now if you like. We'll be switching to French later on to check our custom translations are working, but the language setting isn't required while we add them.

    1. Translate theme with Loco translate:

    * Install Loco Translate plugin
    • Go to Dashboard > Plugins > Add New

    • Enter Loco Translate at search field

    • Locate Loco Translate in the search results and click on Install Now

    • Once installation is complete, click on Activate

    => You can read this guide to translate theme with Loco translate :

    2. Translate theme with Poedit:

    You need install Poedit software on your computer. Poedit is available on OS X and Windows and can be downloaded from here.

    Before using Poedit to translate,

    • Open Poedit and select Create new translation

    • A new window will pop up, select WordPress theme you want to translate. A Theme’s default translation template is located in wp-content\themes\your_theme\languages\safira.pot

    • Next, from a dropdown menu select a language you want to translate your theme to:

    • Highlight any string you want to translate. Or you can press Ctrl+F to find string you want to translate.

    • In the Translation section enter a desired translation of the source string

    • Once you have translated your theme, save the file with format : language-code_country-code.po("fr_FR.po" in this example) in wp-content\themes\your_theme\languages

      - Explanation: fr_FR - with "fr": language-code and "FR": country-code

      - You can find language code and country code at Get language codes , Get country codes

    Translate plugins

    The easiest way to translate the plugin is by using the Loco Translate WordPress plugin. To use loco translate plugin, please see the steps below.

    1. Install Loco Translate plugin

    • Go to Dashboard > Plugins > Add New

    • Enter Loco Translate at search field

    • Locate Loco Translate in the search results and click on Install Now

    • Once installation is complete, click on Activate

    2. Translate plugin with Loco translate

    • Go to Loco Translate > Plugins and click a plugin theme. Example: Slider Revolution

    • Click New Language

      - If after you click New Language, you see Template missing the warning. You only click Skip template

    • Choose your language and choose a location is in languages/plugins/, then click Start Translating

    • Click Source Text and enter the text you want to translate in French translation

    • Click Save button

    • Note: To update your language file when you updated the theme, you only click Sync button.

    Additional Notes

    Regenerate Thumbnails

    If you change the image size settings, you must resize all images that you have uploaded. You can use plugin Regenerate Thumbnails, read more:

    We use bootstrap in our Theme .

    Read more:

    Child theme

    If you modify a theme directly and it is updated, then your modifications may be lost. By using a child theme you will ensure that your modifications are preserved.

    Read more:

    Font Icon Pack

    Please note that Theme comes with font icon pack: Font Awesome 4.7.0, Pe icon 7 stroke, Ionicons, Linearicons Free, Material Design Iconic Font, ... See which icon fonts are used by go to folder: wp-content\themes\[theme-name]\css. You can see an overview of all the available icons in this icon packs at the following link:

    1. Font Awesome 4.7.0:
    2. Pe icon 7 stroke:
    3. Ionicons:
    4. Linearicons Free:
    5. Material Design Iconic Font:





    FAQ where to get help, support and additional information

    We hope this manual was useful for you and helped you to install, to edit the template and to resolve your issues.

    1. Why blank white page and less compiler error?

    In this theme, it uses the less compiler function to generate css files from .less file. If your server has small PHP memory, it may show the error. Please try to increase the PHP memory like this:

    1. Edit your wp-config.php file and enter something like:

    define('WP_MEMORY_LIMIT', '256M');
    WordPress memory can be different to the server – you need to set this regardless of server memory settings

    2. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 256M:

    memory_limit = 256M ; Maximum amount of memory a script may consume (256MB)

    3. If you don’t have access to PHP.ini try adding this to an .htaccess file:

    php_value memory_limit 256M

    4. If none of the above works then talk to your host.


    2. Why can't I save my menu?

    Cause of this problem is small value of the "max_input_vars" option in the configuration of your server (host). You must increase value of the "max_input_vars". You must to set a value that is twice as large of the current value.

    • Most hosts have the opportunity to change this value in the "Host Admin Area".
      If currently you have max_input_vars = 1000
      You need to set max_input_vars = 2000 (or more)

    • You can try to change this value using ".htaccess" file in root directory of the your site, adding this lines in ".htaccess".
      php_value max_input_vars 3000  
      php_value 3000
      php_value suhosin.request.max_vars 3000

    • You can try to change this value using "php.ini". Add this line if you don't find max_input_vars
      max_input_vars = 3000

    • If that does not help you, ask your host support "How can I increase the value of the max_input_vars for my site?".
    3. Why website loads slowly?

    In some cases, you uses large images on your page, server run slowly because it's a VPS. Try these methods:

    - Reduce images size

    - Install cache plugin like W3 Total Cache

    - Turn off less compiler in Theme Options=>Less compiler after finished changing colors & fonts.

    - Test website with GTMetrix and see its suggestions

    4. I see errors when importing demo content?

    If you get a white screen or some other error when trying to import our demo content, this probably happens because of the maximum execution time limit. You need to increase the maximum execution time (upload time) setting of your web server. The default maximum execution time on web servers is 30 seconds. Please increase it to 300 seconds. Possible ways of achieving this are:

    • By wp-config.php changes - set_time_limit(300);
    • In htaccess - php_value max_execution_time 300;
    • In php.ini file - max_execution_time = 300

    Ask your hosting provider to take care of this for you.

    5. How to insert shortcode?

    In this theme, we use Shortcodes Ultimate plugin to make shortcodes. You can go to this page and read the documentation to create your own shortcodes.


    Credits & sources

    I have included these sources with this theme:




    jQuery Gmap:


    jQuery Parallax:

    jQuery Shuffle:

    Font Awesome:


    Once again, thank you so much for purchasing this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.