Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

jQuery CSS Scroll Issue

Posted on 2016-11-07
3
95 Views
Last Modified: 2016-11-23
I am working on something that I did not develop.  If you go here on a desktop: http://inspyrus (DOT) com/innovation/ and you look at the page.  Scroll down and you will see graphics scrolling over other graphics.  It still works if you adjust the size of your browser to a smaller size.

However, if you do this on an iPad or larger tablet, that functionality does not work.  It is hidden.  Can anyone give me a clue why that is happening?
0
Comment
Question by:rgranlund
  • 2
3 Comments
 
LVL 2

Expert Comment

by:Andrew Derse
ID: 41877864
If I view the website using Safari in Developer mode as an iPad, it displays the images just like it would on a desktop mode. Has this been resolved? If not, what browser are you using on your iPad to view this?
0
 
LVL 39

Expert Comment

by:Eoin OSullivan
ID: 41878300
It is quite straightforward
This WordPress site is using "responsive" layouts which means that the CSS has rules which change depending on the screen width and height and orientation (portrait and landscape)

If you look at the style.css
http://inspyrus[DOT]com/wp-content/themes/inspyrus/library/css/style.css

Scroll down to the @media sections and you'll see several cases for different screen sizes and orientations
For example specific layout changes are applied on screen widths between 768 and 1029 pixels
@media (min-width: 768px) and (max-width: 1029px) {

There are over 25 @media declarations in the style.css so there are LOTS of different rules and scenarios at play so you need to take your time and go through them to see what each one is doing and what you want to achieve in terms of changing the rules.
0
 
LVL 39

Accepted Solution

by:
Eoin OSullivan earned 500 total points
ID: 41878319
BTW .. the specific CSS that causes the text to scroll up and down over the fixed tablet image is DISABLED when your screen width is below 1024px .. see line 6024 in the style.css

@media only screen and (max-width: 1024px) {
    .fix_mobile .lockin{
        /* background-attachment: scroll; */
    }
    .page-template-page-innovation-php .mobile_section .site_container{
        margin-top: 70px;
    }
    .animate_image.hidde_data{
        opacity: 1;
    }
}
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

829 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