Skip to content
You are here: Home arrow SOBI2 arrow Standard CSS File
Standard CSS File

To adapt the design of SOBI2 it is not necessary to change the SOBI2 source code files. SOBI2 can easily be adapted by changing the supplied CSS file. The SOBI2 CSS file /components/include/com_sobi2.css can be edited within the SOBI2 administration panel.

How do you find the used CSS styles?
For each web designer it is very important to take a look to the generated source code, especially if you want to adapt the style of an unknown component. In Firefox press Ctrl-U in IE6 this is F11. In the source code you will find the used CSS classes resp. IDs for the HTML tags.
To make finding CSS classes more easy Chris Pederick has developed an extension for the Firefox Browser called Web Developer Toolbar. We strongly recommend this extension. Also the extension Firebug is very useful.

CSS Tutorial

This is a description of the standard SOBI2 CSS file content

The Header

/**
* @version $Id: com_sobi2.css 3399 2008-01-19 15:30:41Z Radek Suski $
* @package: Sigsiu Online Business Index 2 */
/**
* Style Sheet of SOBI 2 Component com_sobi2.css
* ---------------------------------------------------------------------------
* @copyright Copyright (C) 2007 Sigsiu.NET (www.sigsiu.net). All rights reserved.
* @license see http://www.gnu.org/copyleft/lgpl.html GNU/LGPL.
* SOBI2 is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation.
* Authors: Sigrid & Radek Suski, Sigsiu.NET */

Main Styles

To override standard template styles for SOBI2.

div.sobi2 {
}
div.sobi2 h1 {
    line-height: 24px;
    font-size: 22px;
}
div.sobi2 h2,
div.sobi2 h3,
div.sobi2 h4 {
    padding-left: 5px;
}

Style for Standard Joomla!/Mambo mosmsg-class

Style for Standard Joomla! mosmsg-class, because often undefined. To use the style of your template, delete this entry.

.message {
    padding: 5px;
    background-color: #990000;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: bold;
}

if there is no mosmsg line defined by your template remove the 'display:none' and SOBI2 will show its own mosmsg line. The mosmsg line is used to show uploading and saving results.

#sobimsg {
    display:none;
}

Style of header menu

table.sobi2Header {
    border-style: none;
}
a.sobi2Header {
    padding: 5px;
    font-size: 14px;
}

Style of component description

table.sobi2CompDesc {
    padding: 5px;
    width: 98%; 
}

Styles for Category View

table#sobi2CatListSymbols {
    width: 98%;
}
table#sobi2CatListSymbols td {
    vertical-align: top;
    border-style: none;
}

Style of category icon

img.sobi2CatIco {
    border-style: none;
    float: left;
    clear: left;
}

Style of category name

p.sobi2CatName {
    font-size: 13px;
    padding-left: 50px;
    margin-top: 1px;
}

Style of category introtext

p.sobi2CatsListSymbolsIntrotext {
    font-size: 11px;
    padding-left: 50px;
    margin-top: 4px;
}

Styles for counters

span.sobi2EditlinktipItems {
    text-decoration: none; 
    border-bottom: 1px dashed #aaa;
}
span.sobi2EditlinktipCats {
    text-decoration: none;
    border-bottom: 1px dashed #aaa;
}

Style for entries in Category View (V-Card)

table.sobi2Listing {
    width: 98%;
    margin-bottom: 10px;
}
table.sobi2Listing td {
    border-style: none;
    border-color: #3a4794;
    border-width: 2px;
    margin-top: 0px;
    vertical-align: top;
}

Style for empty V-cards (placeholder)

The color should be the background color of your main body area.

table.sobi2Listing td.sobi2EmptyCell {
    border-style: none;
    background-color: #ffffff;
}
table.sobi2Listing input { float:left; }

Style of icon and logo (image)

.sobi2Listing img {
    float: right;
    border-style: none;
    padding-top: 5px;
    padding-right: 5px;
}

Style of title (Name of Entry)

p.sobi2ItemTitle {
    margin-left: 5px;
    margin-top: 5px;
    border-style:none;
    padding-left: 5px;
    padding-top: 5px;
    clear:left;
}
p.sobi2ItemTitle a { font-size: 13px; }

Styles for the fields

Add a style for each custom field you have added in the Fields Manager in the form span.sobi2Listing_field_yourname.

span.sobi2Listing_field_myfield,
span.sobi2Listing_field_street,
span.sobi2Listing_field_postcode,
span.sobi2Listing_field_county,
span.sobi2Listing_field_country,
span.sobi2Listing_field_email,
span.sobi2Listing_field_contact_person,
span.sobi2Listing_field_phone,
span.sobi2Listing_field_fax,
span.sobi2Listing_field_city,
span.sobi2Listing_field_hotline,
span.sobi2Listing_field_phone,
span.sobi2Listing_field_federal_state {
    padding-left: 10px;
}
span.sobi2Listing_field_website {
    float:right;
    padding-right: 5px;
    margin-bottom: 15px;
}

Style of Edit and Delete Buttons in Category View

input.sobi2EditEntryButton {
}

Style for Page Navigation of Entries

#sobi2PageNav { text-align: center; } 

Style of Details View

table.sobi2Details {
    margin-top: 15px;
    margin-left: 5px;
    padding: 10px;
    width: 98%;
}

Style of Entry Name

table.sobi2Details h1 {
    padding-top: 5px;
}

Container for all custom fields data

div#sobi2outer {
    float: left;
    margin-top: 0px; /* position it vertically */
    padding-bottom: 5px; /* to fix IE bug */
}

Styles of the Image/Icon

img.sobi2DetailsImage {
    border-style: none;
    float: right;
    padding-right: 5px;
    padding-top: 5px;
}
img.sobi2DetailsIcon {
}

Styles for the fields in Details View

Add style for each field you added in the form span#sobi2Details_field_yourname.

span#sobi2Details_field_myfield,
span#sobi2Details_field_street,
span#sobi2Details_field_postcode,
span#sobi2Details_field_county,
span#sobi2Details_field_country,
span#sobi2Details_field_phone,
span#sobi2Details_field_fax,
span#sobi2Details_field_city,
span#sobi2Details_field_hotline,
span#sobi2Details_field_phone,
span#sobi2Details_field_contact_person,
span#sobi2Details_field_federal_state {
    font-size: 12px;
}
span#sobi2Details_field_website,
span#sobi2Details_field_email {
    padding-top: 8px;
    font-size: 12px;
    display: block;
}
span#sobi2Details_field_description {
    padding-top: 20px;
    margin-top: 0px; /* position it vertically */
}

Style for Way Search

span.sobi2WaySearch {
    border-style: none;
    float: right;
    clear: right;
    margin-top: 15px; /* position it vertically */
    display: block;
    padding-right: 5px;
}
span.sobi2WaySearch img {
    padding-top: 8px;
    border-style: none;
    padding-left: 17px;
}

Style for Google Maps

div#sobi2GoogleMaps {
    float: right;
    position: relative;
    border: 1px solid #333333;
    margin-top: 30px;
    margin-right: 5px;
}

Style of Details Footer Line

td.sobi2DetailsFooter {
    padding-left: 5px;
}

Style of Edit and Delete Buttons in Details View

input#sobi2EditEntryButton, 
input#sobi2DelEntryButton {
    float:right;
}

Style of Footer Line

td#sobi2Footer,
td#sobi2Footer a {
    font-size: 9px;
    color: #999999;
    padding-top: 10px;
    text-decoration: none;
}
table.sobi2Footer { width: 98%; }
td#sobi2rss { }
td#sobi2rss img {
    border-style: none;
    float:right;
}

Style of Entry Form

Header Line

p#sobi2EditFormHeader {
    font-weight:bold;
    font-size: 14px;
    padding: 5px;
}

Info Requested Fields

