Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Mar 2016
    Location
    South west uk
    Posts
    81
    Member #
    53465
    Liked
    3 times

    Media query advice for special needs user

    Afternoon all,
    I am making a small web site but i have issues with Media Query.
    This is the site in question The Attic Banwell

    I have learning disabilities & unable to work out this problem & asking for some kind help to see me through if i may.

    The problem i see is i click on the thumbnail to load the full size photo but on various different mobile devices the as you would expect the photo is not scaled down to show all of it etc.

    Hope somebody could advise & help me.
    Many Thanks

  2.  

  3. #2
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Since you're loading the image in as a background, use:
    Code:
    background-size: contain;
    in your CSS. This will make the image resize to show the entire image no matter the size or shape of the container.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  4. #3
    Member
    Join Date
    Mar 2016
    Location
    South west uk
    Posts
    81
    Member #
    53465
    Liked
    3 times
    Hi,
    Thanks,could you advise the line i need to add it to please.

    many thanks

  5. #4
    Member
    Join Date
    Mar 2016
    Location
    South west uk
    Posts
    81
    Member #
    53465
    Liked
    3 times
    Hi,
    Ive gone through the code and when inserted at line 1126 i now see a big difference.
    Please could you check & advise.

  6. #5
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Looks to me like it's working.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:01 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com