Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Fix for nav and single post sharing
Browse files Browse the repository at this point in the history
  • Loading branch information
briandunnigan authored and briandunnigan committed Mar 10, 2016
1 parent 5236571 commit 6a0faef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content-single.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
Share on:&nbsp; <a href="http://www.facebook.com/sharer/sharer.php?u=<?php the_permalink(); ?>"><img src="<?php echo get_stylesheet_directory_uri().'/img/asset.f.logo.lg.png';?>" alt="facebook" />Facebook</a>
<a href="http://twitter.com/share?url=<?php the_permalink(); ?>&text=<?php echo get_the_title(); ?>"><img src="<?php echo get_stylesheet_directory_uri().'/img/twitter-bird-white-on-blue.png';?>" alt="Twitter" />Twitter </a>
<a href="http://www.linkedin.com/shareArticle?url=<?php the_permalink(); ?>&title=<?php echo get_the_title(); ?>&source=<?php the_permalink(); ?>"> <img src="<?php echo get_stylesheet_directory_uri().'/img/linkedin.png';?>" alt="LinkedIn" />LinkedIn</a>
<a href="mailto:?subject=Shared from education.uconn.edu&amp;body=<?php echo get_the_title(); ?>%0D%0A%0D%0A<?php the_permalink(); ?>"><img src="<?php echo get_stylesheet_directory_uri().'/img/email-icon.png';?>" alt="email" />Email</a>
<a href="mailto:?subject=Shared from business.uconn.edu&amp;body=<?php echo get_the_title(); ?>%0D%0A%0D%0A<?php the_permalink(); ?>"><img src="<?php echo get_stylesheet_directory_uri().'/img/email-icon.png';?>" alt="email" />Email</a>
</div>

<hr />
Expand Down
2 changes: 1 addition & 1 deletion javascripts/executive.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function stripCategories(){
}
function positionNav(){
if(!$('#navspan').hasClass('col-sm-12')) $('#navspan').css('top',($('#masthead').outerHeight(true)-$('#navspan').outerHeight())/2+'px');
$('.mega-sub-menu').each(function(i,e){
$('#mega-menu-primary > li > .mega-sub-menu').each(function(i,e){
$(this).css('margin-top',($('#masthead').outerHeight(true)-$('#navspan').position().top+1)+'px');
});
//$('#navspan').css('top','0px');
Expand Down
2 changes: 1 addition & 1 deletion javascripts/min/executive.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6a0faef

Please sign in to comment.