Announcement

Collapse
No announcement yet.

How to change logo image in footer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to change logo image in footer

    The footer image is grabbing the main image from the header which has a different background (transparent PNG doesn't work for some reason) - so wondering how I can switch that. Here's the code I assume I have to update...

    <section class="o-layout__item u-width-12 u-width-4--l" itemscope itemtype="http://schema.org/Organization">
    <mvt:item name="readytheme" param="Load_Image('global_footer_logo', l.settings:global_footer_logo)" />
    <link itemprop="url" href="//&mvt:global:domain:name;/">
    <mvt:if expr="l.settings:readytheme:global_footer_logo:act ive">
    <link itemprop="logo" href="&mvte:readytheme:global_footer_logo:image;" />
    <p class="u-hidden u-shown--l">
    <a class="u-text-no-decoration" href="&mvte:urls:SFNT:auto;">
    <img class="u-block" src="&mvte:readytheme:global_footer_logo:image;" alt="&mvt:readytheme:global_footer_logo:image_alt; ">
    </a>
    <br>
    </p>
    <mvt:elseif expr="l.settings:readytheme:logo_type EQ 'image'">
    <link itemprop="logo" href="&mvte:readytheme:logo_image;" />
    <p class="u-hidden u-shown--l">
    <a class="u-text-no-decoration" href="&mvte:urls:SFNT:auto;">
    <img class="t-logo-image" src="&mvte:readytheme:logo_image;" alt="&mvt:readytheme:logo_alt;">
    </a>
    <br>
    </p>
    </mvt:if>


    #2
    If I remember correctly, if you create a new Theme Component Image with the code of "global_footer_logo" and upload the image you want there you should get the results you want.
    Matt Zimmermann
    Front-End Development Director / Miva, Inc.

    Comment


      #3
      Once again, you are right. That was simple, thanks Matt!

      Comment

      Working...
      X