Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vBalatroni committed Mar 17, 2021
1 parent 35c5b49 commit cdb1c22
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
5 changes: 3 additions & 2 deletions wp-content/themes/tedx_theme/src/scss/sections/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
.section--contact{

.section__contact-form {

.title {
font-size: $font--220;
margin-top: 1.3rem;
font-size: 32px;
font-weight: bold;
color: $c--primary;
}
.wpcf7{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
<?php
$name = get_the_title();
$profession = get_field('person_subtitle');;
$serious_image = get_field('pro_image');
$funny_image = get_field('funny_image');
$thumbnail_image_url = get_the_post_thumbnail_url();
?>
<div>
<div class="block--person">
<a class="block" href="<?php echo get_the_permalink(); ?>">
<img class="fluid" src="<?php echo $thumbnail_image_url;?>" alt="">
<?php echo responsive_image($funny_image, 'contain_image'); ?>
<h1 class="m0 pt2 pb0"><?php echo $name;?></h1>
<h2 class="m0 pb3"><?php echo $profession;?></h2>
</a>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section class="section section--about container px2 py0 md-py4">
<section class="section section--about container px2 py0 md-py0">
<div class="section__about-container clearfix">
<?php if( have_rows('columns') ): ?>
<?php while( have_rows('columns') ) : the_row();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
$text = get_sub_field('abstract_text');
?>
<section class="section section--abstract">
<div class="section__container m0 p2 pt4 pb4 max-width-5 mx-auto center">
<div class="section__container m0 pb4 max-width-5 mx-auto center">
<div class="section__highlight col-11 sm-col-8 md-col-6 mx-auto max-width-3">
<div class="preview__event-title center">
<h1><?php echo $title; ?></h1>
<div class="preview__event-title center pb2 mt0">
<strong><h1 class="mt0"><?php echo $title; ?></h1></strong>
</div>
<div class="preview__event-description justify">
<?php echo $text; ?>
Expand Down
8 changes: 4 additions & 4 deletions wp-content/themes/tedx_theme/template-parts/section-form.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<section class="section--contact">
<div class="section__contact-form pt3">
<div class="title center pt2 pb4">
<?php the_title(); ?>
</div>
<div class="section__contact-form">
<div class="title center pb4 pt1">
<?php echo the_title(); ?>
</div>
<div class="contact-form pb4">
<?php the_content();?>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="section__ted-circle-event-information">
<a href="<?php echo get_the_permalink($event->ID); ?>"><h1 class="section__ted-circle-title pt3"><?php echo $title; ?></h1></a>
<h3 class="section__ted-circle-event-title pt2 m0 p0"><?php echo get_the_title($event->ID); ?></h3>
<h3 class="section__ted-circle-event-date m0 p0"><?php echo get_field('event_datetime_from', $event->ID); ?></h3>
<h3 class="section__ted-circle-event-date m0 my2 p0"><?php echo get_field('event_datetime_from', $event->ID); ?></h3>
<h3 class="section__ted-circle-event-subscription m0 p0"><?php echo $text; ?></h3>
</div>
</div>
Expand Down

0 comments on commit cdb1c22

Please sign in to comment.