June 9, 201610 yr I am having a little trouble I have recently added some icons with titles under those icons but the titles are slanting, I think it has something to do with the class .processtree img but can't seem to fix it, would someone please have a look and tell me what it going on and a possible fix, thank you <!-- Services Section --> <section class="processtree text-center"> <div class="container-fluid"> <div class="row "> <div class="col-lg-2 col-md-6 col-lg-offset-1"> <a href="#discovery"><img src="img/discovery.png" alt="discovery"> <p>discovery</p></a> </div> <div class="row "> <div class="col-lg-2 col-md-6"> <a href="#concept"><img src="img/concept.png" alt="concept"> <p>concept</p></a> </div> <div class="row "> <div class="col-lg-2 col-md-6"> <a href="#design"><img src="img/design.png" alt="design"> <p>design</p></a> </div> <div class="row "> <div class="col-lg-2 col-md-6"> <a href="#develop"><img src="img/develop.png" alt="develop"> <p>develop</p></a> </div> <div class="row "> <div class="col-lg-2 col-md-6"> <a href="#launch"><img src="img/launch.png" alt="launch"> <p>launch</p></a> </div> </div> </div> </section> .processtree{ background: url(../img/branding.png) no-repeat 1rem 0rem; margin-top: 4rem; .col-lg-2 {margin-bottom:3rem} .col-lg-2:hover {background: #ebece9;} p {margin-bottom:3rem; font-size:1.7rem; font-weight:bold; font-variant: small-caps; letter-spacing:4px;} a {color:#000; text-decoration: none;} img {width:70%; margin:3rem 0 3rem 0;} } http://acro.design/draft/process.html
June 9, 201610 yr In the code for the section you have multiple unclosed <div class="row "> elements which are possibly due to a copy and paste error. If you remove all but the first of those the problem goes away. <section class="processtree text-center"> <div class="container-fluid"> <div class="row "> <div class="col-lg-2 col-md-6 col-lg-offset-1"> <a href="#discovery"> <img src="img/discovery.png" alt="discovery"> <p>discovery</p> </a> </div> <div class="row "><!-- delete me --> <div class="col-lg-2 col-md-6"> <a href="#concept"> <img src="img/concept.png" alt="concept"> <p>concept</p> </a> </div> <div class="row "><!-- delete me --> <div class="col-lg-2 col-md-6"> <a href="#design"> <img src="img/design.png" alt="design"> <p>design</p> </a> </div> <div class="row "><!-- delete me --> <div class="col-lg-2 col-md-6"> <a href="#develop"> <img src="img/develop.png" alt="develop"> <p>develop</p> </a> </div> <div class="row "><!-- delete me --> <div class="col-lg-2 col-md-6"> <a href="#launch"> <img src="img/launch.png" alt="launch"> <p>launch</p> </a> </div> </div> </div> </section> You also have an issue with having two scroll bars, one on the page one in the browser.
June 9, 201610 yr Ah, I should have scrolled down to see @@nfc212 had already replied. However, here's the reformatted HTML for you: <!-- Services Section --> <section class="processtree text-center"> <div class="container-fluid"> <div class="row "> <div class="col-lg-2 col-md-6 col-lg-offset-1"> <a href="#discovery"> <img src="img/discovery.png" alt="discovery"> <p>discovery</p> </a> </div> <div class="col-lg-2 col-md-6"> <a href="#concept"> <img src="img/concept.png" alt="concept"> <p>concept</p> </a> </div> <div class="col-lg-2 col-md-6"> <a href="#design"> <img src="img/design.png" alt="design"> <p>design</p> </a> </div> <div class="col-lg-2 col-md-6"> <a href="#develop"> <img src="img/develop.png" alt="develop"> <p>develop</p> </a> </div> <div class="col-lg-2 col-md-6"> <a href="#launch"> <img src="img/launch.png" alt="launch"> <p>launch</p> </a> </div> </div><!-- /.row --> </div> <!-- /.container-fluid --> </section>@@nfc212 was right, you had a new .row for each column - not needed! Edited June 9, 201610 yr by andy9l
June 9, 201610 yr The double scroll bar is by having a height of 110% applied to the html and body elements. Removing the height setting solves the issue. Is there a reason for applying the extra height?
June 9, 201610 yr I must admit I'm prone to occasional copy and paste error like that myself and when minified it can be difficult to spot so I never minify before I've checked everything right through. On a side note do you think it is a good idea to ask prospects to name their budget from the off? As the minimum budget of £1500 is stipulated that should be enough to deter time wasters, skinflints and most MP's. Perhaps it's because I'm of an older generation but as a general rule of thumb if someone wants to know what you're happy to spend it's because that's what they're going to be more than happy to charge you. So just wondering if that might deter some genuine prospects from making an enquiry.
June 9, 201610 yr Author Is there a reason for applying the extra height? There was, but we removed the feature and simply forgot the 110% was there ;-)
June 9, 201610 yr Author I must admit I'm prone to occasional copy and paste error like that myself and when minified it can be difficult to spot so I never minify before I've checked everything right through. On a side note do you think it is a good idea to ask prospects to name their budget from the off? As the minimum budget of £1500 is stipulated that should be enough to deter time wasters, skinflints and most MP's. Perhaps it's because I'm of an older generation but as a general rule of thumb if someone wants to know what you're happy to spend it's because that's what they're going to be more than happy to charge you. So just wondering if that might deter some genuine prospects from making an enquiry. We have had a lot of debate over that, I was going to add something into the content but it came down to deterring time wasters, I think it is one of those test areas, I think if we keep it on for 6 months, then take it away for 6 months comparing the differences, that should reasonably answer the question, at least for our target audience anyway.
Create an account or sign in to comment