Documentation for the Top+ Premium theme for Drupal 8

Top+
Premium Drupal 8 theme Documentation

A modern Drupal 8 mega-theme with custom modules and 200+ theme settings for presenting content in the most effective manner.

Contents

1. Introduction

1.1. What’s in the Pack

1.2. Credits

2. Installation

2.1.1. Install as a full Drupal distribution (with all features as seen in demo)

2.1.2. Install as a simple theme over existing Drupal site

2.1.3. Install over existing Drupal installation, with the special features

3. Basic Theme Overview

3.1. Theme regions

3.2. Style Guide

3.2.1. Typography

3.2.2. Shortcodes

3.3. Theme Settings

3.3.1. Basic Settings

3.3.1.1. Change the Breadcrumb separator

3.3.1.3. Scroll to top

3.3.2. Bootstrap

3.3.3. Look ’n’ Feel

3.3.4. Region Settings

3.3.5. Front page background

3.3.6. Slideshow settings

3.3.7. Article Features

3.3.8. Theme Layout

3.3.9. Font Settings

3.3.10. In Page Navigation

3.3.11. Isotope Filters

3.3.11. Google Maps Settings

4. Modules & Configuration

4.1. Contributed Modules Used

4.1.1. Superfish

4.1.2. Better Exposed Filters

4.1.3. Entity Reference Revisions

4.1.4. @font-your-face

4.1.5. Paragraphs

4.1.6. Video Embed Field

4.1.7. Field Group

4.2. Contributed Modules Used

4.2.1. Mt Cookie Consent

4.2.2. Mt Countdown

4.3. Automated image generation and handling

5. Content Types

5.1. Benefit

5.2. Product

5.3. Service

5.4. Showcase

5.5. Slideshow Entry

5.6. Team Member

5.7. Testimonial

6. Views

6.1. Articles

6.2. Benefits

6.3. Clients

6.4. Internal Banner

6.5. Isotope

6.6. Latest

6.7. Photo Gallery

6.8. Popular Tags

6.9. Pricing tables

6.10. Products

6.11. Product Tags

6.12. Promoted Posts

6.13. Related Nodes

6.14. Services

6.15. Showcases

6.16. Slideshow

6.17. Team members

6.18. Testimonials

6.19. Videos

7. Custom Block Types

7.1. Background Image Block

7.2. Background Video Block

7.3. Dropdowns block

7.4. Fancy Linked Images block

7.5. Fancy Tabs block

7.6. Featured Linked Text Tiles block

7.7. Google Map block

7.8. Icon features block

7.9. Main Slideshow Block

7.10. Media Tabs Block

7.11. Nodes Slideshow block

7.12. Tabs block

7.13. Video Gallery block

8. Static Blocks

9. How to

9.1. Add a new Service

9.2. Add a new Product

9.3. Add a new Showcase

9.4. Publish a post to the slideshow

9.4.1. Article, Showcase, Product or Service

9.4.2. Slideshow entry

9.5. Create new instances (clones) of existing blocks and assign them to regions

9.5.1. Remove blocks from regions

9.6. Allow blocks to be referenced through custom block type fields

9.7. Add a new tabs block (Tabs block custom block type)

9.8. Add a new Fancy tabs block (FancyTabs block custom block type)

9.9. Add a new Background Image block

9.10. Add a new Fancy Linked Images block

9.11. Add a new Google map block (Google map custom block type)

9.12. Add a new Nodes Slideshow

9.13. Add a new Featured Linked Text Tiles block

9.14. Add a new Main Slideshow block

9.15. Add a new Media Tabs block

9.16. Add a new Video Gallery block

9.17. Add a new Dropdowns block

9.18. Add a new Icon features block

9.19. Add a new Background Video Block

9.20. How to modify the Front Page Background feature

9.20.1. How to change the Front Page background image

9.20.2. How to modify the Front Page background image configuration

9.21. Use @font-your-face module to apply any font to your theme

9.21.1. How to add fonts from a premium font library

9.22. Customize the theme

10. Roadmap

Top+ 8.x-5.x.x

11. Changelog

Top+ 8.x-5.0.0


1. Introduction

You can always find the latest and most up to date version of this document in the following URL:

http://support.morethanthemes.com/customer/portal/articles/2911185

1.1. What’s in the Pack

The Top+ for Drupal 8 product pack contains the following:

1.2. Credits


2. Installation

Theme installation guidelines for Drupal 8.

There are two main ways to use Top+: (1) install as a full-featured Drupal distribution, and (2) apply as a simple Drupal theme, on top of an existing Drupal 8 core installation.

2.1.1. Install as a full Drupal distribution (with all features as seen in demo)

At the end of the installation process documented below you will be able to log in to your Drupal site as administrator. To login, once you install, go to

/user/login url

and use the following credentials:

u: admin,

p: password

To install Top+ for Drupal 8, with the demo content and the full functionality, including Content types, Slider(s), Views pages and blocks, and special layouts, please follow the steps below.

  1. Place the included “full_installation/site” folder under your Apache server path[1].
  2. Create an empty MySQL database and take note of the database name.
  3. In your newly created database, import the “full_installation/database/db_instance.sql” or the “full_installation/database/db_instance_pro.sql” file (for the pro installation) that comes with the theme. The following screen shows the steps to do this through phpMyAdmin. If your hosting environment does not come with a similar tool installed please ask your hosting provider for assistance on how to import the database file.

full-database-import.jpg

  1. Start the Drupal installation wizard by pointing your browser to the recently created folder, in your Apache server path.

full-installation-start.jpg

  1. Continue the installation by selecting the "Standard" installation profile.

full-installation-profile.jpg

If confronted with any
warnings, click to continue with installation.


  1. Enter your recently created database information. This includes the database name and credentials (username/password) you have chosen when creating it, spelled exactly as in step 3 above.

full-installation-db_settings.jpg

  1. The installation wizard will recognize that you are using an already populated database and will inform you accordingly. At the same time, the wizard should create all the necessary files your Drupal site needs in order to work properly on your server.

full-installation-installed.jpg

  1. You are done. Click on the "visit existing site" link, to visit your new site.

full-installation-go_to_site.jpg

  1. Once you are done with the above, please login to this site through the /user/login url and by using the following credentials:
  1. Navigate to /admin/reports/status and make sure that there are no errors regarding the “File system” item. In case of errors please make sure to resolve those and then clear the Drupal Cache.


        Other errors may exist and should also be taken care of.

  1. Navigate to /user/1/edit and change the email of the admin user to the one you are using.
  2. Navigate to /admin/structure/contact and change the recipients email of the contact forms so that you receive the messages in your inbox.
  3. By default, our theme distribution comes with Drupal 8 caching deactivated, ensuring a smoother experience during any technical work you will need to do post-installation.

    Either right after installation, or when you finish building your Drupal 8 site using this theme, it is recommended to activate Drupal caching and aggregation of CSS and JS files, for better performance.

    To do so, n
    avigate to /admin/config/development/performance and enable caching (default option: 15 min) as well as the “Aggregate CSS files” and “Aggregate JavaScript files” options.

[1] How to find your Apache server path: if you are deploying online, your hosting provider should be able to provide you this. If you are deploying locally, it will be where your XAMPP or MAMP installation is configured to look into (e.g.: htdocs, in the case of MAMP on Mac OS X).

2.1.2. Install as a simple theme over existing Drupal site

  1. Open the simple_theme_installation/theme folder, that came in the pack.
  2. If working on a local environment, copy the “topplus” folder. If working directly on your web environment, select the “topplus” folder in order to upload it in the next step.
  3. Paste or upload the “topplus” folder into the corresponding path themes » custom, in your existing Drupal 8 installation. If you don’t have a “custom” folder under themes, it’s strongly recommended to create one.
  4. Log in to your existing Drupal 8 installation as admin, with your credentials.
  5. Browse to the "Appearance" section of the Drupal admin environment.
  6. Find the theme and activate it by clicking “install”.
  7. Click “Set as default” to make it your default theme.
  8. Browse to the homepage, then hit "refresh" in your browser. You should now see your site styled using Top+.

2.1.3. Install over existing Drupal installation, with the special features

Important notice: It is strongly recommended that you execute the instructions below on a cloned instance of your production site. This is the safest way to handle this, ensuring that your production site remains unaffected if you make any mistake in any of the steps below.

  1. Start by creating a full installation of your purchased theme product, with its content types, Views blocks and pages and special features, as advised in section 2.1.1. This will be used for reference and exporting features only and can therefore be installed on your test dev environment.
  2. Copy the simple Drupal theme from your full product installation above or from the product folder you downloaded, into the clone of your existing Drupal installation, then activate the theme, as described in section 2.1.2. Your existing Drupal installation should be now re-styled according to the looks of your purchased product. However, the parts of the purchased theme product that you are still not seeing are:
  1. Special Content Types
  2. Special Views and Blocks
  3. Special Menus
  4. Other Special features
  1. Install the theme required libraries. Just copy the  content of the simple_theme_installation/libraries folder of the theme pack into the libraries folder of your installation. If your installation does not have a libraries folder please create it.
  2. Install the theme required modules. Just copy the content of simple_theme_installation/modules folder of the theme pack into the modules folder of your installation. Finally enable those modules through the Drupal administration interface.
  3. Adjust Image styles through Home » Administration » Configuration » Media » Image Styles. Use the full installation of the product mentioned in step 1 for reference:

    Home » Administration » Configuration » Media » Image Styles
  4. Reproduce all custom Content Types by using the full installation as a reference to guide you. Make sure you are using the same machine names for the content type and the fields of the content type.

    Use the full installation of the product mentioned in step 1 for reference.

    Finally make sure that you have also reproduced the display settings in the
    “Manage form display” and “Manage display” tabs as well as for the teaser and default display.
  5. Import the views that are included in the simple_theme_installation/configuration/views folder of the theme pack.

    Navigate to

    Home » Administration » Configuration » Development » Synchronize » Import

    and select the single item tab. Make sure you select the “View” configuration type, paste the content of each .yml file into the text area and save the configuration. You will have to do this for each file in the
    simple_theme_installation/configuration/views folder of the theme pack.


  6. Reproduce all custom block types by using the full installation as a reference to guide you. Navigate to Home » Administration » Structure » Block layout » Custom block library and select the Types tab.

    Make sure you are using the same machine names for the custom block type as well as the corresponding fields. This procedure is similar to step 6 above.

    Finally make sure that you have also reproduced the display settings in the “Manage form display” and “Manage display” tabs.
  7. Configure your existing blocks to make use of the new regions the premium theme provides. You can use multiple instances of the various blocks, as well.


3. Basic Theme Overview

3.1. Theme regions

Top+ incorporates the 33 regions shown below, to help you take advantage of the flexibility Drupal regions provide.

3.2. Style Guide

3.2.1. Typography

Top+ includes a complete Style Guide with rules and styling for typography at the following URL in your installation:

/style-guide 

3.2.2. Shortcodes

To help you get up to speed with developing your Drupal site, Top+ also includes a detailed Shortcodes page, with the most common UI elements you would need, themed, at the following URL in your installation:

/shortcodes

3.3. Theme Settings

Top+ comes with a great collection of theme settings, so that you can customize the looks, layout, interaction and functionality of your site through the Drupal admin user interface, without having to mess with the code (although that is always perfectly possible).

The theme comes with 12 main groups of theme settings:

All theme settings are available under the Appearance section, in the Drupal admin environment:

Home »  Administration »  Appearance »  Appearance settings

Important notice:

With all theme settings, remember to hit “Save configuration” when you change something, to see your edits reflected on the site running Top+.


3.3.1. Basic Settings

A selection of theme settings affecting the site globally.

The theme settings are explained in detail below, point-by-point.

3.3.1.1. Change the Breadcrumb separator

Change the Font Awesome character that will be the breadcrumb separator in your site. The default is “fa-angle-right”, but you can also use any Font Awesome icon that better suits your needs.

3.3.1.3. Scroll to top

Enable or Disable the display of the Scroll to top button.

Change the FA icon that is displayed over the button. The default text is “fa-angle-double-up”.

3.3.2. Bootstrap

Choose how to load the Bootstrap library. If you select "Local" make sure that you download and place Bootstrap folder into the root theme folder (topplus/bootstrap).

3.3.3. Look ’n’ Feel

Select the Color Scheme you wish to use and disable or enable the full-page border.

Top+ comes in multiple built-in curated color schemes to help you style your site according to your preferences.

Important notice:

All color schemes are developed in CSS3 code, without proprietary graphics or software and are therefore also endlessly customizable as detailed in the section “Customize the theme”, further below.

3.3.4. Region Settings

Enables you to choose

for your Top+ running site, as shown below, so as to enhance the user experience for your visitors.  

With regard to animations in particular, you can choose among a number of built-in animation movements.

If you want to completely remove all animations, you can easily do so, by unchecking the “Animations” option at the top of this tab, then hitting “Save configuration”

3.3.5. Front page background

The Front page of Top+ can display a background image behind all the Header and Banner regions.

The theme settings in this category allow you to enable/disable this feature and also set the opacity of the colored overlay.

3.3.6. Slideshow settings

Top+ comes with the following well-known, widely used sliders:

(credits and links are provided in the introductory section)

Depending on your preferences, you can choose to use either of the two sliders, or to have one on certain pages and the other on others, as explained in the “Views Blocks” Section. Here, in the Slideshow tabs from the theme settings you can adjust the settings of the slider you use.

The settings you can choose among include

3.3.7. Article Features

Top+ incorporates some of the most popular accessibility features for your visitors, like

Not only these give your Drupal 8 site a sense of professionalism, but they are also essential for your visitors that are reading your content.

3.3.8. Theme Layout

This specific theme settings allows you to apply the normal (Wide) layout of the theme or change it to boxed.

3.3.9. Font Settings

Top+ comes with multiple built-in curated font options, to help you style your site according to your preferences. Based on design quality and the number of characters and language coverage, we have selected several dozens of the most high quality freely available fonts, so you don’t have to lose time experimenting yourselves.  

Advice:

It’s generally considered a good typographic advice to use as few fonts as possible and try to provide a visual hierarchy by using HTML tags, spacing and proper line-height, which are all built into the theme.

Because sometimes, though, you may want to use more than one fonts, the typographic structure and options of the theme are broken into four main categories, so you can customize different fonts for each:

Important notice:

All typographic selections are developed in CSS3 code, without commercial fonts or software and are therefore also endlessly customizable as detailed in the section “Customize the theme”, further below.

If the font you wish to use is not available through these theme setting, you could use the included @font-your-face module to import and use any font you wish. You can find out more on how to use this at the corresponding how to topic below (9.21).

3.3.10. In Page Navigation

Top+ allows you to link menu items to specific regions of the page. You can see an example of this feature in the following page:

/landing-page

The theme setting options of this tab allows you to set the ID attributes of each region so that you can link to this section through the menu.

You can also set the offset for the scroll to feature. This should be set to be equal to the height of the fixed header.

3.3.11. Isotope Filters

Top+ comes with the Isotope views as mentioned in the corresponding section below (6.5).

You can change the layout of these views (as initialized in the js implementation) as well as the text for the filter option that displays all the items in the view.

3.3.11. Google Maps Settings

As of June 22 Google has changed their policy regarding the standard plan of Google Maps API. Keyless access to the API is no longer supported.

We have therefore implemented a theme setting to add your own Google Maps API key in order to make authenticated calls and display the Google Map.

Please generate a browser API Key through the documented procedure and input it into the “Google Maps API Key” field. Our implementation will include this while requesting information from the Google Maps API.

The key that comes bundled with the theme is only valid for use in localhost so you will have to create your own once you move to your production server.


4. Modules & Configuration

Overview of the Drupal modules used in Top+:

4.1. Contributed Modules Used

4.1.1. Superfish

Top+ makes use of the Superfish module and the corresponding library to display multi-level menus. To use, simply add the corresponding superfish block to the region you want and Top+ will style the menu accordingly.

The Superfish module also implements a mobile menu that is configured to activate in narrow screen widths (configured through the block settings).

4.1.2. Better Exposed Filters

This module is used to provide more UX friendly options to use as filters in views. These options are available through the corresponding options in these views

4.1.3. Entity Reference Revisions

This module is a requirement of the “Paragraphs” module.

4.1.4. @font-your-face

This module allows you to import external fonts hosted on Google Fonts, Font Squirrel, Adobe etc. It is not used in the default installation of Top+ however we have prepared the configuration required for you to apply your fonts to specific Top+ elements.

4.1.5. Paragraphs

This module allows you to define collections of fields to be used within other entities. For example the Fancy tabs custom block is powered by a paragraph field that contains a Title field, a Subtitle field as well as the referenced block.

4.1.6. Video Embed Field

This module provides a field that is used in different content types that provides video (Youtube & Vimeo) support.

4.1.7. Field Group

This module is used to group similar fields together in order to provide better Content editing experience.

4.2. Contributed Modules Used

4.2.1. Mt Cookie Consent

This is a custom module by MoreThanThemes that provides features of the Cookie Consent Javascript library - https://cookieconsent.insites.com/

You can configure the content and the messages of this features through:

admin/config/mt_cookieconsent

4.2.2. Mt Countdown[a][b][c]

This is a custom module by MoreThanThemes that provides features of the “The Final Countdown” jQuery library: http://hilios.github.io/jQuery.countdown/

You can configure the content and the messages of this features through:

admin/config/mt_countdown

4.3. Automated image generation and handling

Under the hood, Top+ comes with pre-configured image presets ready to be used.

All the content types make use of this feature and produce all necessary thumbnails and other derived images automatically.  

To make use of the automated image generation and handling, simply upload your images and Top+ will use those for the Front Page and any other place where a derived image is needed.


5. Content Types

Top+ comes with seven, special built-in Content types:

Of course, Top+ also supports the default Drupal content types: Article, Basic page etc.

5.1. Benefit

A "Benefit" post is ideal for creating and displaying Benefits of your offerings to clients. A Benefit can be displayed in the front-page slideshow. It also comes with the capability of attaching an image which is automatically adjusted to fit into the website layout. What’s particularly cool about a Benefit post, is that it provides the ability to attach a series of images, thumbnails of which are automatically created and adjusted to fit into the website layout. Lastly, a Benefit post enables free tagging (just like labels), helping you make the most from the built-in taxonomy system.

5.2. Product

A Product post is ideal for creating and showcasing your products. It comes with the option to be featured at the front page slide show. It also provides the ability to attach one main product image, which is automatically adjusted to fit into the website layout. Further to that, what’s a particularly great time-saver about a Product post, is that it provides the ability to attach a series of images, thumbnails of which are automatically created and adjusted to fit into the website layout, wherever needed.

5.3. Service

A Service post is ideal for creating and displaying services. It has the option to be displayed into front page slide show. It provides the ability to attach an image which is automatically adjusted to fit into the website’s layout. What’s particularly cool about a Service post, is that it provides the ability to attach a series of images, thumbnails of which are automatically created and adjusted to fit into the website layout. Service post enables free tagging (just like labels), taking the bests from the taxonomy system.

5.4. Showcase

A Showcase post is ideal for creating and displaying showcases. It has the option to be displayed into front page slide show. It provides the ability to attach an image which is automatically adjusted to fit into the website’s layout. What’s particularly cool about a Showcase post, is that it provides the ability to attach a series of images, thumbnails of which are automatically created and adjusted to fit into the website layout. Showcase post enables free tagging (just like labels), taking the bests from the taxonomy system.

5.5. Slideshow Entry

A Slideshow entry is ideal for creating announcements and/or commercial banners, as well as other front-page messages for your website. Use it to promote any page of your website or URL into the front page slideshow. The slideshow entry can carry a title, a teaser and an image linking to an internal path or external link.

5.6. Team Member

The Team member post is ideal for creating a page for each of your team members. Along with a description of your team member’s position, responsibilities and qualifications, it provides the ability to attach an image, which is automatically adjusted to fit into the website’s layout. And what’s great about Team member posts, is that they are all collected under the “About us” page.

5.7. Testimonial

The Testimonial entry is perfect to showcase the words of love from your users and customers. Use it to easily publish testimonials on your site. A special View Block and a View Page are already configured to show them off perfectly.


6. Views

One of the most powerful features of Drupal is the Views module, which in Drupal 8 is anymore in core.

Further to the default Views blocks, like

Top+ comes with many Views implementations, including pages and blocks, that enable you to automate the collection and presentation of information throughout the site. These Views are listed under

/admin/structure/views

Every one of those is also editable via the front-end interface, when logged in as Drupal admin, by clicking the corresponding action link, when hovering, as shown below:

6.1. Articles

The base articles view collects and displays articles as a list of teaser view modes. This view is accessible through the following page

/articles

In addition to the view page above there is also the grid version of this view in 2-column, 3-column and 4-column flavors. These views are accessible through

/articles-2-col

/articles-3-col

/articles-4-col

Finally there is also one more version of the articles view that displays article nodes in a simple list style. You can access this under

/articles-list

/articles-list-2

6.2. Benefits

This view collects and displays benefit nodes. There is also available the view block “Benefits” that collects only those that are tagged as promoted to the front page. The view page can be found at:

/benefits

6.3. Clients

This view collects and displays items of the taxonomy vocabulary “clients” in a simple grid of images. The view is accessible through:

/clients

There is also available the corresponding view block “Clients carousel” that displays the same items in a carousel slideshow.

6.4. Internal Banner

This view block collects and displays “Internal banner image(s)” of the active node in a slideshow implemented through Slider Revolution. It is only a visible in node pages that have content in the “Internal banner image(s)” field.

6.5. Isotope

This view consist of 3 different pages that each displays the corresponding nodes in a grid layout with additional Isotope filters at the top. There is one page for each of the “Product”, “Service” and “Showcase” content types.

/showcases-isotope

/services-isotope

/products-isotope

6.6. Latest

This view consists of four separate view blocks that each displays the latest nodes of the corresponding content type. There are view blocks available for the “Product”, “Service”, “Article” and “Showcase” content types.

6.7. Photo Gallery

This view collects and displays showcase nodes in a 3 column grid layout. The view page is accessible through:

/photo-gallery

6.8. Popular Tags

This view block collects and displays all the taxonomy terms used on the site, sorted from the most to the least used.

6.9. Pricing tables

Collects and displays the latest products in a pricing table style. There are 2, 3 and 4 column view blocks available. You can also find the corresponding view page under:

/pricing-tables

6.10. Products

Collects and display product nodes with the corresponding style and features. The following flavors are available: 2, 3 and 4 column grid, List of nodes and masonry layout. These views are accessible through:

/products-4-col

/products-3-col

/products-2-col

/products-list

/products-masonry

6.11. Product Tags

This view block collects and displays items of the taxonomy vocabulary “Product Tags” as a simple list of labels.

6.12. Promoted Posts

View blocks that collect and display Article, Product, Service or Showcase nodes that are marked as Promoted to the front page. The view blocks are available in 2, 3 and 4-column flavours.

6.13. Related Nodes

View block that collects and displays nodes that belong to the same collection as the current node. Products that have been tagged with the same Collection term are displayed in this block.

6.14. Services

Collects and display Service nodes with the corresponding style and features. The following flavors are available: 2, 3 and 4 column grid and List of nodes a These views are accessible through:

/services-4-col

/services-3-col

/services-2-col

/services-list

6.15. Showcases

Collects and display Showcase nodes in the corresponding grid style. The available options are 2, 3 and 4 column grid layout available at the following pages:

/showcases-4-col

/showcases-3-col

/showcases-2-col

Also available is an alternative grid style for the showcases of your site. This view can be found under

/showcases-3-col-style-2

6.16. Slideshow

Collects and displays nodes that are marked as promoted to slideshow. There are 3 different flavours of the slideshow,  Boxed, Full screen and Full width. You can see each of these blocks at the corresponding demonstration pages:

Carousel

Boxed

Full Width

Full Screen

6.17. Team members

Collects and displays “Team Member” nodes in a grid layout or as a list. You can find the corresponding view pages under:

/team-members

/team-members-2

/team-members-list

6.18. Testimonials

Collects and displays testimonials nodes in a simple and stylish list. There is also available a simple view block that displays the last 2 testimonials as well as Slideshow powered view block that loops through all of them. The view pages are accessible through:

/testimonials

/testimonials-3-col

/testimonials-3-col-2

/testimonials-masonry

6.19. Videos

Collects and displays all nodes that have the corresponding video field populated. There is also a view block available that displays the latest 6 items. The view page can be accessed through:

/videos


7. Custom Block Types

Top+ comes with three, special built-in custom Block types:

7.1. Background Image Block

This custom block type allows you to create blocks that display a background image as well as other blocks on top of this image.

The background image block behaves similar to a region. You have to upload an image to use it as the background and then reference at least one block to be displayed over this image.

Additionally you can also configure the layout (full-width/fixed-width), the opacity and the color of the overlay.

Note that in order to reference blocks inside a background image block you will have to assign those to the "Hidden Blocks Collection" region (See below). This is required as Drupal will only render blocks that are assigned to a region.

We suggest that you do not restrict the visibility of the referenced block and only configure the visibility of the actual Background image block.

7.2. Background Video Block

This custom block type allows you to create blocks that display a background video as well as other blocks on top of this video.

The background video block behaves similar to a region. You have to upload a video and an image to use as the background and then reference at least one block to be displayed over this image.

Additionally you can also configure the layout (full-width/fixed-width), the opacity and the color of the overlay.

Note that in order to reference blocks inside a background image block you will have to assign those to the "Hidden Blocks Collection" region (See below). This is required as Drupal will only render blocks that are assigned to a region.

We suggest that you do not restrict the visibility of the referenced block and only configure the visibility of the actual Background video block.

7.3. Dropdowns block

This custom block type allows you to create groups of dropdown elements that display other blocks within.

You can set the trigger icon as well as the block that you wish to display.

7.4. Fancy Linked Images block

This custom block type allows you to create a 3 column layout that displays images that can be linked to any other page or outside URL.

You can choose the link path and text, set a Font Awesome icon and set the title that is displayed below the image.

7.5. Fancy Tabs block

This custom block type allows you to create blocks that display other blocks in a more stylish tabbed design.

You can choose each tab title, subtitle and the referenced block that you wish to display within the tab.

7.6. Featured Linked Text Tiles block

This custom block displays information in a tiled design that can also be linked to any in site page or external URL.

7.7. Google Map block

This custom block type allows you to configure and display a Google map block. You can see this block type used in the contact page.

7.8. Icon features block

his custom block displays information in an icon feature style. You can see this block used on the front page.

7.9. Main Slideshow Block

This custom block allows you to create Slideshow blocks with different content and custom design. It supports all the Views powered slideshow features and provides more flexibility in the editing experience as well as the final result.

7.10. Media Tabs Block

This custom block displays tabs that can show a video or image as well as text information. You can also link to any in site page or external URL.

