Solved

Image or Header Not Displaying Correctly

Posted on 2014-04-09
6
168 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
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.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

920 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

16 Experts available now in Live!

Get 1:1 Help Now