Skip to content

Instantly share code, notes, and snippets.

View Manmansui's full-sized avatar
😈
Busy Debugging

Firman Ridwan Manmansui

😈
Busy Debugging
  • Universiti Malaysia Sabah
View GitHub Profile
@mitchellkrogza
mitchellkrogza / flatsome-accordion-icon
Last active April 25, 2024 03:58
Flatsome Change Accordion Arrow to + sign
/*ACCORDIAN*/
/* Change the Flatsome default accordion Arrow Icon to a + symbol*/
.accordion-title.active{background-color:#006587!important;color:white!important}
.accordion-inner{background-color:#eeeeee!important}
.accordion-title{font-size:100%}
.accordion-inner{padding:10px;font-size:.85em}
.accordion .toggle{top:3px!important;transform-origin: 50% 50%!important;}
.accordion .active .toggle{top:3px!important;}
.accordion-item {margin-bottom: 8px;}
.accordion .icon-angle-down:before{content:"+";}
@lucasjahn
lucasjahn / functions.php
Last active June 19, 2024 08:03
Woocommerce Checkout - Display custom inline error messages (including custom validation messages)
<?php
/**
* adds custom js file to handle inline error messages
*/
add_action( 'woocommerce_after_checkout_form', 'add_custom_validation_script', 20 );
function add_custom_validation_script() {
wp_enqueue_script(
@4PixelsDev
4PixelsDev / metadata_writer_for_object_detection.py
Last active October 30, 2023 00:20
Metadata writer for object detection
# Copyright 2020 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@AlexKardone
AlexKardone / Smooth Scroll to top button + font awesome 1
Created February 6, 2018 05:08
Smooth Scroll to top button + font awesome
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<div class='thetop'></div>
<div class='testheight'>Some exciting content... Scroll down for the button to appear.<br><br>
<i class="fa fa-4x fa-thumbs-up fa-spin"></i>
</div>
<div class='scrolltop'>
<div class='scroll icon'><i class="fa fa-4x fa-angle-up"></i></div>
</div>