Change background to one module only

  • consul
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 3 months ago #32658 by consul
hello, can you tell me please how to change the background of one module? what is the class i should write to change it. i need to have example one in black other in white. in same page.

thank you
regards

Please Log in to join the conversation.

More
11 years 3 months ago #32665 by ivan.milic
Use module class suffix in module settings. Set suffix for first module to " white" and second " black", not first char is blank. Then add this css to template_Css.css:

.white{
background-color:white;
}

.black{
background-color:black;
}
The following user(s) said Thank You: consul

Please Log in to join the conversation.

  • consul
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 3 months ago #32691 by consul
thank you i did before by myself, but it doesn't change color and it gives the word "ribbon" on top. i tried to do in modules not on advert 1 2 3 4 where ribbon wasn't there and it gives me same, no change color and only the word "ribbon" on top of the module.

Please Log in to join the conversation.

  • consul
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 3 months ago #32693 by consul
analizing the report with firefox, it gives me that "ribbon" is: < img alt="ribbon" src="template/hot_destinaions/images/ribbonblack.png">
seems like automatically it creates a connection to a ribbon with the suffix name of the color. infact same happen with _orange - _green _grey etc...


thank you

Please Log in to join the conversation.

More
11 years 3 months ago #32702 by ivan.milic
_green, _grey , _blue, _orange are values you should set on module class suffix field in module settings

Please Log in to join the conversation.

  • consul
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 3 months ago #32704 by consul
please read that answer too #32691

Please Log in to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum