OXYGEN v3 : Use Hydrogen plugin
OXYGEN v4 : Just need to copy and paste the JSON code (no need to use Hydrogen anymore)
Step 1 (OXY3 only) : Install the plugin Hydrogen Paste (free) or Hydrogen Pack (not 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) :
eyJzb3VyY2UiOiJodHRwczovL3d3dy5kZXppZ240ZnVuLmNvbSIsImNvbXBvbmVudCI6W3siaWQiOjIsIm5hbWUiOiJjdF9zZWN0aW9uIiwib3B0aW9ucyI6eyJjdF9pZCI6MiwiY3RfcGFyZW50IjoxMDAwMDcsInNlbGVjdG9yIjoic2VjdGlvbi0yLTIzNzIiLCJvcmlnaW5hbCI6eyJnbG9iYWxDb25kaXRpb25zUmVzdWx0Ijp0cnVlLCJhbGlnbi1pdGVtcyI6ImNlbnRlciIsInRleHQtYWxpZ24iOiJjZW50ZXIiLCJmbGV4LWRpcmVjdGlvbiI6ImNvbHVtbiIsImRpc3BsYXkiOiJmbGV4In0sImFjdGl2ZXNlbGVjdG9yIjpmYWxzZSwibmljZW5hbWUiOiJTVVBBQ1VCRUJPWFJJR0hUIn0sImNoaWxkcmVuIjpbeyJpZCI6MywibmFtZSI6Im94eV9zdXBlcmJveCIsIm9wdGlvbnMiOnsiY3RfaWQiOjMsImN0X3BhcmVudCI6Miwic2VsZWN0b3IiOiJfc3VwZXJib3gtMy0yMzcyIiwib3JpZ2luYWwiOnsic3VwZXJib3hfc2Vjb25kYXJ5X29wYWNpdHlfc3RhcnQiOiIiLCJzdXBlcmJveF9zZWNvbmRhcnlfb3BhY2l0eV9maW5pc2giOiIiLCJnbG9iYWxDb25kaXRpb25zUmVzdWx0Ijp0cnVlLCJ3aWR0aCI6IjYwMCIsImhlaWdodCI6IjMwMCJ9LCJjbGFzc2VzIjpbImN1YmVib3gtcmlnaHQiXSwibWVkaWEiOnsicGhvbmUtbGFuZHNjYXBlIjp7Im9yaWdpbmFsIjp7IndpZHRoIj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Z2h0IC5veHktc3VwZXJib3gtc2Vjb25kYXJ5IHtcbiAgICB0cmFuc2Zvcm06IHJvdGF0ZVkoOTBkZWcpIHRyYW5zbGF0ZVoodmFyKC0tY3ViZXJpZ2h0LWhhbGYpKTtcbn1cblxuLm94eS1zdXBlcmJveC5jdWJlYm94LXJpZ2h0OmhvdmVyIC5veHktc3VwZXJib3gtd3JhcCB7XG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVaKHZhcigtLWN1YmVyaWdodC1pbnYpKSByb3RhdGVZKC05MGRlZyk7XG59XG5cbkBtZWRpYSAobWF4LXdpZHRoOiA3NjdweCkge1xuOnJvb3Qge1xuICAgIC0tY3ViZXJpZ2h0LXNpemU6IDQwMHB4OyAvKiB3aWR0aCBvZiB0aGUgc3VwZXJib3ggKi9cbn1cbn1cbkBtZWRpYSAobWF4LXdpZHRoOiA0NzlweCkge1xuOnJvb3Qge1xuICAgIC0tY3ViZXJpZ2h0LXNpemU6IDI1MHB4OyAvKiB3aWR0aCBvZiB0aGUgc3VwZXJib3ggKi9cbn1cbn0iLCJjb2RlLXBocCI6IiIsImZsZXgtZGlyZWN0aW9uIjoidW5zZXQiLCJkaXNwbGF5Ijoibm9uZSJ9LCJjdF9jb250ZW50IjoiIn0sImRlcHRoIjoxfV0sImRlcHRoIjozfV0sImNsYXNzZXMiOnsiY3ViZWJveC1yaWdodCI6eyJrZXkiOiJjdWJlYm94LXJpZ2h0Iiwib3JpZ2luYWwiOnt9fSwib3h5LXN1cGVyYm94LXByaW1hcnkiOnsia2V5Ijoib3h5LXN1cGVyYm94LXByaW1hcnkiLCJvcmlnaW5hbCI6e319LCJveHktc3VwZXJib3gtc2Vjb25kYXJ5Ijp7ImtleSI6Im94eS1zdXBlcmJveC1zZWNvbmRhcnkiLCJvcmlnaW5hbCI6e319fSwiY29sb3JzIjp7fX0=
{"component":{"id":2,"name":"ct_section","options":{"ct_id":2,"ct_parent":100007,"selector":"section-2-2372","original":{"globalConditionsResult":true,"align-items":"center","text-align":"center","flex-direction":"column","display":"flex"},"activeselector":false,"nicename":"SUPACUBEBOXRIGHT"},"children":[{"id":3,"name":"oxy_superbox","options":{"ct_id":3,"ct_parent":2,"selector":"_superbox-3-2372","original":{"superbox_secondary_opacity_start":"","superbox_secondary_opacity_finish":"","globalConditionsResult":true,"width":"600","height":"300"},"classes":["cubebox-right"],"media":{"phone-landscape":{"original":{"width":"400"}},"phone-portrait":{"original":{"width":"250"}}},"nicename":"Superbox (#3)"},"children":[{"id":4,"name":"ct_div_block","options":{"ct_id":4,"ct_parent":3,"selector":"div_block-4-2372","original":{"globalConditionsResult":true,"background-image":"https://source.unsplash.com/qJKT2rMU0VU","background-size":"cover","background-position-top-unit":"%","background-position-top":"50","background-position-left-unit":"%","background-position-left":"50"},"oxy_builtin":"true","nicename":"Primary","classes":["oxy-superbox-primary"],"ct_content":""},"depth":5},{"id":5,"name":"ct_div_block","options":{"ct_id":5,"ct_parent":3,"selector":"div_block-5-2372","original":{"align-items":"center","justify-content":"center","text-align":"center","globalConditionsResult":true,"background-color":"#d98a9f","padding-top":"20","padding-left":"20","padding-right":"20","padding-bottom":"20"},"oxy_builtin":"true","nicename":"Secondary","classes":["oxy-superbox-secondary"]},"children":[{"id":6,"name":"ct_headline","options":{"ct_id":6,"ct_parent":5,"selector":"headline-6-2372","original":{"font-size":"25","color":"#ffffff","tag":"h2","globalConditionsResult":true,"border-top-width":"1","border-right-width":"1","border-bottom-width":"1","border-left-width":"1","border-top-style":"solid","border-right-style":"solid","border-bottom-style":"solid","border-left-style":"solid","border-top-color":"rgba(255,255,255,0.5)","border-right-color":"rgba(255,255,255,0.5)","border-bottom-color":"rgba(255,255,255,0.5)","border-left-color":"rgba(255,255,255,0.5)","padding-top":"20","padding-left":"20","padding-right":"20","padding-bottom":"20"},"ct_content":"Supa Cubebox Right","nicename":"Heading (#6)"},"depth":1}],"depth":5}],"depth":4},{"id":7,"name":"ct_code_block","options":{"ct_id":7,"ct_parent":2,"selector":"code_block-7-2372","original":{"globalConditionsResult":true,"code-css":":root {\n --cuberight-size: 600px; /* width of the superbox */\n --cuberight-half: calc(var(--cuberight-size) / 2);\n --cuberight-inv: calc(var(--cuberight-half) * -1);\n}\n\n.oxy-superbox.cubebox-right {\n perspective: 700px;\n}\n\n.oxy-superbox.cubebox-right .oxy-superbox-wrap {\n transition: 0.5s ease transform;\n transform-style: preserve-3d;\n overflow: visible;\n transform: translateZ(var(--cuberight-inv));\n}\n\n.oxy-superbox.cubebox-right .oxy-superbox-primary {\n transform: rotateY(0deg) translateZ(var(--cuberight-half));\n}\n\n.oxy-superbox.cubebox-right .oxy-superbox-secondary {\n transform: rotateY(90deg) translateZ(var(--cuberight-half));\n}\n\n.oxy-superbox.cubebox-right:hover .oxy-superbox-wrap {\n transform: translateZ(var(--cuberight-inv)) rotateY(-90deg);\n}\n\n@media (max-width: 767px) {\n:root {\n --cuberight-size: 400px; /* width of the superbox */\n}\n}\n@media (max-width: 479px) {\n:root {\n --cuberight-size: 250px; /* width of the superbox */\n}\n}","code-php":"","flex-direction":"unset","display":"none"},"ct_content":"","nicename":"Code Block (#7)"},"depth":1}],"depth":3},"classes":{"cubebox-right":{"key":"cubebox-right","original":{}},"oxy-superbox-primary":{"key":"oxy-superbox-primary","original":{}},"oxy-superbox-secondary":{"key":"oxy-superbox-secondary","original":{}}}}
Step 4 for OXY4 : Click on the COPY JSON button, go to your page and click in the Import link, then paste the code (CTRL V):
Step 4 for OXY3 : Click to Copy and paste it (CTRL V) in your page.
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.
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.
To avoid the FOUC effect, copy the custom CSS to a stylesheet.
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/
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.
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: {
enabled: true,
onlyInViewport: false,
},
loop: true,
mousewheel: true,
autoplay: {
delay: 2000,
pauseOnMouseEnter: true, // will pause on mouse enter
disableOnInteraction: false // will restart on mouse leave
},
speed: 1000,
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',
}
});