Skip to content

Instantly share code, notes, and snippets.

View oooh-boi's full-sized avatar

Oooh Boi oooh-boi

View GitHub Profile
@oooh-boi
oooh-boi / gist:b25f29433421f353e8d365e46a9d8f71
Created January 16, 2020 10:45
OoohBoi Video Tutorial : Gradient Text in Elementor PRO
/* EXAMPLE GRADIENTS */
/* To be used with Heading widget */
selector .elementor-heading-title {
background-image: linear-gradient(to right top, #ec2551, #c52a6e, #943979, #633e71, #3d3a59);
background-clip: text;
-webkit-background-clip: text;
}
/* To be used with Text Editor widget */
@oooh-boi
oooh-boi / gist:5d1f00ee8362292dba0af27700b05d74
Created January 7, 2020 18:51
OoohBoi Video Tutorial : Super-flexible Sections and Columns in Elementor PRO
/* MAGICAL CSS Rule */
selector .elementor-container .elementor-row {
flex-wrap: wrap;
/* uncomment for columns alignment */
/* justify-content: center; */
}
/* Responsive Columns Alignment - Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
selector .elementor-container .elementor-row {
@oooh-boi
oooh-boi / gist:80e78f98fb1c0cd48c56a0a414d934b3
Last active May 5, 2023 18:28
Show hide Header on scroll - OoohBoi video tutorial
<script>
"use strict";
OB_ready(OB_doWhenReady);
function OB_doWhenReady() {
// localize everything
var ooohBoi = window.ooohBoi || {};
// local scope variables
ooohBoi.prev_scroll_pos = window.scrollY || document.body.scrollTop;
ooohBoi.cur_scroll_pos;
@oooh-boi
oooh-boi / gist:3e3fbb773ebbd647b92de8880aa4c5ef
Last active August 5, 2022 07:39
CSS and jQuery code used in "Custom Slider in Elementor built with Elementor" video tutorial
/* ---------- CSS
- should be "attached" to the master Section */
/* make 100% wide columns possible for Desktop devices in Elementor */
.custom-swiper .elementor-container .elementor-row {
/*flex-wrap: wrap;*/
}
/* make all the colums-slides 100% wide and full screen tall */
.custom-swiper > .elementor-container > .elementor-row > .elementor-element.elementor-column {
width: 100%;
@oooh-boi
oooh-boi / gist:fc444395f7e4abcf40ab70462f513d5d
Created November 7, 2019 16:22
Breakout of images in Elementor PRO
/* default example (how to move the Background Overlay element to the right hand side for 15%) */
selector .elementor-background-overlay {
width: 115%;
}
@media (max-width: 767px) {
selector .elementor-background-overlay {
top: 30%;
width: 100%;
/*
By oooh boi - Elementor Tips and Tricks
This will create "triangles" custom shape divider on the
right-hand side of the column (vertical), and then crete
another one (horizontal) for mobile devices.
*/
@media (min-width: 768px) {
selector:before {
content: "";
position: absolute;