#sobi2ReqFieldsInfo {
    padding: 5px;
}
form#sobi2EditForm table,
table#sobi2FormTable {
    padding: 5px;
}
table#sobi2FormTable2,
table#sobi2FormTable3 {
    width: 99%;
}
table#sobi2FormTable td,
table#sobi2FormTable2 td,
table#sobi2FormTable3 td {
    vertical-align: top;
}

Style of Input fields as entered in Fields Manager

input#field_entry_name,
input#field_postcode,
input#field_street,
input#field_city,
input#field_county,
input#field_country,
input#field_federal_state,
input#field_email,
input#field_website,
input#field_contact_person,
input#field_phone,
textarea#sobi2MetaKey,
textarea#sobi2MetaDesc,
input#sobi2Ico,
input#sobi2Img,
input#field_fax,
input#field_hotline,
input#field_street {
}
label.field_entry_name,
label.field_postcode,
label.field_street,
label.field_city,
label.field_county,
label.field_country,
label.field_federal_state,
label.field_email,
label.field_website,
label.field_contact_person,
label.field_phone,
label.field_fax,
label.field_hotline,
label.field_description,
label.sobi2Ico,
label.sobi2Img,
label.sobi2MetaKey,
label.sobi2MetaDesc {
}

Style for checkboxes

input#accept_rules,
input#field_website_on,
input#field_description_on {
}

Style for not free label

span.sobi2FormNotFreeLabel {
    display: block;
    padding-top: 5px;
}

Style for Category Information/Descriptions

table#sobi2FormCats {
    width: 99%;
    border-style: none;
    margin: 10px;
}
table#sobi2FormCats td {
    padding: 10px;
    border-style: solid;
    border-color: #CCCCCC;
    border-width: 1px;
}
p#catsTitle,
p#catIntroText {
    width: 98%;
    font-size: 12px;
    font-weight: bold;
} p#catMsg { width: 98%; } 

Style for Add and Remove Button

#sobi2AddCatBt,
#sobi2RemoveCatBt {
    width:50px;
}

Style for column with Buttons

td.sobi2CatButtons {
    width: 50px;
    vertical-align: top;
}

Style for column with selected categories

td.sobi2CatSelected {
    vertical-align: top;
    width: 150px;
}

Style for Box with selected categories

select#sobi2SlectedCats {
    height: 100px;
    width: 150px;
}
select#sobi2SlectedCatsID {
    height: 0px;
    width: 0px;
    border-style: none;
}

Style for Safety Line

table#sobi2FormFooter {
    float: left;
    clear: left;
}
table#sobi2FormFooter td {
    vertical-align: bottom;
}
img#seccode {
}

Style for Send and Cancel Button

input#sobi2SendButton {
    float: right;
}
input#sobi2CancelButton {
    float: right;
}

Style for Payment Info

Style for upload info

p.sobi2msg {
    padding-top: 15px;
    padding-left: 5px;
    font-size: 12px;
}

Container for all payment info

div.sobi2PaymentContainer {
    width: 98%;
}

Style for Summary of Costs

table#sobi2Payment {
    width: 50%;
    margin-left: 5px;
    padding-right: 5px;
}
table#sobi2Payment td,
td.sobi2PayOption {
    width: 70%;
    text-align: right;
}
td.sobi2PayFees {
    width: 30%;
    text-align: right;
}
td#sobi2PayTotal {
    width: 30%;
    text-align: right;
    border-top: solid 1px #606060;
    font-weight: bold;
    color: red;
}

Style for Payment Methods

table#sobi2PaymentMethod {
    width: 70%;
    margin-top: 30px;
    margin-left: 5px;
}
table#sobi2PaymentMethod img {
    border-style: none;
}
table#sobi2PaymentMethod a:hover {
    font-style: normal;
    text-decoration: none;
}
td#sobi2PaymentMethodBank,
td#sobi2PaymentMethodPayPal {
    width: 60%;
    margin-top: 15px;
    border-style: none;
}
td#sobi2PaymentMethodBank b {
    padding-bottom: 3px;
    display: block;
}

