separate css

member
member
Offline
0
hi
i installed music collection component and i found out that the letter bar use the same chart of my css template



and by fixing the letter bar i have to change the template css and by doing that i will messed up my template

so is there any one can help me with any suggestion how to separate css or changing letter bar chart to something else

thanks.
Responses (4)
  • Accepted Answer

    Monday, May 25 2009, 08:56 AM - #Permalink
    0
    the letter bar is created in
    components/com_muscol/helpers/helpers.php

    find where the main "ul" element is created and change its CSS class (I mean, give it a different name, if the problem was this).

    then just change the css properties the way you like...
    :)
    The reply is currently minimized Show
  • Accepted Answer

    member
    member
    Offline
    Monday, May 25 2009, 02:19 PM - #Permalink
    0
    hi germi
    thanks for your support

    i wish if it was just about class
    i had the same problem with other module
    and i fix it by changeing the ul to p and li to span
    from both css module and html

    the probleme is in template css it declared ul and li for all the site basic list style

    so it dosen't matter what class i add it will use the template css

    what if i change the ul to p and li to span is that will work.

    thanks for your support
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 25 2009, 02:23 PM - #Permalink
    0
    well, you can try, but I think this does not have to be changed. you can have a global definition of the "ul" element, but then overwrite it just for the ul class="inicials" element

    just write (after the declaration of properties for the UL on the CSS file)

    ul.inicials{
    whatever that overwrites previous declarations
    }

    you know what I mean?

    you really dont need to change ul/li for div/span (but yes, that may be an option)
    The reply is currently minimized Show
  • Accepted Answer

    member
    member
    Offline
    Monday, May 25 2009, 05:33 PM - #Permalink
    0
    yes that fix the problem

    thanks you
    The reply is currently minimized Show
Your Reply