name: To Top
description: Scroll back to top.
type: particle
icon: fa-chevron-up
form:
fields:
enabled:
type: checkbox
label: Enabled
description: Globally enable to top particles.
default: true
css.class:
type: input.selectize
label: CSS Classes
description: CSS class name for the particle.
default: totop
image:
type: input.imagepicker
label: ToTop Image
description: Select desired ToTop image.
content:
type: input.text
label: Text
description: The text to be displayed for the link. HTML is allowed.
placeholder: To Top
{% extends '@nucleus/partials/particle.html.twig' %}
{% block particle %}
<div class="{{ particle.css.class|e }} g-particle">
<div class="g-totop">
<a href="#" id="g-totop" rel="nofollow">
{% if particle.image %}<img src="{{ url(particle.image)|e }}" >{% endif %}
{% if particle.content %}{{particle.content|raw}}{% endif %}
{% if not particle.image and not particle.content %}To Top{% endif %}
</a>
</div>
</div>
{% endblock %}
items:
type: collection.list
array: true
label: Items
description: Create each item to appear in the content row.
value: title
ajax: true
fields:
.style:
type: select.selectize
label: Style
description: Select the style for the Mosaic Grid item.
default: g-mosaicgrid-style1
options:
g-mosaicgrid-style1: Style 1
g-mosaicgrid-style2: Style 2
.img:
type: input.imagepicker
label: Image
description: Select desired image.
.titleText:
type: input.text
label: Title Label
description: Specify the title label.
fields:
.style:
type: select.selectize
label: Style
description: Select the style for the Mosaic Grid item.
default: g-mosaicgrid-style1
options:
g-mosaicgrid-style1: Style 1
g-mosaicgrid-style2: Style 2
.img:
type: input.imagepicker
label: Image
description: Select desired image.
.imgLink:
type: input.text
label: Image Link
description: Specify the Images link URL address.
.imgTarget:
type: select.selectize
label: Image Target
description: Target browser window when item-image is clicked.
placeholder: 'Select...'
default: _blank
options:
_parent: Self
_blank: New Window
.titleText:
type: input.text
label: Title Label
description: Specify the title label.
<div class="g-mosaicgrid-item">
<div class="g-mosaicgrid-image">
<img src="{{ url(item.img)}}" {{ item.img|imagesize|raw }} alt="{{ item.title|e }}">
</div>
<div class="g-mosaicgrid-content">
<div class="g-mosaicgrid-item">
<div class="g-mosaicgrid-image">
{% if item.imgLink %}<a target="{{ item.imgTarget|default('_self')|e }}" href="{{ item.imgLink|e }}">{% endif %}<img src="{{ url(item.img)}}" {{ item.img|imagesize|raw }} alt="{{ item.title|e }}">{% if item.imgLink %}</a>{% endif %}
</div>
<div class="g-mosaicgrid-content">
owlshowcase.html.twig | copy to | <JOOMLA-ROOT>\templates\rt_citadel\custom\particles |
owlshowcase.yaml | copy to | <JOOMLA-ROOT>\templates\rt_citadel\custom\particles |
owlcarousel.js | copy to | <JOOMLA-ROOT>\templates\rt_citadel\custom\js |
custom.scss | create in | <JOOMLA-ROOT>\templates\rt_citadel\custom\scss |
_owlcarousel.scss | copy to | <JOOMLA-ROOT>\templates\rt_citadel\custom\scss |
_utilities.scss | copy to | <JOOMLA-ROOT>\templates\rt_citadel\custom\scss |
/* GANTRY5 DEVELOPMENT MODE ENABLED.
WARNING: This file is automatically generated by Gantry5. Any modifications to this file will be lost!
For more information on modifying CSS, please read:
http://docs.gantry.org/gantry5/configure/styles
http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet
Mods by DanG for this Citadel template
*/
@import "dependencies";
// Owl Carousel Showcase SCSS files
@import "owlcarousel";
@import "utilities";
.g-default-navigation {
margin-top: 0;
padding: 0rem 17%;
}
section#g-container-slideshow {
margin-top: 5rem;
}
The following users have thanked you: Hartmut Schwab
Time to create page: 0.087 seconds