- Posts: 30
- Thank you received: 0
Change Colours Of Modules
-
bins
Inactive member - Topic Author
- Member
Less
More
12 years 8 months ago #17536
by bins
Change Colours Of Modules was created 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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 7 months ago #17549
by ivan.milic
Replied by ivan.milic on topic Re: Change Colours Of Modules
yes,
example:
suffix = " red"
in css:
.red{
backgorund-color:#FF0000!important;
}
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
Less
More
- Posts: 30
- Thank you received: 0
12 years 7 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
template_css.css
layout.css
joomla.css
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 7 months ago #17557
by ivan.milic
Replied by ivan.milic on topic Re: Change Colours Of Modules
template_css.css is recommended, any will do.
Please Log in to join the conversation.
-
bins
Inactive member - Topic Author
- Member
Less
More
- Posts: 30
- Thank you received: 0
12 years 7 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.
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 7 months ago #17588
by ivan.milic
Replied by ivan.milic on topic Re: Change Colours Of Modules
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{...
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.214 seconds