Solved

Image or Header Not Displaying Correctly

Posted on 2014-04-09
6
169 Views
Last Modified: 2014-05-24
Hi, my site is displaying fine on desktop, but one of the sections is not displaying correctly on mobile - it seems that the large phone image does not centre and therefore it is too close to the heading.


goo.gl/ji6QQJ


ss
Can anyone suggest what could be wrong please, thanks in advance...
0
Comment
Question by:oo7ml
  • 2
  • 2
6 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39990669
I wonder if this section above that is nothing more then white dots is pushing it down

<section class="arrowsbg homepagesections-4-features arrows_box">
        <div class="arrows">
			            <svg viewBox="0 0 32 32" class="arrow_down" id="section-1-next">
                <use xlink:href="#right-arrow"></use></svg>
            <svg viewBox="0 0 32 32" class="arrow_up" id="section-1-back">
                <use xlink:href="#left-arrow"></use></svg>
        </div>
    </section>

Open in new window

0
 

Author Comment

by:oo7ml
ID: 39990964
Thanks Scott, sorry i am not sure what you mean... can you elaborate please, thanks.
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39991327
Narrow the browser all the way and you can see a big white gap above where that image is.  It is from the section with 2 white circles above.  Use your media query to take that out when the browser is narrow and see what happens.  

I also noticed when I comment out the display block in img.responsive it works.  That may be all you need. I am still bothered by the big gap above when narrowed though.

media="all"
.img-responsive {
/* display: block; */
max-width: 100%;
height: auto;
}

Open in new window

0
 

Accepted Solution

by:
oo7ml earned 0 total points
ID: 39991456
I figured it out... there was a margin-top in img.img-responsive that needed to be removed...
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Html5 string 3 22
SlickNav Menu Plugin Not appearing on mobile 6 33
Best way to minify CSS with out breaking it 7 35
Outlook opens HTML email as text 4 22
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

770 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