slider-bg.jpg truncated when resized

Homepage Community Forums inSync Theme Support slider-bg.jpg truncated when resized

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14013
    Élyse
    Customer

      I just loaded the latest version of inSync (1.1). Problems related to resizing of the slider-bg.jpg seems fixed for the better in most cases.

      But, when I resize my browser (Chrome in Linux) to mimic a small screen, the photo is not resizing properly. The height of the photo is 80 pixels. With the inSync Demo, the photo height is way more than 80 pixels. Web site is shiatsu-sherbrooke.com

      I don’t have an iphone or other small screen to test it correctly.

      The original dimension of the jpg is 1600×1067.

      Thanks!

      #14044
      Eric
      Customer

        Oh I see, since you don’t have any content inside of your widget it shows up like that on smaller devices. By default there is a top and bottom padding of 200px each. When resized or viewed in a mobile browser it turns to 50px since its viewed on a smaller screen. Since you’re just using the background image with no text in the middle, I would remove the code that overrides the main code so it stays at 200px top and bottom. You can do this by removing, commenting out, or editing/adjusting the padding on line 3647 in your css –

        .slider .wrap {
            padding: 50px 0 30px;
        }

        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #14055
        Élyse
        Customer

          Hi Eric,

          Thank you very much for your help on this one !

          Now, I will have to decide if I will put another widget below the image. If not, this will be perfect for a minimalist frontpage.

          So many things to think, so little time.

          Thanks again !

          Elyse

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The topic ‘slider-bg.jpg truncated when resized’ is closed to new replies.