Change background to one module only

More
12 years 3 weeks ago #32708 by ivan.milic
So you put :
Code:
<img src="templates/hot_destinations/images/ribbon_orange.png" alt="ribbon">

as first content in module HTML, then you set module class suffix to _orange and that should work. If you see text "ribbon" that means that img src is not correct so alt attribute value is shown. Try to use absolute value for img src

Please Log in to join the conversation.

  • consul
    Inactive member
  • Topic Author
  • Member
  • Member
More
12 years 3 weeks ago #32735 by consul
thank you for your answer and patience.
the situation is that i just want to change the color background of the module and i don't want to have any ribbon... so if i do as you suggested in first answer, i found the text ribbon over the module. I know i can add an image with that name, but i don't want any ribbon to appear. at all.

thank you

Please Log in to join the conversation.

More
12 years 3 weeks ago #32739 by ivan.milic
Just overwrite that then if you need suffix field to paint module background.

Please Log in to join the conversation.

More
11 years 11 months ago - 11 years 11 months ago #34060 by peterk2006
Hi! Tell me how to correct this inaccuracy? www.anapek.ru
Attachments:
Last edit: 11 years 11 months ago by peterk2006.

Please Log in to join the conversation.

More
11 years 11 months ago #34072 by ivan.milic
add this to template_css.css:

.hot_ribbon IMG{
margin-top:-5px;
}

Please Log in to join the conversation.

More
11 years 11 months ago #34094 by peterk2006
Thanks!

Please Log in to join the conversation.

Time to create page: 0.199 seconds
Powered by Kunena Forum