Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    General discussion    Topic: How to change Last comments module?
Pages: [1]   Go Down
  Print  
Author Topic: How to change Last comments module?  (Read 4572 times)
0 Members and 1 Guest are viewing this topic.
Damuz
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« on: September 23, 2009, 18:21:28 »

I tried to change style.css, but I can not find the elements to change font size and weight. Any help?
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: September 23, 2009, 20:40:06 »

You can set these params in your template's css file. Open page with module, remember used classes and setup styles...
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
MusicInMe
Newbie
*

Karma: 0
Offline Offline

Posts: 5


Email
« Reply #2 on: September 30, 2009, 15:16:23 »

You can set these params in your template's css file. Open page with module, remember used classes and setup styles...
Hello!

I'm trying to do as you saying, and have no idea how the code should looks like.
F.e. I would like to change color of date and span class used in module is:

Code:
span class="jcl_date"

When I put  to my template.css  f.e.:

Code:
jcl_date {font-size: 10px;color: #999;margin: 0;padding: 0 0 0 12px;background: url(images/jc_date.gif) no-repeat center left}

nothing has changed. Should this code have other parameters?

Btw I love this component! Have anything i could expected  Smiley
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #3 on: September 30, 2009, 15:42:06 »

You need use:

Code: (css)
.jcl_date {font-size: 10px;color: #999;margin: 0;padding: 0 0 0 12px;background: url(images/jc_date.gif) no-repeat center left}
or
Code: (css)
span.jcl_date {font-size: 10px;color: #999;margin: 0;padding: 0 0 0 12px;background: url(images/jc_date.gif) no-repeat center left}
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Damuz
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« Reply #4 on: September 30, 2009, 16:00:03 »

You can set these params in your template's css file. Open page with module, remember used classes and setup styles...
Hello!

I'm trying to do as you saying, and have no idea how the code should looks like.
F.e. I would like to change color of date and span class used in module is:
Code:
span class="jcl_date"
When I put  to my template.css  f.e.:
Code:
jcl_date {font-size: 10px;color: #999;margin: 0;padding: 0 0 0 12px;background: url(images/jc_date.gif) no-repeat center left}
nothing has changed. Should this code have other parameters?
Btw I love this component! Have anything i could expected  Smiley

There is no tag like jcl_ in template.css. I tried to change moduletable but it doesn't work.
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #5 on: September 30, 2009, 16:39:09 »

There is no tag like jcl_ in template.css. I tried to change moduletable but it doesn't work.
yes, there is no such class in template css file.. but you can easily add it to template.css...
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
MusicInMe
Newbie
*

Karma: 0
Offline Offline

Posts: 5


Email
« Reply #6 on: September 30, 2009, 17:13:25 »

Thx!
I've got it now!  Cheesy

First I was trying to put this code in css file in jcomments dir, but I had to add a path in module php file. Couldn't figure it out. So I've added code to my site ccs file and it's work.

Thx again Smiley
Logged
Damuz
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« Reply #7 on: October 01, 2009, 14:39:20 »

I have addded the line

.jcl_objtitle {
   font-size: 12px;
   color: #000000;
   margin: 0;
   padding: 0 0 0 left;
   font-weight: bold;
   line-height: normal;
   text-align: left;
}

to the site template.css, but there is not any change. Any idea  Sad
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #8 on: October 01, 2009, 14:44:49 »

Damuz, at first try to refresh page in browser without cache (Ctrl-F5), may be your old css file is cached. If this isn't fix problem, show me link to site and I'll check...
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Damuz
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« Reply #9 on: October 01, 2009, 16:07:26 »

Damuz, at first try to refresh page in browser without cache (Ctrl-F5), may be your old css file is cached. If this isn't fix problem, show me link to site and I'll check...

The font size is changed (12 px), but not the weight (bold) ...

http://www.sekularizam.org/

Last comments module is below B/W label KOMENTARI.
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #10 on: October 01, 2009, 16:11:37 »

The font size is changed (12 px), but not the weight (bold) ...
this can be related with style cascading - some css styles defined below this style can set their own values to weight...
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: How to change Last comments module?
 
Jump to: