This project contains a Gantry Particle and adds a very powerful image render and animation component to the Gantry templating framework. Logo | Image | Hover is an advanced version of the standard Logo / Image Particle. However, it is much more flexible and encapsulates the parameterization of many fancy CSS3 rollover, hover and transition effects within. Furthermore, it provides an easy, user friendly and GUI assisted configuration and integration. In the current revision the following CMSs are supported:
- Joomla
- Wordpress
- Grav
- CMS (Joomla, Wordpress, Grav)
- Gantry Templating Framework and Theme
Choose the correct download for your target platform. The Joomla Plugin System is supported for all Gantry themes globally or locally for the templates Helium and Hydrogen. The latest Particle version is v1.2.1.
Default Particle: English / German
Legacy Particle - Gantry <5.3.2: English / German
Joomla Plugin - All Templates (Global): English / German
Joomla Plugin - Hydrogen: English / German
Joomla Plugin - Helium: English / German
- Download the Plugin of the Logo | Image | Hover Particle for Hydrogen, Helium or Global installation.
- Install it over the Joomla Plugin System.
- Create or modify the
custom.scss
file located under/[GANTRY_THEME]/custom/scss
and add the following line@import "logo-image-hover";
at the end. Please check the list below to determine where the template folder for your CMS is located.
If you install the plugin globally be aware that the resource location changes to /media/gantry5/engines/nucleus
- Download the Default or Legacy Package of the Logo | Image | Hover Particle. If you are using Gantry <5.3.2 please use the Legacy Package for compatibility reasons.
- Extract the files.
- Copy the
.html.twig
and the.yaml
file to your particle folder/[GANTRY_THEME]/custom/particles
. Please check the listing below to determine where the template folder for your CMS is located. - Copy the
.js
file to the folder/[GANTRY_THEME]/custom/js
. Create the folder if it does not exist. - Copy the
.scss
file to the folder/[GANTRY_THEME]/custom/scss
. Create the folder if it does not exist. - Create or modify the
custom.scss
file located under/[GANTRY_THEME]/custom/scss
and add the following line@import "logo-image-hover";
at the end.
Please be aware that the template folder path varies in dependence of the used CMS. Here is a list of the folders for the different platforms:
/wp-content/themes/[GANTRY_THEME]
/templates/[GANTRY_THEME]
/user/data/gantry5/themes/[GANTRY_THEME]
- Go to your Gantry templating backend (e.g. Extensions/Templates).
- Switch to Layout and add the new appearing Particle called Logo | Image | Hover either globally to your site (base outline), to a specific template or page by dragging it to the designated section.
- Configure the appearance according to your favor.
- [Optional] The download package contains the JS file of the project. You can embed it over the backend configuration if you do not want to use the default CDN. If you chose automatic installation the file is already there.
- Container attributes
- Custom CSS classes
- For container and image text
- Output rendering
- Prioritized, image only, text only or both
- URL configuration for the image and text
- Enable, target and title
- Text position and custom styling
- Image configuration
- Two Images with overlay supported for fancy transition, timer and rollover effects
alt
andtitle
attribute configurable for both Images
- many different CSS3 effects included (over 150 variations)
- E.g. Zoom-In, Zoom-Out, Slide, Rotate, Blur, Unblur, Sepia, Gray, Pulse, ...
- Predefined effect slots for custom adaptions available
- Lazy load of images supported (requires 3rd party library)
- JS priority and placement (head or footer)
- JS loading
- Remote, Local and Default
- JS execution
- Asynchronous
- Deferred
Insight of the Logo | Image | Hover - Gantry Particle configuration:
Backend (1) - General
Backend (2) - Text
Backend (3) - Image
Backend (4) - Effect
Backend (5) - JS
Example for a basic image effect:
Frontend (1) - Fade
- add more CSS3 effects
- add more languages
None
Thanks to the Gantry team for providing a modern templating framework.
Thanks to Naoya of NxWorld and Rich Bradshaw for the inspiration in terms of the the used CSS3 effects.
by thex | gantryprojects
Copyright (c) 2018, free to use in personal and commercial software as per the license.