Change or add module back ground color

  • 2012
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 4 months ago #32477 by 2012
Hi

I like to add or change the module back ground color of sparky and hot joomla templates.

Please Log in to join the conversation.

More
11 years 4 months ago #32481 by ivan.milic
In sparky eve module position container has class .mp_<postion name>, so to change for example background of position left you could add css like this to template_css.css:

.mp_left{
background:red;
}

for modules in that position:

.mp_left > DIV > DIV{
background:red;
}

If you want to change background of single module set some module suffix in module settings like this:
" .my_module_with_bg"

not first letter is blank,

then add css like this:

.my_module_with_bg{
background:red;
}

Please Log in to join the conversation.

  • 2012
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 4 months ago #32487 by 2012
I test it with sparky free template in joomla 3.0. But module left background no change or still transparent ??
Also change the word red with #cccccc, but no change seen.
Pls advise.

Please Log in to join the conversation.

More
11 years 4 months ago #32490 by ivan.milic
Try:

.mp_left > DIV > DIV{
background:red!important;
}

Please Log in to join the conversation.

  • 2012
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 4 months ago #32492 by 2012
OK. I got it when I put the code under /******* CUSTOM ROWS AND CELLS STYLING *******/ heading.
Thanks a lot. :)

Please Log in to join the conversation.

Time to create page: 0.157 seconds
Powered by Kunena Forum