color: #f5822a;
letter-spacing: 0.1em;
font-size: 1.5rem;
- line-height: 1.0;
+ line-height: 1.2;
font-family: "Lato";
font-style: normal;
font-weight: normal;
text-transform: capitalize;
margin: 8px auto 0;
cursor: pointer; }
- #gallery-glmphotos-light-3 .photoTitle:hover .photoTitleInner, #gallery-glmphotos-light-5 .photoTitle:hover .photoTitleInner {
+ #gallery-glmphotos-light-3 .photoTitle:hover a, #gallery-glmphotos-light-5 .photoTitle:hover a {
color: #ec6c0b; }
- #gallery-glmphotos-light-3 .photoTitle:hover .photoTitleInner:before, #gallery-glmphotos-light-3 .photoTitle:hover .photoTitleInner:after, #gallery-glmphotos-light-5 .photoTitle:hover .photoTitleInner:before, #gallery-glmphotos-light-5 .photoTitle:hover .photoTitleInner:after {
+ #gallery-glmphotos-light-3 .photoTitle:hover a:before, #gallery-glmphotos-light-3 .photoTitle:hover a:after, #gallery-glmphotos-light-5 .photoTitle:hover a:before, #gallery-glmphotos-light-5 .photoTitle:hover a:after {
transform: scaleX(1);
border-color: #0568b3; }
@media only screen and (max-width: 40em) {
@media only screen and (min-width:40.063em) and (max-width:64em) {
#gallery-glmphotos-light-3 .photoTitle h4, #gallery-glmphotos-light-5 .photoTitle h4 {
font-size: 20px; } }
- #gallery-glmphotos-light-3 .photoTitle .photoTitleInner, #gallery-glmphotos-light-5 .photoTitle .photoTitleInner {
+ #gallery-glmphotos-light-3 .photoTitle a, #gallery-glmphotos-light-5 .photoTitle a {
text-align: center; }
- #gallery-glmphotos-light-3 .photoTitle .photoTitleInner:after, #gallery-glmphotos-light-3 .photoTitle .photoTitleInner:before, #gallery-glmphotos-light-5 .photoTitle .photoTitleInner:after, #gallery-glmphotos-light-5 .photoTitle .photoTitleInner:before {
+ #gallery-glmphotos-light-3 .photoTitle a:after, #gallery-glmphotos-light-3 .photoTitle a:before, #gallery-glmphotos-light-5 .photoTitle a:after, #gallery-glmphotos-light-5 .photoTitle a:before {
display: block;
content: '';
border-width: 1px;
margin: 0 auto;
transform: scaleX(0.0001);
transition: transform 250ms ease-in-out; }
- #gallery-glmphotos-light-3 .photoTitle .photoTitleInner:after, #gallery-glmphotos-light-5 .photoTitle .photoTitleInner:after {
+ #gallery-glmphotos-light-3 .photoTitle a:after, #gallery-glmphotos-light-5 .photoTitle a:after {
margin-top: 5px; }
- #gallery-glmphotos-light-3 .photoTitle .photoTitleInner:before, #gallery-glmphotos-light-5 .photoTitle .photoTitleInner:before {
+ #gallery-glmphotos-light-3 .photoTitle a:before, #gallery-glmphotos-light-5 .photoTitle a:before {
margin-bottom: 5px; }
- #gallery-glmphotos-light-3 .photoTitle .photoTitleInner:hover, #gallery-glmphotos-light-5 .photoTitle .photoTitleInner:hover {
+ #gallery-glmphotos-light-3 .photoTitle a:hover, #gallery-glmphotos-light-5 .photoTitle a:hover {
text-decoration: none; }
#gallery-glmphotos-light-5 a.ngg-fancybox {
$(this).text(statement).fadeIn(1000);
});
},3100);
- $(".photoTitle").each(function() {
- $(this).find("> a:first-of-type").remove();
- });
$('.exit-off-canvas').click(function(e) {
$(this).text(statement).fadeIn(1000);
});
},3100);
- $(".photoTitle").each(function() {
- $(this).find("> a:first-of-type").remove();
- });
$('.exit-off-canvas').click(function(e) {
title="<?php echo $innerdescription ?>"
<?php } ?>
- data-src="<?php echo nextgen_esc_url($image->imageURL) ?>"
- data-thumbnail="<?php echo nextgen_esc_url($image->thumbnailURL); ?>"
- data-image-id="<?php echo esc_attr($image->pid); ?>"
- data-title="<?php echo esc_attr($image->alttext); ?>"
- data-description="<?php echo $innerdescription; ?>"
+ data-src="<?php echo nextgen_esc_url($image->imageURL) ?>"
+ data-thumbnail="<?php echo nextgen_esc_url($image->thumbnailURL); ?>"
+ data-image-id="<?php echo esc_attr($image->pid); ?>"
+ data-title="<?php echo esc_attr($image->alttext); ?>"
+ data-description="<?php echo $innerdescription; ?>"
<?php echo $image->thumbcode ?> >
<?php if ( !$image->hidden ) { ?>
VIEW
</h5>
</div>
-
+ </a>
<?php
$imageTitle = !preg_match(';is\d{2,}-\d{10,}-\d{5,}$;', $image->alttext) ? $image->alttext: '';
?>
<?php if ($validlink) { ?>
<div class="photoTitle">
- <a class="photoTitleInner" href="<?php echo $innerdescription ?>" target="_blank">
+ <a href="<?php echo $innerdescription ?>" target="_blank">
<div title="Visit the <?php echo esc_attr($image->alttext) ?> website!"
alt="<?php echo esc_attr($image->alttext) ?>">
<?php if (!$image->hidden) { echo esc_attr($imageTitle); }?>
</div>
</a>
<?php } else { ?>
- </a><div class="photoTitle">
- <div class="photoTitleInner" title="<?php echo $innerdescription ?>"
+ <div class="photoTitle">
+ <a href="<?php echo nextgen_esc_url($image->imageURL) ?>"
+ <?php if ($validlink) { ?>
+ title="Visit the <a href='<?php echo $innerdescription ?>' target='_blank'> <?php echo esc_attr($image->alttext) ?></a> Website"
+ <?php } else { ?>
+ title="<?php echo $innerdescription ?>"
+ <?php } ?>
+
+ data-src="<?php echo nextgen_esc_url($image->imageURL) ?>"
+ data-thumbnail="<?php echo nextgen_esc_url($image->thumbnailURL); ?>"
+ data-image-id="<?php echo esc_attr($image->pid); ?>"
+ data-title="<?php echo esc_attr($image->alttext); ?>"
+ data-description="<?php echo $innerdescription; ?>"
+ <?php echo $image->thumbcode ?> >
+ <div title="<?php echo $innerdescription ?>"
alt="<?php echo $innerdescription ?>">
<?php if (!$image->hidden) { echo esc_attr($imageTitle); }?>
</div>
+ </a>
<?php } ?>
</div>
</div>
color: #f5822a;
letter-spacing: 0.1em;
font-size: rem-calc(24);
- line-height: 1.0;
+ line-height: 1.2;
font-family: "Lato";
font-style: normal;
font-weight: normal;
margin: 8px auto 0;
cursor: pointer;
&:hover {
- .photoTitleInner {
+ a {
color: #ec6c0b;
}
- .photoTitleInner:before,
- .photoTitleInner:after {
+ a:before,
+ a:after {
transform: scaleX(1);
border-color: rgba(5,104,179,1);
}
font-size: 20px;
}
}
- .photoTitleInner {
+ a {
text-align: center;
&:after,
&:before {