Skip to content

Instantly share code, notes, and snippets.

@chrisgalard
Last active February 20, 2023 10:18

Revisions

  1. chrisgalard revised this gist May 3, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions 04-clickfunnels-images-videos.css
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@


    /**
    * Add a play button to images inside a specific section
    * Add an icon in the center of images inside a specific section (such a play button for thumbnails)
    */
    #SECTION-ID .elImageWrapper:after {
    content: '';
    @@ -23,7 +23,7 @@
    top: 50%;
    margin-left: -20px;
    margin-top: -20px;
    background: url('https://funnelspirations.com/hosted/images/4c/b76cc0dc3b11e7a20933d990e7532c/play-btn.png');
    background: url('URL_TO_THE_IMAGE');
    background-size: contain;
    }

  2. chrisgalard revised this gist May 3, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 01-Clickfunnels CSS Snippets.md
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,6 @@ This is a series of code snippets that will help you customize your Clickfunnels

    ## Instructions

    Each one of the files below contain different snippets of code that do specific things. Everything inside the **/*** and **/*** is a comment.
    Each one of the files below contain different snippets of code that do specific things. Everything inside the **/*** and ***/** is a comment.

    Once you find the snippet that does what you want to achieve, just copy the entire thing and paste it into your "SETTINGS > CUSTOM CSS" in your funnel step.
  3. chrisgalard revised this gist May 3, 2018. 5 changed files with 0 additions and 0 deletions.
    File renamed without changes.
    File renamed without changes.
  4. chrisgalard revised this gist May 3, 2018. 2 changed files with 17 additions and 16 deletions.
    16 changes: 0 additions & 16 deletions clickfunnels-buttons.css
    Original file line number Diff line number Diff line change
    @@ -38,22 +38,6 @@
    .elButton { border: 1px solid #fff; }


    /**
    * Add a play button to images inside a specific section
    */
    #SECTION-ID .elImageWrapper:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    top: 50%;
    margin-left: -20px;
    margin-top: -20px;
    background: url('https://funnelspirations.com/hosted/images/4c/b76cc0dc3b11e7a20933d990e7532c/play-btn.png');
    background-size: contain;
    }

    /**
    * Convert all buttons into pill buttons
    */
    17 changes: 17 additions & 0 deletions clickfunnels-images-videos.css
    Original file line number Diff line number Diff line change
    @@ -11,4 +11,21 @@
    .elVideo { border: 2px solid #YOUR_COLOR; }


    /**
    * Add a play button to images inside a specific section
    */
    #SECTION-ID .elImageWrapper:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    top: 50%;
    margin-left: -20px;
    margin-top: -20px;
    background: url('https://funnelspirations.com/hosted/images/4c/b76cc0dc3b11e7a20933d990e7532c/play-btn.png');
    background-size: contain;
    }


    /* Code by https://christiancisneros.me */
  5. chrisgalard revised this gist May 3, 2018. No changes.
  6. chrisgalard revised this gist May 3, 2018. No changes.
  7. chrisgalard revised this gist May 3, 2018. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion clickfunnels-membership.css
    Original file line number Diff line number Diff line change
    @@ -20,4 +20,6 @@ a.activeMemberNav {
    a.activeMemberNav:before {
    opacity: 1;
    color: #YOUR_COLOR !important;
    }
    }

    /* Code by https://christiancisneros.me */
  8. chrisgalard revised this gist May 3, 2018. No changes.
  9. chrisgalard revised this gist May 3, 2018. 2 changed files with 24 additions and 1 deletion.
    2 changes: 1 addition & 1 deletion Clickfunnels CSS Snippets.md
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,6 @@ This is a series of code snippets that will help you customize your Clickfunnels

    ## Instructions

    Each one of the files below contains a different snippet of code that does a specific thing. Everything inside the **/*** and **/*** is a comment.
    Each one of the files below contain different snippets of code that do specific things. Everything inside the **/*** and **/*** is a comment.

    Once you find the snippet that does what you want to achieve, just copy the entire thing and paste it into your "SETTINGS > CUSTOM CSS" in your funnel step.
    23 changes: 23 additions & 0 deletions clickfunnels-membership.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    /**
    * Change color of module's headlines, change the number inside "nth-child" to whatever number of module you want to set the color to
    */
    #SIDEBAR-MENU-ID > ul > li:nth-child(1) > div {
    background-color: #YOUR_COLOR !important;
    }


    /**
    * Change the background of the lessons in the menu when hovered
    */
    a.activeMemberNav {
    background: #YOUR_COLOR !important;
    }


    /**
    * Change the color of the arrow of the current lesson
    */
    a.activeMemberNav:before {
    opacity: 1;
    color: #YOUR_COLOR !important;
    }
  10. chrisgalard revised this gist May 3, 2018. 4 changed files with 14 additions and 10 deletions.
    6 changes: 0 additions & 6 deletions add-border-radius-to-images.css
    Original file line number Diff line number Diff line change
    @@ -1,6 +0,0 @@
    /**
    * Add border radius to all images
    */
    .elImageWrapper img {
    border-radius: 5px !important;
    }
    4 changes: 0 additions & 4 deletions add-border-to-videos.css
    Original file line number Diff line number Diff line change
    @@ -1,4 +0,0 @@
    /**
    * Add a border to all the videos on the page
    */
    .elVideo { border: 2px solid #YOUR_COLOR; }
    14 changes: 14 additions & 0 deletions clickfunnels-images-videos.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    /**
    * Add border radius to all images
    */
    .elImageWrapper img {
    border-radius: 5px !important;
    }

    /**
    * Add a border to all the videos on the page
    */
    .elVideo { border: 2px solid #YOUR_COLOR; }


    /* Code by https://christiancisneros.me */
    Empty file removed remove-grammarly-code.css
    Empty file.
  11. chrisgalard revised this gist May 3, 2018. 9 changed files with 82 additions and 76 deletions.
    6 changes: 0 additions & 6 deletions center-section-background.css
    Original file line number Diff line number Diff line change
    @@ -1,6 +0,0 @@
    /* Center the background of any section */
    #SECTION-ID {
    background-position: center !important;
    }

    /* Code by https://christiancisneros.me */
    5 changes: 4 additions & 1 deletion clickfunnels-buttons.css
    Original file line number Diff line number Diff line change
    @@ -57,4 +57,7 @@
    /**
    * Convert all buttons into pill buttons
    */
    .elButton { border-radius: 50px !important; }
    .elButton { border-radius: 50px !important; }


    /* Code by https://christiancisneros.me */
    78 changes: 78 additions & 0 deletions clickfunnels-misc.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,78 @@
    /**
    * Add a color overlay above your background in any specific section
    *
    * Important note: YOUR_COLOR needs to be in rgba format, like this:
    *
    * rgba(0, 0, 0, .85)
    *
    * The last number (.85) is the opacity of your overlay. You
    * can use any number from 0 to 1, the higher the number, the
    * more opaque the overlay.
    *
    */
    #SECTION-ID {
    position: relative;
    }

    #SECTION-ID:before {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background: YOUR_COLOR;
    }


    /**
    * The Grammarly extension adds some weird spacing and numbers in the pages, this code gets rid of those
    */
    grammarly-btn { display: none !important; }


    /**
    * Make a row inside a specific section to be full width
    */
    #SECTION-ID .containerInner {
    width: 100% !important;
    }


    /**
    * Make all rows in a page span the full width of the screen
    */
    .containerInner {
    width: 100% !important;
    }


    /* Center the background of any section */
    #SECTION-ID {
    background-position: center !important;
    }


    /**
    * Add a shadow to any element
    *
    * For this we're using the "box-shadow" property. The structure is:
    *
    * box-shadow: offset-x offset-y blur color;
    *
    * offset-x and offset-y mean how far from the element the shadow will be in
    * the x axis and the y axis. Just play with the numbers!
    */
    #CSS-ID-SELECTOR {
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.25) !important;
    }


    /**
    * Hide the CF badge
    */
    .nodoBadge{ display: none; }


    /* Code by https://christiancisneros.me */
    15 changes: 0 additions & 15 deletions element-shadow.css
    Original file line number Diff line number Diff line change
    @@ -1,15 +0,0 @@
    /**
    * Add a shadow to any element
    *
    * For this we're using the "box-shadow" property. The structure is:
    *
    * box-shadow: offset-x offset-y blur color;
    *
    * offset-x and offset-y mean how far from the element the shadow will be in
    * the x axis and the y axis. Just play with the numbers!
    */
    #CSS-ID-SELECTOR {
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.25) !important;
    }

    /* Code by https://christiancisneros.me */
    8 changes: 0 additions & 8 deletions full-width-all-rows.css
    Original file line number Diff line number Diff line change
    @@ -1,8 +0,0 @@
    /**
    * Make all rows in a page span the full width of the screen
    */
    .containerInner {
    width: 100% !important;
    }

    /* Code by https://christiancisneros.me */
    8 changes: 0 additions & 8 deletions full-width-row.css
    Original file line number Diff line number Diff line change
    @@ -1,8 +0,0 @@
    /**
    * Make a row inside a specific section to be full width
    */
    #SECTION-ID .containerInner {
    width: 100% !important;
    }

    /* Code by https://christiancisneros.me */
    4 changes: 0 additions & 4 deletions hide-badge.css
    Original file line number Diff line number Diff line change
    @@ -1,4 +0,0 @@
    /**
    * Hide the CF badge
    */
    .nodoBadge{ display: none; }
    4 changes: 0 additions & 4 deletions remove-grammarly-code.css
    Original file line number Diff line number Diff line change
    @@ -1,4 +0,0 @@
    /**
    * The Grammarly extension adds some weird spacing and numbers in the pages, this code gets rid of those
    */
    grammarly-btn { display: none !important; }
    30 changes: 0 additions & 30 deletions section-overlay.css
    Original file line number Diff line number Diff line change
    @@ -1,30 +0,0 @@
    /**
    * Add a color overlay above your background in any specific section
    */
    #SECTION-ID {
    position: relative;
    }

    #SECTION-ID:before {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background: YOUR_COLOR;
    }

    /**
    * Comment: YOUR_COLOR needs to be in rgba format, like this:
    *
    * rgba(0, 0, 0, .85)
    *
    * The last number (.85) is the opacity of your overlay. You
    * can use any number from 0 to 1, the higher the number, the
    * more opaque the overlay.
    *
    */

    /* Code by https://christiancisneros.me */
  12. chrisgalard revised this gist May 3, 2018. 7 changed files with 60 additions and 53 deletions.
    19 changes: 0 additions & 19 deletions add-buttons-borders.css
    Original file line number Diff line number Diff line change
    @@ -1,19 +0,0 @@
    /**
    * Add a border to all the buttons
    *
    * This is the structure of the "border" property:
    *
    * border: thickness type color;
    *
    * The "thickness" is in pixels.
    *
    * Theres 5 "type"s:
    * - solid
    * - dashed
    * - dotted
    * - double
    * - groove
    *
    * Experiment with the types to see which one you like!
    */
    .elButton { border: 1px solid #fff; }
    5 changes: 0 additions & 5 deletions animate-buttons-hover.css
    Original file line number Diff line number Diff line change
    @@ -1,5 +0,0 @@
    /**
    * Hover animation for buttons (makes them a little bit bigger when hovered)
    */
    .elButton { transition: all .3s; }
    .elButton:hover { transform: scale(1.05); }
    60 changes: 60 additions & 0 deletions clickfunnels-buttons.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,60 @@
    /**
    * Remove radius for buttons
    */
    .elButton { border-radius: none !important; }


    /**
    * Remove borders for all the buttons
    */
    .elButton { border: none !important; }


    /**
    * Hover animation for buttons (makes them a little bit bigger when hovered)
    */
    .elButton { transition: all .3s; }
    .elButton:hover { transform: scale(1.05); }


    /**
    * Add a border to all the buttons
    *
    * This is the structure of the "border" property:
    *
    * border: thickness type color;
    *
    * The "thickness" is in pixels.
    *
    * Theres 5 "type"s:
    * - solid
    * - dashed
    * - dotted
    * - double
    * - groove
    *
    * Experiment with the types to see which one you like!
    */
    .elButton { border: 1px solid #fff; }


    /**
    * Add a play button to images inside a specific section
    */
    #SECTION-ID .elImageWrapper:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    top: 50%;
    margin-left: -20px;
    margin-top: -20px;
    background: url('https://funnelspirations.com/hosted/images/4c/b76cc0dc3b11e7a20933d990e7532c/play-btn.png');
    background-size: contain;
    }

    /**
    * Convert all buttons into pill buttons
    */
    .elButton { border-radius: 50px !important; }
    15 changes: 0 additions & 15 deletions images-play-button.css
    Original file line number Diff line number Diff line change
    @@ -1,15 +0,0 @@
    /**
    * Add a play button to images inside a specific section
    */
    #SECTION-ID .elImageWrapper:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    top: 50%;
    margin-left: -20px;
    margin-top: -20px;
    background: url('https://funnelspirations.com/hosted/images/4c/b76cc0dc3b11e7a20933d990e7532c/play-btn.png');
    background-size: contain;
    }
    4 changes: 0 additions & 4 deletions pill-buttons.css
    Original file line number Diff line number Diff line change
    @@ -1,4 +0,0 @@
    /**
    * Convert all buttons into pill buttons
    */
    .elButton { border-radius: 50px !important; }
    6 changes: 0 additions & 6 deletions remove-buttons-borders.css
    Original file line number Diff line number Diff line change
    @@ -1,6 +0,0 @@
    /**
    * Remove borders for all the buttons
    */
    .elButton { border: none !important; }

    /* Code by https://christiancisneros.me */
    4 changes: 0 additions & 4 deletions remove-buttons-radius.css
    Original file line number Diff line number Diff line change
    @@ -1,4 +0,0 @@
    /**
    * Remove radius for buttons
    */
    .elButton { border-radius: none !important; }
  13. chrisgalard revised this gist May 3, 2018. 11 changed files with 88 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions add-border-radius-to-images.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    /**
    * Add border radius to all images
    */
    .elImageWrapper img {
    border-radius: 5px !important;
    }
    4 changes: 4 additions & 0 deletions add-border-to-videos.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    /**
    * Add a border to all the videos on the page
    */
    .elVideo { border: 2px solid #YOUR_COLOR; }
    19 changes: 19 additions & 0 deletions add-buttons-borders.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    /**
    * Add a border to all the buttons
    *
    * This is the structure of the "border" property:
    *
    * border: thickness type color;
    *
    * The "thickness" is in pixels.
    *
    * Theres 5 "type"s:
    * - solid
    * - dashed
    * - dotted
    * - double
    * - groove
    *
    * Experiment with the types to see which one you like!
    */
    .elButton { border: 1px solid #fff; }
    5 changes: 5 additions & 0 deletions animate-buttons-hover.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    /**
    * Hover animation for buttons (makes them a little bit bigger when hovered)
    */
    .elButton { transition: all .3s; }
    .elButton:hover { transform: scale(1.05); }
    6 changes: 6 additions & 0 deletions center-section-background.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    /* Center the background of any section */
    #SECTION-ID {
    background-position: center !important;
    }

    /* Code by https://christiancisneros.me */
    15 changes: 15 additions & 0 deletions element-shadow.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    /**
    * Add a shadow to any element
    *
    * For this we're using the "box-shadow" property. The structure is:
    *
    * box-shadow: offset-x offset-y blur color;
    *
    * offset-x and offset-y mean how far from the element the shadow will be in
    * the x axis and the y axis. Just play with the numbers!
    */
    #CSS-ID-SELECTOR {
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.25) !important;
    }

    /* Code by https://christiancisneros.me */
    4 changes: 4 additions & 0 deletions hide-badge.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    /**
    * Hide the CF badge
    */
    .nodoBadge{ display: none; }
    15 changes: 15 additions & 0 deletions images-play-button.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    /**
    * Add a play button to images inside a specific section
    */
    #SECTION-ID .elImageWrapper:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    top: 50%;
    margin-left: -20px;
    margin-top: -20px;
    background: url('https://funnelspirations.com/hosted/images/4c/b76cc0dc3b11e7a20933d990e7532c/play-btn.png');
    background-size: contain;
    }
    4 changes: 4 additions & 0 deletions pill-buttons.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    /**
    * Convert all buttons into pill buttons
    */
    .elButton { border-radius: 50px !important; }
    6 changes: 6 additions & 0 deletions remove-buttons-borders.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    /**
    * Remove borders for all the buttons
    */
    .elButton { border: none !important; }

    /* Code by https://christiancisneros.me */
    4 changes: 4 additions & 0 deletions remove-buttons-radius.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    /**
    * Remove radius for buttons
    */
    .elButton { border-radius: none !important; }
  14. chrisgalard revised this gist May 3, 2018. 5 changed files with 41 additions and 3 deletions.
    2 changes: 1 addition & 1 deletion Clickfunnels CSS Snippets.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # Introduction

    This is a series of code snippets that will help you customize your Clickfunnels page with CSS code.
    This is a series of code snippets that will help you customize your Clickfunnels pages with CSS code.

    ## Instructions

    4 changes: 3 additions & 1 deletion full-width-all-rows.css
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,6 @@
    */
    .containerInner {
    width: 100% !important;
    }
    }

    /* Code by https://christiancisneros.me */
    4 changes: 3 additions & 1 deletion full-width-row.css
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,6 @@
    */
    #SECTION-ID .containerInner {
    width: 100% !important;
    }
    }

    /* Code by https://christiancisneros.me */
    4 changes: 4 additions & 0 deletions remove-grammarly-code.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    /**
    * The Grammarly extension adds some weird spacing and numbers in the pages, this code gets rid of those
    */
    grammarly-btn { display: none !important; }
    30 changes: 30 additions & 0 deletions section-overlay.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,30 @@
    /**
    * Add a color overlay above your background in any specific section
    */
    #SECTION-ID {
    position: relative;
    }

    #SECTION-ID:before {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background: YOUR_COLOR;
    }

    /**
    * Comment: YOUR_COLOR needs to be in rgba format, like this:
    *
    * rgba(0, 0, 0, .85)
    *
    * The last number (.85) is the opacity of your overlay. You
    * can use any number from 0 to 1, the higher the number, the
    * more opaque the overlay.
    *
    */

    /* Code by https://christiancisneros.me */
  15. chrisgalard renamed this gist May 3, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  16. chrisgalard revised this gist May 3, 2018. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions full-width-row.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    /**
    * Make a row inside a specific section to be full width
    */
    #SECTION-ID .containerInner {
    width: 100% !important;
    }
  17. chrisgalard revised this gist May 3, 2018. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,8 @@
    # Introduction
    ---

    This is a series of code snippets that will help you customize your Clickfunnels page with CSS code.

    ## Instructions
    ---

    Each one of the files below contains a different snippet of code that does a specific thing. Everything inside the **/*** and **/*** is a comment.

  18. chrisgalard created this gist May 3, 2018.
    6 changes: 6 additions & 0 deletions full-width-all-rows.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    /**
    * Make all rows in a page span the full width of the screen
    */
    .containerInner {
    width: 100% !important;
    }
    11 changes: 11 additions & 0 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    # Introduction
    ---

    This is a series of code snippets that will help you customize your Clickfunnels page with CSS code.

    ## Instructions
    ---

    Each one of the files below contains a different snippet of code that does a specific thing. Everything inside the **/*** and **/*** is a comment.

    Once you find the snippet that does what you want to achieve, just copy the entire thing and paste it into your "SETTINGS > CUSTOM CSS" in your funnel step.