7.11. Nodes Slideshow block

This custom block displays a slideshow of referenced products. You can set specific thumbnail images to be used and reference the product nodes that you want to display.

7.12. Tabs block

This custom block type allows you to create blocks that display other blocks in a simple tabbed design.

Simply choose the blocks that you want to display on each tab. Tab titles are set be the referenced block titles.

7.13. Video Gallery block

This custom block type displays youtube or vimeo videos in a gallery slider design. This block is ideal for creating video series presentations that your user can watch in desktop and mobile devices.


8. Static Blocks

With Top+ and Drupal 8 you can create new blocks and place them wherever you want in your site. You can also place multiple instances of those, as well, as described above.

The demonstrate the above-mentioned option, to show you the styling the theme comes with, and also to help you get up to speed with developing your Drupal 8 site using Top+, it comes with the pre-built and preconfigured blocks below:

Important notice:

The above-mentioned built-in and preconfigured blocks are available when doing a full installation of Top+, with the demo content as well. These are not available if you simply install Top+ as a simple Drupal 8 theme.


9. How to

9.1. Add a new Service

  1. Select "Add Content" and click on the corresponding option
  2. Enter a title
  3. Upload as many images as you like to display in the Internal banner area
  4. Enter the Subheader body
  5. Upload as many in-page images as you like
  6. Add as many Highlight paragraphs (collections of Image, title, body and link)
  7. Enter the body text
  8. Enter your video URLs
  9. Enter any tags that you wish
  10. Enter the service Price
  11. Enter a buy link URL and the button text

9.2. Add a new Product

  1. Select "Add Content" and click on the corresponding option
  2. Enter a title
  3. Upload as many images as you like to display in the Internal banner area
  4. Enter the Subheader body
  5. Upload as many in-page images as you like
  6. Add as many Highlight paragraphs (collections of Image, title, body and link)
  7. Enter the body text
  8. Enter your video URLs
  9. Set the product SKU and availability
  10. Enter any tags, product groups or industries that you wish to assign to the product
  11. Enter the product Price
  12. Enter the buy link URL and the button text
  13. Add as many Tab paragraphs (collections of Tab Title and Tab content)
  14. If you wish to show the product in the Pricing table view add the Pricing Table Feature you wish
  15.  If you wish to display the product in the masonry views you can use the “Landscape Image” field to upload a wider image to be used

9.3. Add a new Showcase

  1. Select "Add Content" and click on the corresponding option
  2. Enter a title
  3. Upload as many images as you like to display in the Internal banner area
  4. Enter the Subheader body and the subtitle
  5. Upload as many in-page images as you like
  6. Enter your video URLs
  7. Enter the body text
  8. Add collapse elements that provide more information about the showcase
  9. Enter any tags that you wish
  10. Select the client that you wish

9.4. Publish a post to the slideshow

9.4.1. Article, Showcase, Product or Service

  1. Create a new or edit an existing node of the above content types
  2. Make sure you have uploaded the Slideshow image using the Slideshow image field
  3. Check the "Promoted on slideshow" option

Your image will automatically be uploaded and resized to fit in the Slideshow. Your post now is part of the front page Slideshow.

9.4.2. Slideshow entry

  1. Create a new Slideshow Entry
  2. Enter the title and upload an image using the Slideshow image field.
  3. Set the Slideshow entry path. It can also be an external link.
  4. Make sure the Promoted on slideshow check box (“on”) is enabled.

9.5. Create new instances (clones) of existing blocks and assign them to regions

Drupal 8 comes by default with a feature that allows you to create new instances of existing blocks and assign those in the theme regions.

  1. Navigate to Home > Administration > Structure > Block layout
  2. Locate the region that you wish to populate with your new block
  3. For this region click on the “Place block” button
  4. From the list that pops up, locate the block that you wish to place in this region
  1. Click the “Place block” button at the right of the specific block.
  2. Configure the block as you would do with any other block
  3. Save your configuration

9.5.1. Remove blocks from regions

In Drupal 8 in order to remove a block from a region you should just delete it from the regions page. If you need to place the block in the future you could follow the above procedure to create a new instance of this block.

9.6. Allow blocks to be referenced through custom block type fields

In order to be able to reference and display a block though a custom block reference field you should first assign it to a region. We have created the “Hidden blocks collection” region exactly for this reason.

Blocks assigned to this region will not be printed through the theme but will be available to reference through the custom block types and will be displayed based on the custom block visibility configuration.

Blocks that are already assigned to the “Hidden blocks collection” region can be used multiple times through different custom blocks.

  1. Navigate to Home > Administration > Structure > Block layout
  2. Add the block you want to the “Hidden blocks collection” region.
  3. To be able to easily find this block through the reference field we suggest that you specify a unique title.
  1. Leave the visibility settings untouched.
  2. Save your configuration

9.7. Add a new tabs block (Tabs block custom block type)

  1. Make sure that the blocks you want to display are assigned in the “Hidden blocks collection” region. (See above)
  2. Navigate to Home > Administration > Structure > Block layout > Custom block library
  3. Click on the “Add custom block” button and select the Tabs block option
  4. Enter the description
  5. Reference as many blocks as you want.
  6. Rearrange the order of the blocks to rearrange the tabs order
  7. Save your configuration
  8. Your new tabs block is now added to the available blocks and can be placed in any region through Home > Administration > Structure > Block layout

