Solved

Make Slider Image Responsive

Posted on 2013-01-22
3
324 Views
Last Modified: 2013-03-04
Hello

Please have a look at this site:
http://www.sage-thyme.com/dev/      

Please notice how the 3  Slider images are not Responsive when viewed in smaller Browsers and Mobile.  
Cannot figure out the correct fix for this issue.

Any help is much appreciated.

Cheers
0
Comment
Question by:Miguel_G
3 Comments
 
LVL 25

Accepted Solution

by:
Kyle Hamilton earned 500 total points
ID: 38807028
start by setting this width to auto:

.home-bnr-jquery .home-banner-sub-full {
width: auto;
height: auto;
top: 0;
left: 0;
position: absolute;
background: none;
margin: 0;
padding: 0;
}

You'll have to make other adjustments too. There are a bunch of pixel widths you'll need to remove  or change to %, or auto
0
 
LVL 30

Expert Comment

by:LZ1
ID: 38807185
2 things:
1. Give .size-full a width of 100%
2. Give .home-bnr-jquery .home-banner-sub-full a width of 100%
0
 
LVL 9

Expert Comment

by:darjimaulik
ID: 38809474
Hi,
Few changes in CSS and it will work.

Style.css
.home-bnr-jquery .home-banner-sub-full {
/*width:940px;*/
width:100%;
height:283px;
top:0;
left:0;
position:absolute;
background:none;
margin:0;
padding:0;
}
.home-bnr-jquery .home-banner-sub-full p {
top:0;
left:0;
/*position:absolute;*/ /* This is Important*/
background:none;
margin:0;
padding:0;
}

Open in new window


_mobile.css
.home-banner-sub-full{
top:30px;
right:20px;
/*width: 676px;*/
width:100%;
height: 217px;
padding: 10px;
border: 1px solid #D7D7D7;
background: #fff;
}
.home-banner-sub-content-full{
background: none;
/*width: 676px;*/
width:100%;
height: 217px;
margin: 0;
}

Open in new window

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now