?
Solved

Need a css tweak please

Posted on 2013-06-23
9
Medium Priority
?
374 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 111

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
Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

 
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 2000 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 Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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 the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

800 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