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: Module CSS - Where to find / adapt
Pages: [1]   Go Down
  Print  
Author Topic: Module CSS - Where to find / adapt  (Read 1152 times)
0 Members and 2 Guests are viewing this topic.
Advento
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« on: November 28, 2010, 20:33:24 »

Hello,

the latest-comments-module has some css-styles that don't match my design, does anyone know where to find / adapt this?

It's the css "ul.jclist li", where is "margin-left: 5px !important". This important is the problem, because I can't overwrite it  Angry

Any ideas?
Logged
Advento
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #1 on: November 28, 2010, 20:45:47 »

I found it myself.

There are two solutions:

1) Delete Get-Style-Function

Go to the file

     /.../modules/mod_jcomments/mod_jcomments.php

and delete the following line (3 times):

     modJCommentsHelper::getModuleStyles($params);

You should define your own css-style in your templates css.


2) Adapt css-settings

Open the file from 1), go to the function declaration of "getModuleStyles" and adapt the ul.jclist css-style.

That's it.

Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: Module CSS - Where to find / adapt
 
Jump to: