Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #683944

    Hi. On our home page, the header includes the Advanced Layer Slider with just one slide. The entire slide appears – and is working well – on laptop, desktop, iPhone, iPad and Kindle. However, on SurfacePro, the top and bottom of the slider are cut off, meaning the top portion and the bottom portion are not visible. Do you have any suggestions?

    I can provide a screenshot if it will help.

    Thank you!

    #684164

    Hey Arrastia,

    The images appear to be cut off because it has to fit the height and width of the container. Please modify the slider images and have more gap on the top and bottom so the main content of the image will appear in the center and won’t cut off.

    Best regards,
    Vinay

    #684261

    Thanks, Vinay, for your reply.

    Please clarify for me: It seems to work fine on all devices except SurfacePro. Doesn’t that indicate that the sizing is okay, but it is just a display issue on the Surface? Is there a way to address this with CSS specifically for SurfacePro instead of changing my entire slider for all devices?

    If not, can you please provide more detail on how to accomplish what you are suggesting?

    Many thanks.

    #684354

    Hi!

    That can be a CSS issue based on Surface.
    What browser you are using there. Microsoft Edge or something else?

    Thanks a lot

    Cheers!
    Basilis

    #684611

    It looks the same (cut-off) in both chrome and explorer on the SurfacePro. When moved to an extended desktop monitor, the slider is normal, regardless of browser.

    Thank you.

    #684624

    Hi,

    The image need to look proportionate in all screens. Some screen width is small and the slider height reduce accordingly. So please increase the image height and add the main content of the image in the center. You need to use a photo editing software like photoshop to achieve this.

    Best regards,
    Vinay

    • This reply was modified 8 years, 2 months ago by Vinay.
    #685349

    HI Vinay.

    I have tried changing image size multiple times with no luck. This issue seems to affect only Surface Pro. Can you give me an idea of the best dimensions to use for this image to make it respond correctly on all devices? I have the settings set to “Full Width” and “Responsive.”

    I would be most appreciative of any additional instructions you can provide.

    Thanks.

    #686474

    HI. Any additional suggestions on this? I sure would appreciate it! :-)

    #687179

    Hi,

    Would you mind posting us a screenshot/mockup of what you would like to achieve? You can upload the screenshot to imgur.com or dropbox and share the link here :)

    Best regards,
    Vinay

    #690461

    Vinay, the closest thing to what I want to achieve is working correctly on most devices. You can see it correctly displayed at http://mitchelllindsey.fiveoaksdemo.com/. The problem I am trying to solve appears to be only on the SurfacePro where the top and bottom of the slider is being cut off, so the text at the top – “Electrical’ is not entirely visible, and the images at the bottom are not entirely visible either. So I suppose what I really need is to know the optimal dimensions and/or settings for the Advanced Layer Slider. OR, as an alternative, perhaps I don’t NEED to use the Advanced Layer Slider, since I am using only one slide? Perhaps there is another way to achieve this look without the Advanced Layer Slider?

    Thanks again.

    #691102

    Hi,

    I’m unable to reproduce the issue would you mind posting us a screenshot/mockup of the issue on surface pro please so we can troubleshoot this further. You can upload the screenshot to imgur.com and share the link here.

    Best regards,
    Vinay

    #691711

    Vinay, here is a link to the images that show the Surface Pro view and the normal (correct) view. Thank you.

    Mitchell & Lindsey Header

    #692918

    Hi just checking in to see if the screenshot provided offer any help in figuring this out. Thanks.

    #693554

    Hi,

    The device has higher screen resolution compare to standard desktops so it stretches the image. Please edit the image layer then go to the attributes panel. Apply a unique id or class attribute to it then add the following css code:

    @media only screen and (min-width: 2000px) {
       .customcssclass {
           margin-top: 0 !important;
       }
    }

    Replace “customcssclass” with your custom id or class attribute.

    Best regards,
    Ismael

    #693853

    Hi Ismael. Thanks for your assistance.

    I made a copy of the slider, then went to attributes and entered a class name into the class field. Then I replaced the text in your code to match and pasted it into the Custom CSS field in the Theme Settings section.

    Unfortunately, its appearance did not change on the Surface Pro.

    Any other ideas?

    Thank you. I sincerely appreciate your continued assistance with this.

    #693854

    In case it helps, here is the entire block of css I have in the custom css field:

    div .logo {
    display: none !important;
    }

    .tablepress-id-1 {
    width: auto !important;
    }

    .tablepress .column-1 {
    width: 325px;
    }

    .tablepress .column-2 {
    width: 200px;
    }

    .tablepress .column-3 {
    width: 100x;
    }

    /*TEXT SIZE BIGGER AND COLOR DARKER PHONE INFO BAR*/
    .phone-info {font-size: 20px !important;color:#2F4A87 !important;}

    @media only screen and (min-width: 2000px) {
    .surfaceclass {
    margin-top: 0 !important;
    }
    }

    #694859

    Hi,

    I’m sorry but I thought that the image was added as a layer. It is the slider background. Please use this css code:

    @media only screen and (min-width: 2000px) {
       #layerslider_8 .ls-bg {
           margin-top: 0 !important;
       }
    }

    It should work here. http://mitchelllindsey.fiveoaksdemo.com/index.php/test/

    Could you please check the actual resolution of the surfacepro device?

    Best regards,
    Ismael

    #699354

    Ismael, I entered the css code you provided in your last post, so the Quick CSS under Theme Options>General Styling now looks like what I have pasted below.

    In addition, in your last post you had asked me to check the actual resolution of the SurfacePro. Here is what my client is telling me:

    “The problem is still there. It does, however, change when I lower the resolution. I have my surface set at the highest resolution (2160×1440), which is the recommended resolution. If I lower the resolution, the banner gets better during each stage and looks perfect if I set the resolution low enough. However, I know a lot of people who use surface pros and the majority have it at the highest resolution.”

    AND HERE IS THE CSS CODE AS IT NOW APPEARS IN QUICK CSS:

    div .logo {
    display: none !important;
    }

    .tablepress-id-1 {
    width: auto !important;
    }

    .tablepress .column-1 {
    width: 325px;
    }

    .tablepress .column-2 {
    width: 200px;
    }

    .tablepress .column-3 {
    width: 100x;
    }

    /*TEXT SIZE BIGGER AND COLOR DARKER PHONE INFO BAR*/
    .phone-info {font-size: 20px !important;color:#2F4A87 !important;}

    @media only screen and (min-width: 2000px) {
    .surfaceclass {
    margin-top: 0 !important;
    }
    }

    @media only screen and (min-width: 2000px) {
    #layerslider_8 .ls-bg {
    margin-top: 0 !important;
    }
    }

    Many thanks for your assistance, as I really need to get this resolved.

    Best regards.

    • This reply was modified 8 years, 1 month ago by Arrastia.
    #700513

    Hey!

    If the maximum width of the device is 2160px, the css code should be applied to it. Please try the follwing css media query instead.

    @media (min--moz-device-pixel-ratio: 1.5),
           (-o-min-device-pixel-ratio: 3/2),
           (-webkit-min-device-pixel-ratio: 1.5),
           (min-device-pixel-ratio: 1.5),
           (min-resolution: 144dpi),
           (min-resolution: 1.5dppx) and 
           (min-width: 1500px) and (max-width : 2160px) and
           @-ms-viewport {
    {
     /** Surface Pro styles here **/
       #layerslider_8 .ls-bg {
           margin-top: 0 !important;
       }
    }

    Based on this thread. http://stackoverflow.com/questions/19855268/surface-and-css-media-queries

    Regards,
    Ismael

Viewing 19 posts - 1 through 19 (of 19 total)
  • You must be logged in to reply to this topic.