Style for Searching

table.sobi2eSearchForm {
    width: 95%;
    margin-left: 5px;
}
span#sobi2SearchResultsSerchingString {
    font-weight: bold;
}
div#sobiSearchResponseContainer table {
    width:95%;
}

Styles for the new extended search function

Height of the Div ^container of the category chooser

div#sobiSearchFormCatsSelection { } 

Select boxes with categories

.catChooseBox { }
#sobiSearchFormExtOptToggle {
    display: inline;
}
div#SobiSearchForm2dropsy { margin-left: 10px; }
td#sobi2eSearchEmptyCell { width: 50%; } 

Style for the Menu Module

div.sobi2MenuMod {
    margin-bottom: 8px;
    margin-top: 10px;
}

Style for the Search & Add Entry Links

a.sobi2MenuModA {
    margin-left: 20px;
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
}

Style of dTree 2.05

dtree Copyright (c) 2002-2003 Geir Landrï

.dtree {
    font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
    font-size: 11px;
    color: #666;
    white-space: nowrap;
    overflow: auto;
}
.dtree img {
    border: 0px;
    vertical-align: middle;
}
.dtree a {
    color: #333;
    text-decoration: none;
    font-weight: normal;
}
.dtree a.node,
.dtree a.nodeSel {
    white-space: nowrap;
    padding: 1px 2px 1px 2px;
}
.dtree a.node:hover,
.dtree a.nodeSel:hover {
    color: #333;
    text-decoration: underline;
}
.dtree a.nodeSel {
    background-color: #c0d2ec;
}
.dtree .clip { overflow: hidden; }

Styles for SigsiuTree

.sigsiuTree {
    font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
    font-size: 11px;
    color: #666;
    white-space: nowrap;
    overflow: auto;
}
.sigsiuTree img {
    border: 0px;
    vertical-align: middle;
}
.sigsiuTree a {
    color: #333;
    text-decoration: none;
    font-weight: normal;
}
.sigsiuTree a.node,
.sigsiuTree a.nodeSel {
    white-space: nowrap;
    padding: 1px 2px 1px 2px;
}
.sigsiuTree a.node:hover,
.sigsiuTree a.nodeSel:hover {
    color: #333333;
    text-decoration: underline;
}
.sigsiuTree a.nodeSel {
    background-color: #c0d2ec;
}
.sigsiuTree .clip {
    overflow: hidden;
}
div.sigsiuTree a,
.sigsiuTree a,
a.treeNode:hover,
a.treeNode,
a.treeNode:visited {
    color: #333333 !important;
    text-decoration: none !important;
    font-weight: normal !important;
}
a.treeNode:active,
a.treeNode:focus {
    color: #333333;
    text-decoration: none;
    font-weight: normal;
    background-color: #c0d2ec;
}

Styles for custom listings

div.sobi2CustomListingCatsHeader,
div.sobi2CustomListingItemsHeader {
    padding-left: 5px;
    margin-top: 5px;
    margin-bottom: 10px;
}
div.sobi2CustomListingHeader {
    padding-left: 5px;
    font-size: 15px;
    margin-bottom: 15px;
    margin-top: 5px;
}
div#sobi2AlphaLinks {
    width: 98%;
    text-align: center;
    padding: 5px;
    padding-bottom: 15px;
}

Style for the plugin container

table.sobi2Listing_plugins {
    border-style:none;
    width: 98%;
    padding-left: 8px;
}
div.sobi2FormTabHeader {
    padding: 5px 2px 2px 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
}
div.sobi2FormtabContent {
    overflow: hidden;
    margin-left: 5px;
    margin-top: 5px;
}

Digg!Del.icio.us!Google!Facebook!Slashdot!Netscape!Technorati!Yahoo!Ma.gnolia!
 

User Feedback

Awesome - Monday, 03 December 2007

