Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pjchong91 committed Jun 22, 2018
2 parents ba03ceb + fec0537 commit 4b6db2e
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 172 deletions.
4 changes: 2 additions & 2 deletions themes/wav-theme/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ function wav_tribe_meta_event_tags( $label = null, $separator = ' ', $echo = tru
function tribe_custom_theme_text ( $translation, $text, $domain ) {

$custom_text = array(
'Keyword' => 'search by tags',
'Date' => 'date'
'Keyword' => 'Search by tags',
'Date' => 'Date'
);
// If this text domain starts with "tribe-", "the-events-", or "event-" and we have replacement text
if( (strpos($domain, 'tribe-') === 0 || strpos($domain, 'the-events-') === 0 || strpos($domain, 'event-') === 0) && array_key_exists($translation, $custom_text) ) {
Expand Down
2 changes: 1 addition & 1 deletion themes/wav-theme/page-templates/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

<div><?php echo wp_kses(CFS()->get( 'video_about_test' ));?></div>

<p><?php echo esc_html(CFS()->get( 'text_about_video' )); ?></p>
<p><?php echo esc_url(CFS()->get( 'text_about_video' )); ?></p>

</div>

Expand Down
38 changes: 22 additions & 16 deletions themes/wav-theme/sass/_events-calendar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,33 @@ Please check the Skeleton style from Events/Setting/Display in dashboard and the
@include tablet{
display:flex;
flex-wrap: wrap;
justify-content: space-between;
}
}
.tribe-events-list-event-description a{
margin-top: auto;
color:$color__green;
&:hover:visited{
color:$color__green;;
.event-item{
display: flex;
// flex-direction: column;
// justify-content: space-between;
border:1px solid $color__green;
padding: 1rem;
// margin-top: auto;
@include tablet{
width: 33.33%;
}
.type-tribe_events{
display:flex;
flex-direction:column;
justify-content: center;
margin-top: auto;
}
}
}
.type-tribe_events{
display: flex;
flex-direction: column;
justify-content: space-between;
border:1px solid $color__green;
padding: 1rem;
.tribe-events-list-event-description a{
margin-top: auto;
@include tablet{
width: 33%;
color:$color__green;
&:hover:visited{
color:$color__green;;
}

}
}
}
.tribe-events-sub-nav{
display: none;
Expand Down
Loading

0 comments on commit 4b6db2e

Please sign in to comment.