Solved

Need a css tweak please

Posted on 2013-06-23
9
370 Views
Last Modified: 2013-06-24
Hi There on this page here
http://australiantopstock.com.au/directory?pid=8&sid=3:2000-MIXED-AGE-DORPER-EWES-FOR-SALE

You can see a line that says "Vendor Bred" and then on the next line it says "yes"...how can I move the selected answer YES to sit besides VENDOR BRED rather than on a separate line?
Thanks,
A
0
Comment
Question by:Amanda Watson
9 Comments
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 39270157
This is not really a PHP question, but it may impinge on Joomla.  It's certainly CSS-related.  I asked the moderators to move it to the Joomla Zone.  Cordial regards from USA, ~Ray
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39270165
This really isn't a CSS fix.  For whatever reason, that data is being output in an unordered list.  Rather than moving heaven and earth to change all of the behaviors of unordered lists with CSS, it would seem to be easier to fix the output so it comes out as a span and then it will be naturally inline with the question.
0
 
LVL 13

Expert Comment

by:joomla_php
ID: 39270182
You can make the css around Vendor Bred: a float:left, but the issue is actually that "yes" is a UL tag:

 <ul class="vendor field_vendor_bred">
        <li class="option_id">Yes</li>
      </ul>

Open in new window

0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 12

Expert Comment

by:duttcom
ID: 39270389
I would take a look at the type of the Vendor Bred field in the SoboPro setup in Joomla. Compare it with one of the other fields such as Location, which does display correctly.

Vendor Bred is probably a boolean field (yes/no), causing SobiPro to format it as an unordered list instead of regular text like the other fields.

You could try adding a second Vendor Bred field which uses the same settings as the Location field, i.e. text and see if it shows correctly on the page. You may be able to change the existing Vendor Bred field to a different type, but back up your data first in case the conversion deletes the existing yes/no values from the field.
0
 
LVL 43

Accepted Solution

by:
Chris Stanyon earned 500 total points
ID: 39271322
Add this to the end of your CSS file:

.vendor strong { float:left; }
.vendor ul { list-style-type:none; margin: 0px; padding: 0px; }

Open in new window

0
 
LVL 11

Author Comment

by:Amanda Watson
ID: 39272756
Hi Chris...I added that code, but the 'yes' is still showing on a separate line?
A
0
 
LVL 43

Expert Comment

by:Chris Stanyon
ID: 39272782
Maybe a cache issue - just checked your site in Firefox, IE and Chrome and the Yes part is on the same lines as Vendor Bred

Screengrab of your site (in Firefox)
0
 
LVL 11

Author Closing Comment

by:Amanda Watson
ID: 39273514
Thank you
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

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.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

825 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