Holy , this is one of the best J! components on the market - and this for free !
Its a kind of complex but easy to use directory software and fits a wide range of possibilities.
Superb and quick Support via Forum. Rich and useful plugins (Some are commercial). Give it a try and you'll love it...

 
Respect - Wednesday, 14 November 2007

This component is the best free Joomla component. SOBI2 has a framework for endless possibilities. This is the heven for every good developer.
I recommend to every person wanting to build a professional directory. Respect for the developers for the great component and for the best (and free) support I ever seen.

 
1st Class component - Monday, 12 November 2007

Fabulous and offers extras that I hadn´t even thought of using until I saw them.
I´m a Joomla! webmaster novice with only a few months experience and this was simple to install, easy to configure (and the options are multiple and useful) and I think looks great too.

 
Long time user - Thursday, 08 November 2007

What can be said this has to be the most used component on Joomla. If not a very close second :) The community is great, the dev team actually continues to work hard on the project and making changes. I sure hope Joomla is smart enough to change the GPL otherwise we will loose a wonderful component soon.
Oh yeah and its FREE what else can I say!

 
Excellent Directory Component - Tuesday, 30 October 2007

I have played with this component on and off for some time. The latest version is great. Added a couple of thing including the Alpha Index which on a larger directory I think is important. The Captcha code is handy too. The admin is also greatly improved.

 
Free, professional, many functions - Sunday, 07 October 2007

I finally took the moment to register myself here, only to review and rate Sobi2. In the beginning i was lost with this component, so many options!! Taking a moment to read the Sobi2 Wiki, and with the great and fast help of the people (neo and trinity) of the Sobi forum..i got the layout exactly that i needed..this component is much more than some company index..im using it for an music album section! This component is indeed one of the most professional extensions for free! You guys are doing a great job..two thumbs up!!

 
Best ever ... - Monday, 24 September 2007

I just wondering why this extension is not a editors pick.
This is the best extension I ever seen. And not just only this exetnsion is great. The support is much better as many commercial products have. Even if You have problems with SOBI2, you will have the solution for this problem in less than 24 hours.
Thank you very much.

 
Powerful, flexible, and easy to use! - Friday, 21 September 2007

I've used SOBI2 before for the basic business indexing purpose it was built for, and it works great out of the box. There are plenty of settings to tweak and adjust to get your site running exactly how you need.

 
This is an excellent extension - Monday, 17 September 2007

It's simple the best directory component available.
If you want a online directory site, then this is the one to use. It is very simple and fast to install. The support in sisiu forum is really great. Since the RC 2.8.0 this extension has all featured which an directory really need: search in categories, check boxes group with multiple selection, and search in categories. Thanks an Trinity and Neo :-)

 
Best Component EVER!!!! - Wednesday, 08 August 2007

I think my title says it all, this really is the BEST component out there, and I have used many. Not only is the component easy to install, it is also easy to use, easy to customise, and to top it all off - and this is why this is the BEST - it has Excellent support from Trinity and Neo, second to none.

 
Bad Ass Software! - Tuesday, 31 July 2007

We needed a quick and dirty directory for a video based site.
When this project started there was a need for a Business Directory which is why this project started. But now the project is far beyond a business directory. Its way more useful as a multi-media directory.
Took me 1 work day to complete this site!

 
Excellent through and through! - Friday, 06 July 2007

A superb component that just keeps getting better and better! Unbelievable array of configuration options make this a very scalable component indeed.
Quite simple to use considering the amount of options that can be configured, and what can't be done via the admin panel, can (with some basic coding skill) be achieved with simple mods to the very well commented code.

 
Great Extension - Friday, 06 July 2007

I am just going to write a short kudos to the developers here. This is one of the best business directory listing components I have found. I have been searching for quite some time for a component with the features I needed and this one did the job.

 
Outstanding Component! - Thursday, 05 July 2007

