Solved

bootstrap - shift online responsive form to right

Posted on 2014-03-06
12
441 Views
Last Modified: 2014-03-06
How do I move the online form on the below beta link to the right about 20 px so it lines up with the copy better.  Right now, it hangs to the left too far.


http://www.wiplastic.com/contact_good.html
http://www.wiplastic.com/wiplastic2.css
0
Comment
Question by:nsitedesigns
  • 7
  • 5
12 Comments
 

Author Comment

by:nsitedesigns
Comment Utility
Actually, I would like it to fill up more of the right side of the content area too.  How do I do this?  When I tried to make a div to contain the form it was no longer responsive.
0
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
Comment Utility
Add
#cntctfrm {
padding-left:20px
}

Here
<div class="content col-xs-12 col-sm-9">
<div class="col-sm-12">
<h1>Contact Us</h1>


remove col-xs-12 col-sm-9
0
 

Author Closing Comment

by:nsitedesigns
Comment Utility
perfection - as usual Cathal!
0
 

Author Comment

by:nsitedesigns
Comment Utility
I figured the fix would be the same for the RFQ page but it doesn't line up the form with the text nicely like it does on the Contact page.  Any idea why?  I would think it should since they have very similar code and both call to the same css page.

http://www.wiplastic.com/rfq.html
0
 
LVL 58

Expert Comment

by:Gary
Comment Utility
Add #rfqfrm to the css above.
0
 
LVL 58

Expert Comment

by:Gary
Comment Utility
I might be inclined to adjust that layout so you have more fields on the same line.

Looks a bit silly having such large inputs on desktop screen. I would add col-sm-6 to your form-group divs.
Name/Company to one line
City/State/Zip I would move to one line.
And telephone/email to one line.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:nsitedesigns
Comment Utility
Duh, I should have figured that one out.  I think I am letting bootstrap freak me out a bit.  Sorry for the extra work.

I did modify the fields for name and company.  You are right. That does look better.  How do I bring c/s/z into one line?  I figured out I needed to put col-sm-4 by City, State and Zip fields!  See I am making progress.  But, how do I make the State field smaller so there is more room for the City.  In USA, we abbreviate states so we only need room for 2 letters.
0
 

Author Comment

by:nsitedesigns
Comment Utility
Dang, looks like i messed up the email one.  Email stays on one line and the field drops down below.

http://screencast.com/t/mqDeoyZfioiz
0
 
LVL 58

Expert Comment

by:Gary
Comment Utility
Go col-sm-5, col-sm-5, col-sm-2 respectively, 2 cols should be fine for the zip.
Just mess around with the number of columns, but I think that should work.

You have an error tho

<div class="form-group col-sm-6" col-sm-4>
<label for="exampleInputCity">City</label>


col-sm-4 is outside the class.
0
 

Author Comment

by:nsitedesigns
Comment Utility
Fixed the error.  Still having problems with the email box.  It is not next to field name.

In middle size, the email field box drops below the telephone set.  It is ok on the other sizes.
It seemed to work ok before...
0
 
LVL 58

Expert Comment

by:Gary
Comment Utility
Set email and telephone to col-sm-6
0
 

Author Comment

by:nsitedesigns
Comment Utility
Thanks!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
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.

743 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

17 Experts available now in Live!

Get 1:1 Help Now