Change Colours Of Modules

  • bins
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 11 months ago #17536 by bins
Is there an easy way to change the colour of the modules, using the 'Module Class Suffix'?

Please Log in to join the conversation.

More
12 years 11 months ago #17549 by ivan.milic
yes,

example:

suffix = " red"


in css:

.red{
backgorund-color:#FF0000!important;
}
The following user(s) said Thank You: bins

Please Log in to join the conversation.

  • bins
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 11 months ago #17551 by bins
Replied by bins on topic Re: Change Colours Of Modules
Thanks, but which file does it go into?
template_css.css
layout.css
joomla.css

Please Log in to join the conversation.

More
12 years 11 months ago #17557 by ivan.milic
template_css.css is recommended, any will do.

Please Log in to join the conversation.

  • bins
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 11 months ago #17570 by bins
Replied by bins on topic Re: Change Colours Of Modules
I must be doing something wrong!

I have put it in all of the files and entered:
red
-red
.red
_red
as the Module Class Suffix and nothing changes!

FYI, I am using a custom HTML and Acymail module.

Please Log in to join the conversation.

More
12 years 11 months ago #17588 by ivan.milic
there is one blank char at start in suffix value, to explain:

without suffix:

<div class="normal"

with suffix:

<div class="normalsuffix"

you add blank at start so you would get:

<div class="normal suffix"

so you can style example div using:

.suffix{...

Please Log in to join the conversation.

Time to create page: 0.300 seconds
Powered by Kunena Forum