Skip to content

Commit

Permalink
Merge pull request #316 from Oksydan/contact-page-fixes
Browse files Browse the repository at this point in the history
theme contact page minor fixes
  • Loading branch information
Oksydan authored Nov 3, 2023
2 parents 2ebd419 + 414a3c4 commit 2f27493
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions config/theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ global_settings:
- ps_sharebuttons
displayOrderConfirmation2:
- ps_featuredproducts
displayContactRightColumn:
- ps_contactinfo
displayContactLeftColumn:
- ps_contactinfo

image_types:
cart_default:
Expand Down
12 changes: 6 additions & 6 deletions templates/contact.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@

{if $layout === 'layouts/layout-left-column.tpl'}
{block name="left_column"}
<div id="left-column" class="col-12 col-sm-4 col-md-3">
{widget name="ps_contactinfo" hook='displayLeftColumn'}
<div id="left-column" class="col-12 col-md-4 col-lg-3">
{hook h='displayContactLeftColumn'}
</div>
{/block}
{else if $layout === 'layouts/layout-right-column.tpl'}
{elseif $layout === 'layouts/layout-right-column.tpl'}
{block name="right_column"}
<div id="right-column" class="col-12 col-sm-4 col-md-3">
{widget name="ps_contactinfo" hook='displayRightColumn'}
<div id="right-column" class="col-12 col-md-4 col-lg-3">
{hook h='displayContactRightColumn'}
</div>
{/block}
{/if}

{block name='page_content'}
{widget name="contactform"}
{hook h='displayContactContent'}
{/block}

0 comments on commit 2f27493

Please sign in to comment.