9.8. Add a new Fancy tabs block (FancyTabs block custom block type)

  1. Make sure that the blocks you want to display are assigned in the “Hidden blocks collection” region. (See above)
  2. Navigate to Home > Administration > Structure > Block layout > Custom block library
  3. Click on the “Add custom block” button and select the Fancy Tabs block option
  4. Enter the description
  5. Enter for each tab the Title, subtitle and the referenced block you want.
  6. If you need to add more tabs, click the “Add Fancy Tab” button
  7. Rearrange the order of the blocks to rearrange the tabs order
  8. Save your configuration
  9. Your new tabs block is now added to the available blocks and can be placed in any region through Home > Administration > Structure > Block layout

9.9. Add a new Background Image block

  1. Make sure that the blocks you want to display are assigned in the “Hidden blocks collection” region. (See above)
  2. Navigate to Home > Administration > Structure > Block layout > Custom block library
  3. Click on the “Add custom block” button and select the Background image block option
  4. Enter the description
  5. Upload the background image
  6. Set the Background Image Overlay Color and set the % value for the overlay opacity
  7. You can select the corresponding option to allow the block to cover all the available region width (Full Width) or align it at the center along to the sites container (Fixed Width)
  8. Reference as many blocks as you want
  9. Save your configuration
  10. Your new tabs block is now added to the available blocks and can be placed in any region through Home > Administration > Structure > Block layout

9.10. Add a new Fancy Linked Images block

  1. Make sure that the blocks you want to display are assigned in the “Hidden blocks collection” region. (See above)
  2. Navigate to Home > Administration > Structure > Block layout > Custom block library
  3. Click on the “Add custom block” button and select the Fancy Linked images block option
  4. Enter the description
  5. For each fancy image  upload an image, Enter the title, Link URL and Text as well as the Font awesome class for the button icon.
  6. You should also select if you would like the image to be cropped in any of the available options: Rectangle, Circle or Pentagon. You can also select None to display the image as normal
  7. You can add as many Fany linked images you like, while having in mind that the layout is 3 columns
  8. Save your configuration
  9. Your new tabs block is now added to the available blocks and can be placed in any region through Home > Administration > Structure > Block layout

9.11. Add a new Google map block (Google map custom block type)

  1. Navigate to Home > Administration > Structure > Block layout > Custom block library
  2. Click on the “Add custom block” button and select the Google map block option
  3. Enter the description
  4. Enter as many groups of Name, latitude and longitude for each marker you wish to display on the map.
  5. Enter the zoom level of the map or leave it to 0 to auto zoom
  6. Save your configuration
  7. Your new Google map block is now added to the available blocks and can be placed in any region through Home > Administration > Structure > Block layout

9.12. Add a new Nodes Slideshow

  1. Navigate to Home > Administration > Structure > Block layout > Custom block library
  2. Click on the “Add custom block” button and select the Nodes Slideshow block option
  3. Enter the description
  4. Enter the nodes that you need to display in the slideshow (Product, service). These nodes need to already exist as you can not create new ones from this form
  5. The nodes you reference through the corresponding field will be displayed based on the “Slide view” display that is configured through the content type

9.13. Add a new Featured Linked Text Tiles block

  1. Navigate to Home > Administration > Structure > Block layout > Custom block library
  2. Click on the “Add custom block” button and select the Featured Linked Text Tiles block option
  3. Enter the description
  4. Add as many Featured Linked Text Tiles as you wish
  5. Each tile can show a title, a small text body and can be linked to any internal or external path through the Link field

9.14. Add a new Main Slideshow block

  1. Navigate to Home > Administration > Structure > Block layout > Custom block library.
  2. Click on the “Add custom block” button and select the Main Slideshow Block option
  3. Enter the description.
  4. Select the slideshow settings that you wish. You can set the effect, the duration, the layout as well as other settings that will affect the current Slideshow block. The default values are a good start if you are not sure about the changes you want to apply.
  5. Click the “Add Main Slideshow Slide” button to enable the slide form.
  6. Each slide can hold a title, a caption an image or a youtube or vimeo video and can be linked to an internal or external URL.
  7. For each slide you can also set the background color of the caption area so that it better matches each image.
  8. You can add as many slides as you wish by clicking the  “Add Main Slideshow Slide” button.

9.15. Add a new Media Tabs block

  1. Navigate to Home > Administration > Structure > Block layout > Custom block library
  2. Click on the “Add custom block” button and select the Media Tabs block option
  3. Enter the description
  4. Click the “Add Media Tab” button
  5. You can set the tab label (Media Tab Title), a title that is displayed in the actual tab area, a small body text and an image or video that is displayed on the side of the text.
  6. You can also display a button that can be linked at any internal or external URL through the “Media Button” field

9.16. Add a new Video Gallery block

  1. Navigate to Home > Administration > Structure > Block layout > Custom block library
  2. Click on the “Add custom block” button and select the Video Gallery Block option
  3. Enter the description
  4. Click the “Add Video Gallery Slide” button to enable the form
  5. Enter the Slide title
  6. Enter a youtube or vimeo id to be used for the slide (If both are populated the youtube video will be displayed)
  7. Enter a thumbnail image
  8. Set the volume of the video
  9. Add as many Video Slides as you wish
  10. Save your configuration
  11. Your new tabs block is now added to the available blocks and can be placed in any region through Home > Administration > Structure > Block layout

