Design Sets
DEZIGN4FUN

Documentation

Table of content

Instructions

Note that if you already have Hydrogen Pack (affiliate link), you don't need to install the free plugin.

Step 1 : Install the plugin Hydrogen Paste (Free)

Step 2 : Log in to your account

Step 3 : Go to the Unlimited Elements pages and under each element, you will see a new icon (only visible if you are logged and if you bought the set, obviously) :

eyJzb3VyY2UiOiJodHRwczovL3d3dy5kZXppZ240ZnVuLmNvbSIsImNvbXBvbmVudCI6W3siaWQiOjIsIm5hbWUiOiJjdF9zZWN0aW9uIiwib3B0aW9ucyI6eyJjdF9pZCI6MiwiY3RfcGFyZW50IjoxMDAwMDcsInNlbGVjdG9yIjoic2VjdGlvbi0yLTIzNzIiLCJvcmlnaW5hbCI6eyJnbG9iYWxDb25kaXRpb25zUmVzdWx0Ijp0cnVlLCJhbGlnbi1pdGVtcyI6ImNlbnRlciIsInRleHQtYWxpZ24iOiJjZW50ZXIiLCJmbGV4LWRpcmVjdGlvbiI6ImNvbHVtbiIsImRpc3BsYXkiOiJmbGV4In0sImFjdGl2ZXNlbGVjdG9yIjpmYWxzZSwibmljZW5hbWUiOiJTVVBBQ1VCRUJPWFJJR0hUIn0sImNoaWxkcmVuIjpbeyJpZCI6MywibmFtZSI6Im94eV9zdXBlcmJveCIsIm9wdGlvbnMiOnsiY3RfaWQiOjMsImN0X3BhcmVudCI6Miwic2VsZWN0b3IiOiJfc3VwZXJib3gtMy0yMzcyIiwib3JpZ2luYWwiOnsic3VwZXJib3hfc2Vjb25kYXJ5X29wYWNpdHlfc3RhcnQiOiIiLCJzdXBlcmJveF9zZWNvbmRhcnlfb3BhY2l0eV9maW5pc2giOiIiLCJnbG9iYWxDb25kaXRpb25zUmVzdWx0Ijp0cnVlLCJ3aWR0aCI6IjYwMCIsImhlaWdodCI6IjMwMCJ9LCJjbGFzc2VzIjpbImN1YmVib3gtcmlnaHQiXSwibWVkaWEiOnsicGhvbmUtbGFuZHNjYXBlIjp7Im9yaWdpbmFsIjp7IndpZHRoIjoiNDAwIn19LCJwaG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ZXJib3gtc2Vjb25kYXJ5IHtcbiAgICB0cmFuc2Zvcm06IHJvdGF0ZVkoOTBkZWcpIHRyYW5zbGF0ZVoodmFyKC0tY3ViZXJpZ2h0LWhhbGYpKTtcbn1cblxuLm94eS1zdXBlcmJveC5jdWJlYm94LXJpZ2h0OmhvdmVyIC5veHktc3VwZXJib3gtd3JhcCB7XG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVaKHZhcigtLWN1YmVyaWdodC1pbnYpKSByb3RhdGVZKC05MGRlZyk7XG59XG5cbkBtZWRpYSAobWF4LXdpZHRoOiA3NjdweCkge1xuOnJvb3Qge1xuICAgIC0tY3ViZXJpZ2h0LXNpemU6IDQwMHB4OyAvKiB3aWR0aCBvZiB0aGUgc3VwZXJib3ggKi9cbn1cbn1cbkBtZWRpYSAobWF4LXdpZHRoOiA0NzlweCkge1xuOnJvb3Qge1xuICAgIC0tY3ViZXJpZ2h0LXNpemU6IDI1MHB4OyAvKiB3aWR0aCBvZiB0aGUgc3VwZXJib3ggKi9cbn1cbn0iLCJjb2RlLXBocCI6IiIsImZsZXgtZGlyZWN0aW9uIjoidW5zZXQiLCJkaXNwbGF5Ijoibm9uZSJ9LCJjdF9jb250ZW50IjoiIn0sImRlcHRoIjoxfV0sImRlcHRoIjozfV0sImNsYXNzZXMiOnsiY3ViZWJveC1yaWdodCI6eyJrZXkiOiJjdWJlYm94LXJpZ2h0Iiwib3JpZ2luYWwiOnt9fSwib3h5LXN1cGVyYm94LXByaW1hcnkiOnsia2V5Ijoib3h5LXN1cGVyYm94LXByaW1hcnkiLCJvcmlnaW5hbCI6e319LCJveHktc3VwZXJib3gtc2Vjb25kYXJ5Ijp7ImtleSI6Im94eS1zdXBlcmJveC1zZWNvbmRhcnkiLCJvcmlnaW5hbCI6e319fSwiY29sb3JzIjp7fX0=

Step 4 : Click to Copy and paste it (CTRL V) in your page.

copypaste-animation

Customization

Always check for the Code Block. Not only it often contains some custom CSS, but in some complex elements (Sliders), there are also some Javascript.

Change Images

You must use your own images.

Images are NOT transferred into your server. They are still linked from Unsplash or directly from the DEZIGN4FUN server.

Good practice

Custom CSS

To avoid the FOUC effect, copy the custom CSS to a stylesheet.

External files

To be able to share some elements, some files (JS and CSS) are loaded via the Code Block :

It's better to load them with Advanced Scripts (aff link) or WPcodeBox :

Or you can add them manually, with the good old method :
https://oxygen4fun.supadezign.com/how-to/

Weird Behaviors

Some elements (especially the sliders) don't work well in the backend (in Oxygen). There is nothing we can do about it, so always check in the frontend to be sure everything is fine.

Sliders

Most of the sliders use the Swiper JS library.
It's highly customizable, there are a ton of options, so if you want to learn more about it, I recommend you to check their API.

Here are some features that might be useful for you.

Keyboard navigation

keyboard: {
    enabled: true,
    onlyInViewport: false,
},

Continuous loop mode

loop: true,

Mouse wheel navigation

mousewheel: true,

Autoplay

autoplay: {
    delay: 2000,
    pauseOnMouseEnter: true, // will pause on mouse enter
    disableOnInteraction: false // will restart on mouse leave
},

Duration of transition

speed: 1000,

Multiple sliders in the same page

Each slider must have an unique ID, so if you want to use the same slider, several time in the same page, you can add the ID of the container in the selector. For example the Section's ID :

var swiper = new Swiper('#section-11-5 .d4f-dynamic-slider1 .swiper', {
    navigation: {
        nextEl: '#section-11-5 .d4f-dynamic-slider1__arrows-next',
        prevEl: '#section-11-5 .d4f-dynamic-slider1__arrows-prev',
    }
});

var swiper = new Swiper('#section-16-5 .d4f-dynamic-slider1 .swiper', {
    navigation: {
        nextEl: '#section-16-5 .d4f-dynamic-slider1__arrows-next',
        prevEl: '#section-16-5 .d4f-dynamic-slider1__arrows-prev',
    }
});
starchainangle-right