Skip to content

Instantly share code, notes, and snippets.

@philipgledhill
philipgledhill / h3-with-icon-left-aligned.html
Created September 8, 2017 10:01
3 Left aligned boxes. icon to left of headlines
<h2>This Section Uses Lightweight Grid Columns</h2>
[lgc_column grid="33" tablet_grid="33" mobile_grid="100" last="false"]
<h3><i class="fa fa-id-card-o" aria-hidden="true"><!-- comment --></i> Headline goes here</h3>
This is a couple of sentences of text that elaborate on the headline.  You don't need much text here, just enough.
[/lgc_column]
[lgc_column grid="33" tablet_grid="33" mobile_grid="100" last="false"]
<h3><i class="fa fa-font-awesome" aria-hidden="true"><!-- comment --></i> Headline goes here</h3>
This is a couple of sentences of text that elaborate on the headline.  You don't need much text here, just enough.
[/lgc_column]
@philipgledhill
philipgledhill / h2-Headline-bold-text-and-button-centered.html
Created September 8, 2017 09:57
Headline, text and button, centered. For GeneratePress Section
<h2 style="text-align: center;"><strong>Image Backgrounds</strong></h2>
<p style="text-align: center;">This section uses a background image and a button. This is a very popular look at the moment.</p>
<p style="text-align: center;"><a class="button" href="#">Button</a></p>
@philipgledhill
philipgledhill / HTML for simple Call to Action boxes
Created August 30, 2017 06:49
HTML code for simple Call to Action boxes
<div class="content-box-blue">
<h2>This is a content box</h2>
You could use these content boxes to draw attention to anything important on your website. You can easily change the color of the boxes or the buttons by changing the hexadecimal code in the CSS.
<a class="btn-orange" href="#">Click me</a>
</div>
<hr>
@philipgledhill
philipgledhill / Simple Call to Action boxes
Created August 30, 2017 06:46
CSS for simple call to action boxes. Slightly modified version of the StudioPress colored boxes code.
/* Content Boxes
------------------------------------------------------------ */
.content-box-blue,
.content-box-gray,
.content-box-green {
margin: 0 0 25px;
overflow: hidden;
padding: 20px;
color: #ffffff;
@philipgledhill
philipgledhill / Useful-column-class-code-snippets.html
Created September 12, 2016 14:24
Useful code snippets for Genesis Column Classes
<!-- Two one-half columns -->
<div class="one-half first">Content goes here.</div>
<div class="one-half">Content goes here.</div>
<div class="clearfix"></div>
<!-- Three one-third columns. -->
<div class="one-third first">Content goes here.</div>
<div class="one-third">Content goes here.</div>
<div class="one-third">Content goes here.</div>
<div class="clearfix"></div>
/** Parallax Pro CSS classes...
To target a row start with...
.home-odd.home-section-1.widget-area
Leave a space then add...
.one-half .button
.one-half h4
.one-half img
etc.
<!-- Header Right widget area -->
<span class="tagline"><strong>This is the text in the Header Right widget area</strong></span> <a href="#" class="button small">Click Me</a>
<!-- ************************************ -->
<!-- Several widget areas contain button code -->
<a href="#" class="button">Click Me!</a>
.sidebar p {
font-size: 16px;
}
.sidebar li {
font-size: 16px;
}
@philipgledhill
philipgledhill / Altitude-Pro-Front-Page-2.txt
Created February 1, 2016 09:55
Altitude Pro Front Page 2: image in text widget...
<h4>Front Page 2: small headline</h4>
<h2>Front Page 2 big headline</h2>
<div class="bottom-image">
/** Delete this line and paste your image code in here. */
</div>
@philipgledhill
philipgledhill / Remobile-Pro-Home-Intro.txt
Created February 1, 2016 09:54
Remobile Pro Home Intro: text widget containing image...
<div class="one-half first">
<h4>Simply divine</h4>
<p>Introducing the most beautiful theme ever created for the Genesis Framework. With an emphasis on incredible typography and responsive design, this HTML5 theme will leave your audience nothing short of speechless.</p>
<a class="button" href="#">Get Started</a>
</div>
<div class="one-half">
<div class="screenshot">
/** Delete this line and paste your image code in here. */