9.17. Add a new Dropdowns block

  1. Make sure that the blocks you want to display are assigned in the “Hidden blocks collection” region. (See above)
  2. Navigate to Home > Administration > Structure > Block layout > Custom block library
  3. Click on the “Add custom block” button and select the Dropdowns block option
  4. Enter the description
  5. Select the Add Dropdown button
  6. Set the trigger font-awesome icon
  7. Reference as many blocks as you want
  8. You can add more Dropdowns through the Add Dropdown button
  9. Save your configuration
  10. Your new tabs block is now added to the available blocks and can be placed in any region through Home > Administration > Structure > Block layout

9.18. Add a new Icon features block

  1. Navigate to Home > Administration > Structure > Block layout > Custom block library
  2. Click on the “Add custom block” button and select the Icon Features block option
  3. Enter the description
  4. Add as many Icon Features as you wish
  5. Each Icon Feature can display a FontAwesome icon, an image, a Title, a small text body and can be linked to any internal or external path through the Link field

9.19. Add a new Background Video Block

  1. Make sure that the blocks you want to display are assigned in the “Hidden blocks collection” region. (See above)
  2. Navigate to Home > Administration > Structure > Block layout > Custom block library
  3. Click on the “Add custom block” button and select the Background video block option
  4. Enter the description
  5. Upload the background video in both mp4 and webm formats.
  6. Upload an image through the Poster field to be used as a fallback if the client browser does not support HTML5 video
  7. Set the Background Video Overlay Color and set the % value for the overlay opacity
  8. You can select the corresponding option to allow the block to cover all the available region width (Full Width) or align it at the center along to the sites container (Fixed Width)
  9. Reference as many blocks as you want
  10. Save your configuration
  11. Your new tabs block is now added to the available blocks and can be placed in any region through Home > Administration > Structure > Block layout

9.20. How to modify the Front Page Background feature

9.20.1. How to change the Front Page background image

The background image that is displayed on the front page of the Top+ distribution is loaded directly from the theme folder. Specifically the image is located under themes/custom/topplus/images/background-image-banner.jpg

In order to change this image simply replace it directly in the theme folder and then clear the Drupal as well as your browser cache. 

9.20.2. How to modify the Front Page background image configuration

  1. Navigate to the Top+ theme settings admin/appearance/settings/topplus
  2. Under the Front Page Background tab you can see the available settings.
  3. Configure the Opacity of the overlay
  4. Or totally disable the Front page background image feature
  5. Make sure to clear the Drupal cache to ensure you are getting fresh content

9.21. Use @font-your-face module to apply any font to your theme

Top+ comes with pre-defined “Font displays” for you to help you easily apply the font you need.

  1. Navigate to admin/appearance/font/settings and click the Import all fonts button to make sure that all the latest font options are available
  2. Navigate to admin/appearance/font and enable the fonts that you wish to use
  3. Navigate to admin/appearance/font/font_display and for the elements that you wish to change the font edit the corresponding Font display
  4. Note that the Selectors are already populated by us so you just need to select the font you wish.
  5. After you have made all your changes navigate to the Top+ theme settings (admin/appearance/settings/topplus) and select the “Font Settings” tab.
  6. For each of the Font displays that you have edited above select the corresponding “@font-your-face” option to disable the built-in theme-powered fonts and apply the ones you configured through the @font-your-face module.

  1. Save your changes
  2. Make sure that you clear your Drupal cache to ensure that your Site is aware of all the latest changes.

9.21.1. How to add fonts from a premium font library

By default, Top+ comes with built-in support for all fonts from the rich and ever growing Google Fonts font directory.

In case you want to add fonts from a premium font subscription service, like Typekit, here’s how to proceed.

  1. Navigate to admin/extend and locate the @font-your-face modules.
  2. Click to activate, e.g.: the Typekit module, as shown below, then click install.

  1. Navigate to admin/appearance/@font-your-face

  1. Paste your Typekit account token[1], which will enable your Drupal site to pull fonts from the Typekit premium font service, then click Save. This serves as authorization of your Drupal installation with your account at Typekit.

  1. Click to import fonts from your Typekit library.

  1. This will bring and make accessible to your Drupal site, all the Typekit fonts you have added to your published font kit(s)[2] with Typekit, when you navigate back to the “browse” tab of @font-your-face. These fonts are now available for use in your theme, in the same way as described above, in this section.

9.22. Customize the theme

The theme style is written in a SMACSS-inspired approach and is very modular. According to this architecture we have added a local css file for each CSS category that overrides the corresponding category CSS rules.

Each of these CSS files is located under the corresponding folder inside the theme folder:

This doesn’t mean, though, that you should not be able to easily customize the site you build with it, as much as you want, even if e.g.: the

you would like to use, is not included in the built-in Theme settings, described above.

In general if you do not have the time to research and understand all this architecture we suggest that you use the css/theme/local-theme.css file for your CSS rules.

The local-theme.css is designed to override the theme settings and styling currently in use. And because it’s a separate file, any CSS that you add in this file leaves the code codebase of the theme intact, so you can safely roll back anytime.

In light of the above local-theme.css is your go-to-file, for customizing the theme with no limits at all.

10. Roadmap

Top+ 8.x-5.x.x

11. Changelog

Top+ 8.x-5.0.0

Initial release

Page  of


[1] Requires that you are signed in into your Typekit account.

[2] This will only include the fonts in your Typekit account that you have selected and added to one of your published font kits and not all your fonts in your Typekit account.

[a]+stavros@morethanthemes.com Εδώ τί θέλεις να γράψουμε?

_Assigned to Stavros Kounis_

[b]ότι κα ιπαραπάνω. και αυτό wrapper ενός JS lib είναι

[c]+stavros@morethanthemes.com Είναι ΟΚ? Κάνε resolve αν είναι