Re: Position style

  • Gabri
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 8 months ago #17955 by Gabri
Position style was created by Gabri
Hi, is it possible to have the style (the gray background for text and red background for the title) of left/right panel also on advert1/2/3?
Thanks

Please Log in to join the conversation.

More
12 years 8 months ago #17962 by ivan.milic
Replied by ivan.milic on topic Re: Position style
Of course you can control template style1,style2,style3 and style4 from template parameters if you don't use pre-defined style. Do not mix this terms first are module suffixes that you can add to module to customize its look , second are general pre-defined styles that affect looks of whole site.
If you use predefined style you can edit /styles/styleX.php to change values for suffix styles.

Please Log in to join the conversation.

  • Gabri
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 8 months ago #17971 by Gabri
Replied by Gabri on topic Re: Position style
Thanks you for the quickly reply.
Probably I did not express myself well:
I want to made the module in position advert 1/2/3 like the one of left/right column.
The style of theme are ok, I only want to change the look of advert position that, from default, where with black title and white background..
In few words I want to put a module in advert but with the same appearence of right.
I hope that I have explained it well

Please Log in to join the conversation.

More
12 years 8 months ago #17976 by ivan.milic
Replied by ivan.milic on topic Re: Position style
Put :

-style1
-style2
or
-style3

in module class suffix.

Please Log in to join the conversation.

  • Gabri
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 8 months ago #17983 by Gabri
Replied by Gabri on topic Re: Position style
Sorry but I have tried this yet and it doesn't work..
It's like advert position has a its own color theme

Please Log in to join the conversation.

More
12 years 8 months ago #17986 by ivan.milic
Replied by ivan.milic on topic Re: Position style
Open template_css.css, and find this:
Code:
/* modules */ .column_left div.moduletable, .column_right div.moduletable { padding:10px 0 20px 0; margin-bottom:15px; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius: 10px; position:relative; } .column_left div.moduletable h3, .column_right div.moduletable h3 { margin:0 -10px 18px -10px; padding:5px 0 3px 0; font-weight:normal; text-align:center; font-size:20px; line-height:20px; -moz-border-radius:10px; -webkit-border-radius:10px; font-family: 'Cuprum', arial, serif; position:relative; } .column_left div.moduletable-lookup, .column_right div.moduletable-lookup { padding:10px 0 20px 0; margin-bottom:15px; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius: 10px; position:relative; } .column_left div.moduletable-lookup h3, .column_right div.moduletable-lookup h3 { margin:0 -10px 18px -10px; padding:5px 0 3px 32px; font-weight:normal; text-align:left; font-size:14px; } .column_left div.moduletable-style2, .column_right div.moduletable-style2 { padding:10px 0; margin-bottom:15px; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius: 10px; position:relative; } .column_left div.moduletable-style2 h3, .column_right div.moduletable-style2 h3 { margin:0 -10px 18px -10px; padding:5px 0 3px 0; font-weight:normal; text-align:center; font-size:20px; line-height:20px; -moz-border-radius:10px; -webkit-border-radius:10px; font-family: 'Cuprum', arial, serif; position:relative; } .column_left div.moduletable-style3, .column_right div.moduletable-style3 { padding:10px 0; margin-bottom:15px; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius: 10px; position:relative; } .column_left div.moduletable-style3 h3, .column_right div.moduletable-style3 h3 { margin:0 -10px 18px -10px; padding:5px 0 3px 0; font-weight:normal; text-align:center; font-size:20px; line-height:20px; -moz-border-radius:10px; -webkit-border-radius:10px; font-family: 'Cuprum', arial, serif; position:relative; }

you notice tho paths in each entity :

.column_left div.moduletable-styleX....
.column_right div.moduletable-styleX....

insert above each of them one like this:

.bottom div.modulestyleX...

example for:

.column_left div.moduletable h3,
.column_right div.moduletable h3 {...

it should be:

.bottom div.module-style2,
.column_left div.moduletable-style2,
.column_right div.moduletable-style2 {...

then you will able to use suffixes -style1, -style2 , -style3

Please Log in to join the conversation.

Time to create page: 0.094 seconds
Powered by Kunena Forum