Solved

Image or Header Not Displaying Correctly

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Google Page Speed Insight with srcset 4 91
Filktering Alphabetically 8 31
Word, Excel, Access icons 4 17
Designing forms 3 18
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.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
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.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

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