Skip to content

Instantly share code, notes, and snippets.

View Forsskieken's full-sized avatar

Guy Forssman Forsskieken

View GitHub Profile
@Forsskieken
Forsskieken / replace-bird-with-x.php
Last active November 28, 2023 09:33 — forked from fabrizim/replace-bird-with-x.php
Elementor: Replace Twitter Icon with new X Icon
<?php
/*
Plugin Name: X is new Twitter
Description: Change bird into X
Version: 1.0
Author: Your Name
*/
add_filter( 'elementor/widget/render_content', function($output){
// replace the
@Forsskieken
Forsskieken / media_queries.css
Created January 19, 2018 12:20 — forked from staydecent/media_queries.css
Example of various media queries for responsive web design.
/* Media queries used on blog.staydecent.ca by Adrian Unger
check my full source at:
http://blog.staydecent.ca/static/css/style-0.1.6.css */
@media only screen and (min-width:768px) and (max-width:1269px) {
/* In my particular design, I used a fluid grid limited to a
max-width of 1140px, while (if there is enough room)
pushing the menu outside of layout, requiring a total
limit of at least 1270px.
So, this first query applies to any screen-width less