Skip to content

Instantly share code, notes, and snippets.

@dpw1
dpw1 / FacebookGroupPoster.json
Created December 11, 2018 21:30
Facebook Groups Automatic Post (text + local file) for Kantu Browser Extension
{
"Name": "Facebook Group",
"CreationDate": "2018-12-11",
"Commands": [
{
"Command": "comment",
"Target": "Modify the two variables below. For posttext Use ${KEY_ENTER} for line breaks. For postfile remember it's a local file.",
"Value": ""
},
{
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
1
This file has been truncated, but you can view the full file.
[
{
"itemSectionRenderer": {
"contents": [
{
"videoRenderer": {
"videoId": "KIqairdeHoM",
"thumbnail": {
"thumbnails": [
{
This code is outdated! Here is the updated version:
https://ezfycode.com/blog/debut-shopify-theme-how-to-add-swipe-for-product-page-images
@dpw1
dpw1 / theme.js
Last active December 20, 2020 17:51
This code is outdated! Please visit the link below for the updated version:
https://ezfycode.com/blog/debut-shopify-theme-how-to-add-swipe-for-product-page-images
@dpw1
dpw1 / .css
Created June 15, 2021 23:15
Shopify's Brooklyn Theme Sticky Description
@media (min-width: 767px){
[class*='product-single__meta--']{
position: sticky;
top: 0;
}
}
@dpw1
dpw1 / custom-fonts.css
Last active July 17, 2021 02:40
Adding custom fonts to Shopify themes
h1,h2,h3,h4,h5,h6,html,body,*,[id] *{
font-family: "Precious" !important;
}
@dpw1
dpw1 / theme.css
Last active August 6, 2021 02:05
Simple theme: show "collection list" section's title below the image
.collection-grid-item,
.collection-list .grid__item[role]{
margin-bottom: 35px !important;
}
[id] .collection-grid-item__title{
color: #000000;
display: block;
position: relative;
@dpw1
dpw1 / theme.liquid
Created August 16, 2021 01:50
Remove blue box from clickable elements (Shopify)
<style>
button,
textarea,
input,
select,
a {
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
-webkit-tap-highlight-color: transparent;
-webkit-user-select: none;
-khtml-user-select: none;
@dpw1
dpw1 / base.css
Last active December 23, 2022 00:27
Dawn theme - center logo and enable hamburger menu on Desktop
@media (min-width: 990px) {
.header {
display: flex;
justify-content: space-between;
}
.header .header__inline-menu {
display: none;
}