Solved

Need a css tweak please

Posted on 2013-06-23
9
371 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 110

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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

Suggested Solutions

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

726 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