After looking for a component like this for quite some time, I am thrilled with my new installation of SOBI 2. The authors have done an incredible job of combining power with ease of use, which is often a difficult task.

 
Kudos to Sigrid and Radek - Wednesday, 30 May 2007

Sobi is flexible, offering broad customization through its backend and CSS templates w/o ever having to enter the arcane world of the files themselves (although, if you are able and willing to go there, the opportunities to express creativity are seemingly boundless). The program produces a wide variety of directories with simplicity or complexity of content and bare-bones or elegancy of appearance limited solely by the user's imagination and effort.

 
Diamond in the rough! - Sunday, 27 May 2007

I use SOBI2 on all my community websites. I have found it to be the most versatile directory component for Joomla, especially with the latest versions' templating system. Also, unlike other directory scripts, SOBI's developers are actively developing the script and participating in their support forums.

 
This is THE directory for Joomla! - Wednesday, 23 May 2007

I have tried quite a few different systems with Joomla! for directories but Sobi2 takes the cake. not only is this an excellent directory component but it also allows you to make a few dollars offering listings. The support forum and general Sobi community is excellent. Get this if you are looking for a directory for your site.

 
Great component - Wednesday, 11 April 2007

Genuinly very very well. A lot of useful work was done. Good and useful features, everything runs without problems.

 
Great work - Friday, 02 March 2007

Haven't seen such a good working component in a while. Everything you need for a Business Index and more. I really like the gallery.
Just download and install. If you get stuck, check the forum. The answers are there, so their support is also awesome. Really guys great job.

 
Excellent Link Directory - Full Options - Wednesday, 07 February 2007

I just downloaded this Component, took a good look at its functionality, and immediately sent a donation to the developers (you should too). I recently did a big time search for a fully-featured, ecommerce ready link directory and bought one for our site.

 
SOBI Should be Editors Pick - Saturday, 02 December 2006

I could only see advantages in using SOBI.
-Active Forum Support. :)
-Easiest way to manage online business directory.
-Most important of all, SOBI is "Always Updated!".

 
Professional Component for Free - Tuesday, 14 November 2006

A few days ago, I was browsing the Joomla! extensions site, seen SOBI for the first time, and decided I would check it out. All I can say is wow! I may need to customize a couple things, but as a free Open source component, I have to admit this is about the most functional and well-built as I have ever seen.

 
Big thank you - Tuesday, 14 November 2006

I can't belive how fast joomla and sobi2 got me up and running with a website. I just needed a very quick and dirty method to store all my business cards to share with my friends, they always like me to refer who I use. Anyhow a big thank you and no hesitations to donate.

 
Comparable to Mosets Tree - Sunday, 12 November 2006

I was definitely initially impressed. The component has a wide range of options, and will work in many situations. From what I see, you could even recreate the Joomla! Extensions site with SOBI2!

 
Wow - Monday, 06 November 2006

I’m very impressed with the amount of thought put in to this extension. The configuration is simple and easy to follow. The layout works great and flows well. For sure one of the best extensions I’ve seen to date.

 
SOBI 2 is Great! - Wednesday, 01 November 2006

I had my doubts about this, but it ended up being excellent. I loaded it and set it up very easily. I had an issue with my sites template script and Trinity figured it out immediately. I am so happy this is a free extension. I look forward to see what they come up with next!

 
Wins the "Quality Crafted" Award.. - Wednesday, 01 November 2006

In a computer driven world, designing for enduser ease of use is imperative. Learning how to write programs/software in a pattern that replicates how users will think and behave (so that using the program/software is easy)is fundamental.

 
Excellent - Wednesday, 01 November 2006

While I haven't spent a lot of time with it yet, it has some very useful configuration options and features, and what is even better is the fact that the component is actively being developed with very useful plugins.

 
Wow - Sunday, 22 October 2006

Sobi 2 is outstanding. I was up and running in no time. Easy install easy use.

 
Stand Up for this component - Wednesday, 18 October 2006

This is a great component well designed, easy interface, and with a lot of help, greetings from Mexico.