What's New
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Tagged: transformer logo position right
For all with the same issue: Here is the way i put logo to header right top:
Assuming you are using child theme of transformer (see docs how to do this).
First copy \themes\transformer\templates\_partials\header.tpl to your child theme
-> \themes\transformer_child\templates\_partials\header.tpl
then move the following 3 lines of code (the one with the disabled note) in the #header_right_top div:
<div id="header_center" class="">
<div class="flex_container header_box {if $sttheme.header_center_alignment==1} flex_center {elseif $sttheme.header_center_alignment==2} flex_right {else} flex_left {/if}">
{* Note: disabled / moved to #header_right_top
{if isset($sttheme.logo_position) && $sttheme.logo_position}
{$smarty.capture.shop_logo nofilter}
{/if}
*}
{if isset($HOOK_HEADER_CENTER) && $HOOK_HEADER_CENTER|trim}
{$HOOK_HEADER_CENTER nofilter}
{/if}
</div>
</div>
<div id="header_right" class="">
<div id="header_right_top" class="flex_container header_box {if $sttheme.header_right_alignment==1} flex_center {elseif $sttheme.header_right_alignment==2} flex_right {else} flex_left {/if}">
{if isset($sttheme.logo_position) && $sttheme.logo_position}
{$smarty.capture.shop_logo nofilter}
{/if}
{hook h='displayTop'}
</div>
{if isset($HOOK_HEADER_BOTTOM) && $HOOK_HEADER_BOTTOM|trim}
<div id="header_right_bottom" class="flex_container header_box {if $sttheme.header_right_bottom_alignment==1} flex_center {elseif $sttheme.header_right_bottom_alignment==2} flex_right {else} flex_left {/if}">
{$HOOK_HEADER_BOTTOM nofilter}
</div>
{/if}
</div>
or for better view see screenshot.
Forgot to say: If you do it like i did, you have to set “Display logo on center or left…” to center in themeeditor (see screenshot).
that´s it. works for me.
hope it hepls s/o.
greets
You must be logged in to reply to this topic.