Skip to content

Instantly share code, notes, and snippets.

View reachkamrul's full-sized avatar
😁

Md Kamrul Islam reachkamrul

😁
View GitHub Profile
@reachkamrul
reachkamrul / colspan_auto.js
Last active April 24, 2020 11:02
Auto Colspan for same cell data
jQuery(document).ready(function() {
function ninjaTableAutoColspan()
{
if($table.hasClass('ninja_stacked_table')) {
return;
}
$table.find('tr').each(function() {
var tr = this;
var counter = 0;
var strLookupText = '';
@reachkamrul
reachkamrul / wff-custom-css.css
Last active May 8, 2023 11:16
WP Fluent Forms Custom CSS
/* Change button style*/
form.fluent_form_149 .ff-btn-submit {
background-color: #000000; /* change button background color */
color: #ffffff; /*change button font color*/
border-radius: 10px; /*change button round corners*/
}
/*Change button hover style*/
form.fluent_form_149 .ff-btn-submit:hover {
/* Change button style*/
form.fluent_form_149 .ff-btn-submit {
background-color: #000000; /* change button background color */
color: #ffffff; /*change button font color*/
border-radius: 10px; /*change button round corners*/
}
/*Change button hover style*/
form.fluent_form_149 .ff-btn-submit:hover {
/*input style*/
form.fluent_form_149 .ff-el-form-control{
padding: 6px 12px; /*change padding*/
background-color: #fff; /*change background color*/
border: 1px solid #ced4da; /*change border width and color*/
border-radius: 10px; /*change corner round/ border radius*/
}
form.fluent_form_149 .ff-el-form-control {
font-size: 16px; /*change font size*/
line-height: 1.5; /*change line height*/
color: #495057; /*change font color*/
}
/*Change label styles*/
form.fluent_form_149 .ff-el-input--label{
font-size:22px; /*change label font size*/
color:red; /*change label color*/
}
/* Change Rating Star Color */
form.fluent_form_149 .ff-el-ratings label.active svg {
fill: red;
}
/*Change Step button styles*/
form.fluent_form_149 .step-nav button{
background-color: #000000; /* change step button background color */
color: #ffffff; /*change step button font color*/
border-radius: 10px; /*change step button round corners*/
}
/*Change Step button styles on hover*/
form.fluent_form_149 .step-nav button:hover{
@reachkamrul
reachkamrul / show_ninja_table_on_admin.php
Created March 9, 2020 11:00 — forked from techjewel/show_ninja_table_on_admin.php
Show Ninja Tables On Admin settings Page
<?php
/*
* By Default Ninja Tables does not work if you want to render table on
* admim panel. The following code will create a top level admin page and render a table
* the example table if is 1306 that you need to change
*/
add_action( 'admin_menu', function () {
add_menu_page( 'Admin View', 'NT Admin', 'manage_options', 'myplugin/myplugin-admin-page.php', function () {
$tableId = 1306; // This is ninja table ID;
@reachkamrul
reachkamrul / minDate picked.js
Created March 10, 2020 04:10
min date flatpickr
{
onChange: function(selectedDate, dateString) {
var date = selectedDate[0];
flatpickr('.endingDate', {
"minDate": date,
});
}
}