Announcement

Collapse
No announcement yet.

Site Background Image

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

    Site Background Image

    Where is the javascript that triggers the Site Background for the SFNT page?
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Hi Leslie,

    Which section are you referring to?
    Matt Zimmermann

    Miva Web Developer
    Alchemy Web Development
    https://www.alchemywebdev.com
    Site Development - Maintenance - Consultation

    Miva Certified Developer
    Miva Professional Developer

    https://www.dev4web.net | Twitter

    Comment


      #3
      Code:
      <mvt:if expr="l.settings:page:code EQ 'SFNT'">
          <mvt:item name="readytheme" param="Load_Image('site_background', g.site_background)" />
          <mvt:if expr="g.site_background:active">
              <mvt:assign name="l.settings:site_image:class" value="' site-image'" />
              <mvt:assign name="l.settings:site_image:style" value="' style=' $ asciichar(34) $ 'background-image: url(' $ asciichar(39) $ g.site_background:image $ asciichar(39) $ ');' $ asciichar(34)" />
          </mvt:if>
      </mvt:if>
      <div id="js-site-wrapper" class="site-wrapper&mvte:site_image:class;"&mvt:site_image:style; data-hook="site-wrapper">
      But now looking at this code, I "think" I can answer my own question.

      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment

      Working...
      X