Announcement

Collapse
No announcement yet.

Align center on SFNT stopped working on tablets

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

  • Protos
    replied
    Thanks a lot Matt. I changed the value in Theme.css. Looks good now.
    All the best in 2022! André

    Leave a comment:


  • Matt Zimmermann
    replied
    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.

    Leave a comment:


  • Protos
    started a topic Align center on SFNT stopped working on tablets

    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
Working...
X