Multiple results on one line???
dce2007 said 1 year, 3 months ago:
I am pretty new to CSS so please forgive me if I am asking dumb question.
I have my widget all set up and it looks nice and is working good. What I would like to do is to have several fields returned and added to one line when the search yields it results.
EX: address, city, state (to be returned on one line to save space and to make it easier to read.
Can anyone please advise? I would deeply appreciate any and all help.
Di’
Gary A said 1 year, 3 months ago:
@dce2007
It should be possible to configure it in the way you described. Sometimes this can be done by using float:left; in the CSS for the results. If you can provide the page with the widget in the results, we could take a better look at it.
-Gary
bcb said 1 year, 3 months ago:
@dce2007
If you use the ‘Grid View’ of the Search or Grid widgets, all of your data
will be displayed in one row using a table.
If you need more customization than that, you would want to use ‘List View’ with custom CSS. The ‘List View’ and ‘Grid View’ setting is changed in the right hand sidebar of the widget builder interface.
As Gary responded above, the way you would do this is using CSS floats. Here is a quick example. Say you have 5 columns:
#1 – Name
#2 – Address
#3 – City
#4 – State
#5 – Zipcode
#6 – Phone Number
You could use some CSS like this to put the city, state, and zipcode on one line. This floats the city, state, and zip to the left, and then clears the floats so that the phone number column goes back to it’s own line.
.Data_Central_Column3,
.Data_Central_Column4,
.Data_Central_Column5 { float: left; }
.Data_Central_Column6 { clear: both; }
Hope that helps. See http://support.godaddy.com/help/article/6866 for more information about the CSS classes that are available.
Regards,
Brad B.
Easy Database Developer
dce2007 said 1 year, 2 months ago:
Thank you Gary and Brad for the reply, sorry for not responding sooner.
We are going through a health crisis in our family and it’s been crazy.
I haven’t had time to try this to see if it works.
Frankly I am not sure I understand how to do this. Not enough experience with CSS and sleep depravation to boot. I will try and do it soon to see if I can muddle through it. Thanks again for your help!
Di
prudy02872 said 9 months ago:
Hello there,
I recently implemented Easy Database on a friend’s web site and on the whole I am pleased with its relative ease of integration… kudos to the development team. That said, there are a few little wrinkles that I hope can be ironed out through this forum… such as this need to have more than one results field display on one line in list view, as in:
First name: XXXXXXXX Last Name: XXXXXX
Address1: XXXXXXXXXX Address2: XXXXXXX
City: XXXXXXXXX State: XXXXXXXX Zip: XXXXXXX
Class: XXXX Member: XXXX E-mail: XXXXXXX
I’ve read your suggestions above and looked at the linked articles, but I’m still not clear on what needs to happen here. If I could see an actual implementation of this styling with the corresponding code, that would be extremely helpful.
If you want to see what I currently have, the url is:
http://www.friendsoffairfieldrugby.org/Search_Page.html
If you put 1952 in the class field and hit the search button, that will bring up a couple of entries so you can see how it currently displays.
best regards, PR
Gary A said 8 months, 3 weeks ago:
@prudy02872
When I take a look at your site at this time, it looks like you were able to get this working like how your described. If you are still having trouble with this, please feel free to follow up with some additional details.
-Gary
0 min expected wait time