Skip to content

Instantly share code, notes, and snippets.

View psahalot's full-sized avatar

Puneet Sahalot psahalot

View GitHub Profile
@psahalot
psahalot / subscribe-form4.css
Last active October 21, 2016 05:41 — forked from jainnidhi/subscribe-form4.txt
BB Subscribe Form 4
.subscribe-form-4 {
background-image: url(https://wpbeaveraddons.com/wp-content/uploads/2016/06/explore-unsplash.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
padding: 40px;
position: relative;
}
.subscribe-form-4:before {
@psahalot
psahalot / subscribe-form5.css
Created October 21, 2016 05:40 — forked from jainnidhi/subscribe-form5.txt
BB Subscribe Form 5
.subscribe-form-5 {
padding: 30px;
background: #78f1da;
}
.subscribe-form-5 .fl-form-field {
width: 49.5%;
display: inline-block;
}
@psahalot
psahalot / subscribe-form3.css
Created October 21, 2016 05:40 — forked from jainnidhi/subscribe-form3.txt
BB Subscribe Form 3
.subscribe-form-3 {
padding: 30px;
background: #efe46a;
}
.subscribe-form-3 .fl-form-field {
padding-right: 0 !important;
}
.subscribe-form-3 .fl-form-field input {
border: 1px solid #000;
background: transparent;
@psahalot
psahalot / subscribe-form2.css
Created October 21, 2016 05:40 — forked from jainnidhi/subscribe-form2.txt
BB Subscribe Form 2
.subscribe-form-2 {
background: #c559bd;
padding: 40px 40px 30px;
}
.subscribe-form-2 .fl-form-field {
width: 38%;
display: inline-block;
}
@psahalot
psahalot / subscribe-form1.css
Last active October 21, 2016 05:41 — forked from jainnidhi/subscribe-form1.txt
BB Subscribe Form 1
.subscribe-form-1 {
padding: 30px;
background: #1a1948;
}
.subscribe-form-1 a.fl-button {
box-shadow: 2px 2px 3px #4c9038;
}
.subscribe-form-1 .fl-form-field input {
@psahalot
psahalot / form-style7.txt
Last active October 4, 2016 18:42 — forked from jainnidhi/form-style7.txt
Beaver Form Style 7
.form-style-7 {
background-image: url('https://wpbeaveraddons.com/wp-content/uploads/2016/07/explore-unsplash.jpg');
background-repeat: no-repeat;
background-size: cover;
padding: 50px;
position: relative;
}
.form-style-7:before {
content: "";
@psahalot
psahalot / form-style8.txt
Created October 4, 2016 18:41 — forked from jainnidhi/form-style8.txt
Beaver Form Style 8
.form-style-8 {
background: #f52945;
padding: 50px
}
.form-style-8 .fl-input-group {
margin-bottom: 20px;
}
.form-style-8 .fl-input-group input,
.form-style-8 .fl-input-group textarea {
@psahalot
psahalot / form-style10.txt
Last active October 4, 2016 18:40 — forked from jainnidhi/form-style10.txt
Beaver Form Style 10
.form-style-10 {
background-image: url('https://wpbeaveraddons.com/wp-content/uploads/2016/06/demo-3.jpg');
background-repeat: no-repeat;
background-size: cover;
padding: 50px;
position: relative;
}
.form-style-10:before {
content: "";
@psahalot
psahalot / skip-to-check-out.php
Created October 20, 2015 21:12 — forked from micc83/skip-to-check-out.php
Skip cart and redirect to direct checkout on WooCommerce
<?php
/**
* Skip cart and redirect to direct checkout
*
* @package WooCommerce
* @version 1.0.0
* @author Alessandro Benoit
*/
// Skip the cart and redirect to check out url when clicking on Add to cart
@psahalot
psahalot / functions.php
Created April 23, 2012 22:24
Editing WordPress profiles with Gravity Forms
<?php
// add the following to your functions file or similar
define( 'FUBLO_GF_PROFILE', 1 ); // define the ID number of your profile form.
// ============================================================= PROFILE EDITING
/**
* These are the user metadata fields, with their names and the data about them.