Code Snippets

The quickest way to use this section is to search using a search term.

Have you contributed your favorite snippets yet? Check your submissions using the link attached to your welcome message in the header.

Snippets include php, javascript or css code to help customise your site. If you wish to add some helpful bits of code you can submit it here for review. All contributions welcome!

Language:           Keyword:             
Remove Sidebar from Post
See this code in use here: 
Submitted by: Rob Webster
Language: CSS

Remove Sidebar From Blog Category Pages
See this code in use here: 
Submitted by: Rob Webster
Language: CSS

Hide Sidebar on Search Results Page
See this code in use here: 
Submitted by: Rob Webster
Language: CSS

Image Below/Attached to Nav Bar

This custom CSS allows you to put a repeating image below the navbar or just have a basic image that spans across.

You may have to adjust the “height” to fit the height of your image and possibly the width.

I also had to add a margin to the top of the first container on my pages.

See this code in use here: 
Submitted by: Donald McGuinn
Language: CSS

Transparent Nav Bar with Slider Behind

Step 1.) Make a slider and set it as “Below Masthead”

Step 2.) Add this style to your Custom CSS

Step 3.) Make sure you header is “Inline” and not “Stacked”.

See this code in use here: 
Submitted by: Donald McGuinn
Language: CSS

Show and hide certain sections based on button click

Make sure to add the class section-expandable and id #services to your section

Then add services-trigger-button as ID of your button.

See this code in use here: 
Submitted by: Donald McGuinn
Language: JavaScript

Real Boxed Layout On Top
For example see www.georgemullerauto.com. Creates space on top of site for background to show through. Used on Renew stack
See this code in use here: 
Submitted by: therealmusician
Language: CSS

Hide X menu from nav bar on desktop
See this code in use here: 
Submitted by: PicciaNeri
Language: CSS

Hide X menu button from nav bar on mobile
See this code in use here: 
Submitted by: PicciaNeri
Language: CSS

Styling Accordions
See this code in use here: 
Submitted by: Miroslav Meduric
Language: CSS