Announcement

Collapse
No announcement yet.

Align center on SFNT stopped working on tablets

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

    Align center on SFNT stopped working on tablets

    Hi, I have 3 banners (one big and two 570x3209 on my front).

    <mvt:item name="readytheme" param="image( 'storefront_promo' )" /></div>
    <div class="column whole medium-half align-center"><mvt:item name="readytheme" param="image( 'storefront_new' )" /></div>
    <div class="column whole medium-half align-center">
    <mvt:item name="readytheme" param="image( 'storefront_extra' )" /></div>
    tablets
    Everything works fine on phones and PC, but I am getting left align on tablets (Samsung or IPad). I believe that they centered nicely before.
    Thanksome for hints and advice.

    André Loutchko akak Protos. Sweden.
    align_center.jpg

    #2
    Hi André,

    It looks like you have a class assigned to the images, .sfnt-ad, which is set to "display: block;". If you change that to "display: inline-block;", you should see the results you are after.
    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
      Thanks a lot Matt. I changed the value in Theme.css. Looks good now.
      All the best in 2022! André

      Comment

      Working...
      X