Knowledgebase
View categorized listing of all common frequently asked questions.
Video Tutorials (jReviews 2.0)
Create a Movie & TV Show review website.
Customize the jReviews themes.
Review user profiles with the Everywhere addon.
Forum
Community forum
Submit a Ticket
Use your client area email to access the ticket system.
Downloads
Guides, modules and more...
CSV Import for Joomla and jReviews
 
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 09:34:48 PM
21662 Posts in 4948 Topics by 2838 Members
Latest Member: davidkan
News: Use your client area email when you sign up to the forum so we can identify you as a trial or licensed user. Otherwise we may not answer your questions.
 
jReviews Support Forum  |  jReviews 1.x  |  Templates  |  change background color need help finding code. « previous next »
Pages: [1]
Author Topic: change background color need help finding code.  (Read 475 times)
maxx
Newbie
*
Offline Offline

Posts: 5


« on: January 25, 2008, 03:09:40 PM »

FIRST I WOULD LIKE TO START OFF SAYING THANX FOR THE GREAT COMPONENT AND AWESOME SUPPORT!!!

I am trying to change the background color in a specific area please see following page:
 http://www.spacitynitelife (dot) com/component/option,com_jreviews/task,listsection/section,6/dir,1/Itemid,49/

I am trying to change the white/ light grey boxes to a blue so the text can be readable but my problem with that is i dont know what code to change . I have changed background colors in other sections of jreviews by making changes in (jreviews.css) is this where i need to make the changes for this as well?

Please help identify what CSS and what code i need to modify.

Thanx MaXx
 
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 8593


« Reply #1 on: January 25, 2008, 04:07:44 PM »

listings.css

tr.tableview_row2 { background-color: #DFDFDF; }
Logged

Please take the time to vote and to write a review: http://extensions.joomla.org
Reviews Ahoy! - Submit your jReviews site here.
maxx
Newbie
*
Offline Offline

Posts: 5


« Reply #2 on: January 25, 2008, 05:01:18 PM »

Alejandro, you are awesome Thanx for all the support

MaXx
Logged
bpodraza
Newbie
*
Offline Offline

Posts: 2


« Reply #3 on: February 06, 2008, 09:05:19 AM »

Alejandro, now how could I do that so each section has a different color? For Example, Restaurants are brown, Hotels are Green, and so forth.

Will I need to assign a unique .css to each section? If so, how is that done? I've been trying to figure that out.

Thanks in advance.
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 8593


« Reply #4 on: February 06, 2008, 09:39:41 AM »

If you want to do this within the same list, then you would have to have select field where you specify the type of listing (rest, hotels, etc). And then use that field to change the css.

For example.

Field name = jr_type

The options for the field are (Text/Value):

1) Restaurant/restaurant
2) Hotel/hotel
3) etc.

In the list template or anywhere else you add a new class to change the background color:

class="existing_class {JR_TYPE}"

You can have more than one class in there.

Then in the listings.css file

.restaurant {background-color:green;}
.hotel {background-color:brown;}
Logged

Please take the time to vote and to write a review: http://extensions.joomla.org
Reviews Ahoy! - Submit your jReviews site here.
bpodraza
Newbie
*
Offline Offline

Posts: 2


« Reply #5 on: February 06, 2008, 10:31:53 AM »

Nevermind, I figured it out. I was trying to put "listings_food" in the suffix. Turns out all I needed was "_food" without the "listing" and .css.

Logged
maxx
Newbie
*
Offline Offline

Posts: 5


« Reply #6 on: February 10, 2008, 02:55:01 PM »

OK i need a little more help Please...
I am trying to find the file and code to modify to change text color on the "submit new listing" page.

Thanx Maxx
« Last Edit: February 10, 2008, 03:17:48 PM by maxx » Logged
Alejandro
Global Moderator
Administrator
Hero Member
*****
Offline Offline

Posts: 8593


« Reply #7 on: February 11, 2008, 10:21:55 AM »

You need to read this article so you can try identify classes and files by yourself:

http://support.reviewsforjoomla.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=15&nav=0

I think you are looking for the .label class in jreviews.css.
Logged

Please take the time to vote and to write a review: http://extensions.joomla.org
Reviews Ahoy! - Submit your jReviews site here.
Pages: [1]
« previous next »
    Jump to: