- Posts: 10
- Thank you received: 0
modules backgrounds
-
slobodnjak
Inactive member - Topic Author
- New Member
Less
More
13 years 2 months ago #11301
by slobodnjak
modules backgrounds was created by slobodnjak
Is there any way to change a background color of User 9-16 and/or footer 1-4?
I tried to change in layout.css and tamplate_css but all I manage to change background for all 4 modules in line but not each of them separate.
And how I can activate stylings with those ribbons (like "hot" etc)?
I tried to change in layout.css and tamplate_css but all I manage to change background for all 4 modules in line but not each of them separate.
And how I can activate stylings with those ribbons (like "hot" etc)?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 2 months ago #11315
by ivan.milic
Replied by ivan.milic on topic Re: modules backgrounds
If you want to change background of separate modules you can define some css classes like this:
.my_red{
background-color:red;
}
and the use suffix like this for module:
" my_red"
, for other question module should be in advert positions (1-4),
and you apply suffix like this:
"_orange"
"_grey"
"_blue"
"_green"
corresponding images are:
templates/hot_destinations/images/ribbon_orange.png
templates/hot_destinations/images/ribbon_grey.png
...
if you would like to combine this two thing you would use suffix:
"_orange my_red"
.my_red{
background-color:red;
}
and the use suffix like this for module:
" my_red"
, for other question module should be in advert positions (1-4),
and you apply suffix like this:
"_orange"
"_grey"
"_blue"
"_green"
corresponding images are:
templates/hot_destinations/images/ribbon_orange.png
templates/hot_destinations/images/ribbon_grey.png
...
if you would like to combine this two thing you would use suffix:
"_orange my_red"
Please Log in to join the conversation.
-
slobodnjak
Inactive member - Topic Author
- New Member
Less
More
- Posts: 10
- Thank you received: 0
13 years 2 months ago #11329
by slobodnjak
Replied by slobodnjak on topic Re: modules backgrounds
Ok, thanks, that is close, but stil remain little white frame from white background... Is it possible to somehow remove (or change) that white background completely to some other color (or even to make module transparent)?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 2 months ago #11330
by ivan.milic
Replied by ivan.milic on topic Re: modules backgrounds
You can change background from template parameters or by editing /styles/styleX.php if you use pre-defined style.
Then you can put 1x1px transparent image as background.
Then you can put 1x1px transparent image as background.
Please Log in to join the conversation.
-
slobodnjak
Inactive member - Topic Author
- New Member
Less
More
- Posts: 10
- Thank you received: 0
13 years 2 months ago #11334
by slobodnjak
Replied by slobodnjak on topic Re: modules backgrounds
But in template parameters I can change background only for modules User 5-8...
I am trying to find out how to change it for User 9-16 (and/or Footer 1-4)
Of course if it is possible to do it in some simple way...
Thanks
I am trying to find out how to change it for User 9-16 (and/or Footer 1-4)
Of course if it is possible to do it in some simple way...
Thanks
Please Log in to join the conversation.
-
slobodnjak
Inactive member - Topic Author
- New Member
Less
More
- Posts: 10
- Thank you received: 0
13 years 2 months ago #11344
by slobodnjak
Replied by slobodnjak on topic Re: modules backgrounds
Just for information... Yor first suggestion worked fine when I removed margin from this style in template_css
div.moduletable h3, div.moduletable_orange h3, div.moduletable_grey h3, div.moduletable_blue h3, div.moduletable_green h3
Then new color background coverd whole module
Thanks
div.moduletable h3, div.moduletable_orange h3, div.moduletable_grey h3, div.moduletable_blue h3, div.moduletable_green h3
Then new color background coverd whole module
Thanks
Please Log in to join the conversation.
Time to create page: 0.149 seconds