This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('pro_framework_general_capability','test_hide'); | |
function test_hide() { | |
return 'editor'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="main-title"> | |
<h1 class="site-title"><a rel="home" title="Your Site Title" href="YOUR WEBSITE URL">Your Site Title</a></h1> | |
<div class="tagline">Your tagline with a <br /> break in it.</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.soliloquy img { | |
-webkit-user-select: none; | |
-khtml-user-select: none; | |
-moz-user-select: none; | |
-o-user-select: none; | |
user-select: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function james_add_nav() | |
{ ?> | |
<div class="some-div"> | |
Stuff for inside the nav | |
</div> | |
<?php } | |
add_action('proframework_inside_navigation','james_add_nav'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.copyright, | |
#footer-widgets { | |
text-align:center; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( $width == 'false' ) $width = false; | |
if ( $height == 'false' ) $height = false; | |
// If the width or height are null, turn off cropping | |
if ( empty($width) or empty($height) ) $crop_position = false; | |
$image = matthewruddy_image_resize($resized_image,$width, $height, $crop_position); | |
echo '<img src="' . $image['url'] . '" width="' . $width . '" height="' . $height . '" alt="" />'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a.portfolio-more { | |
text-align: center; | |
text-decoration: none; | |
padding: 4px 5px; | |
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2); | |
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2); | |
box-shadow: 0 1px 2px rgba(0,0,0,.2); | |
color: #222 !important; | |
border: 1px solid #b7b7b7; | |
background: #fff; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="IMAGE-SRC" class="alignleft" />The image will float to the left of this text... | |
<img src="IMAGE-SRC" class="alignright" />The image will float to the right of this text... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span style="color:#000;font-family:Arial, Helvetica, sans-serif;">This text is black and in Arial</span>. This is default text, <span style="font-style:italic;">but I'm italic..</span>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* removes padding and brings menu items right up against edges of widget. | |
* make margin 0 to have spacing between widget border and menu | |
*/ | |
.custom .columns ul ul.menu { | |
padding: 0; | |
margin: -15px; | |
} | |
/* remove padding and marin from lists */ | |
.columns ul li ul li { |