| | | |  |  | |  |
31.01.2005, 16:57
|
#1 (permalink)
| | Senior Mamber
Join Date: Apr 2004 Location: Belgium
Posts: 150
| css design for 1 module? hi guys,
normally, the css layout takes controle over the entire website
I have a module installed on user3 and i would like to make the links (font) more eyecatching.
It's just a module with some translated links in it but the most important links from the site
How can i do this?
The css makes the links a bit small but i cannot change this otherwise the whole layout changes wirth it. |
| |
31.01.2005, 18:43
|
#2 (permalink)
| | Senior Mamber
Join Date: Apr 2004
Posts: 181
| Re: css design for 1 module? Hello,
Try to use different css at "Module Class Suffix:" in the parameters section. Once you define the class, write the link behaviours for that particular class. May be as follows,
If the class name is "moduletableMyModule" then you can write link behaviour for that particular module as ,
table.moduletableMyModule a:link
{
font-size : 12px;
}
I have not checked it. please check wheter it works.
Thank you,
Regards,
Vrajesh |
| |
31.01.2005, 18:57
|
#3 (permalink)
| | Senior Mamber
Join Date: Apr 2004 Location: Belgium
Posts: 150
| Re: css design for 1 module? it is a custom made module
i think i cannot change that module class suffix
tc |
| |
31.01.2005, 19:08
|
#4 (permalink)
| | Senior Mamber
Join Date: Apr 2004
Posts: 181
| Re: css design for 1 module? Did you created the module by "New module" in the site modules section? can you show your site that is using the module?
Regards,
Vrajesh |
| |
31.01.2005, 19:31
|
#5 (permalink)
| | Senior Mamber
Join Date: Apr 2004 Location: Belgium
Posts: 150
| Re: css design for 1 module? nope
i wrote this module myself because it has to be translated
otherwise it was easy
look here www.plotsandprojects.com
it is the upper module in the center "find your property"
tc |
| |
31.01.2005, 20:12
|
#6 (permalink)
| | Junior Mamber
Join Date: Oct 2004
Posts: 28
| Re: css design for 1 module? you can allways find module property ModuleClassSufix, it doesnt matter if it si custom made or anything else |
| |
31.01.2005, 21:34
|
#7 (permalink)
| | Senior Mamber
Join Date: Apr 2004
Posts: 181
| Re: css design for 1 module? Ok,
Though there is no parameter for custom css class, you can hardcode the mod php file.
[PLEASE BACKUP THE MOD PHP FILE BEFORE EDITING, IF ANYTHING GOES WRONG, YOU CAN ALWAYS REVERT]
Enter as follows
$moduleclass_sfx = 'mycss';
This line will make the table class rendered as moduletablemycss . So, now you can write in css as,
table.moduletablemycss a:link
{
font-family: Georgia;
font-size : 14px;
}
I hope this helps,
Regards,
Vrajesh |
| |
01.02.2005, 08:50
|
#8 (permalink)
| | Senior Mamber
Join Date: Apr 2004 Location: Belgium
Posts: 150
| Re: css design for 1 module? Quote: |
Originally Posted by vrajesh Ok,
Though there is no parameter for custom css class, you can hardcode the mod php file.
[PLEASE BACKUP THE MOD PHP FILE BEFORE EDITING, IF ANYTHING GOES WRONG, YOU CAN ALWAYS REVERT]
Enter as follows
$moduleclass_sfx = 'mycss';
This line will make the table class rendered as moduletablemycss . So, now you can write in css as,
table.moduletablemycss a:link
{
font-family: Georgia;
font-size : 14px;
}
I hope this helps,
Regards,
Vrajesh | I tried it but nothing happened
$moduleclass_sfx = 'mycss'; in the module.php
and
table.moduletablemycss a:link
{
font-family: Georgia;
font-size : 14px;
}
in the template_css file
was that correct?
tc |
| |
01.02.2005, 10:30
|
#9 (permalink)
| | Senior Mamber
Join Date: Apr 2004
Posts: 181
| Re: css design for 1 module? Which mod file you have edited?
Generally there are many modules come along with Hot property. You have to edit the mod php file which you installed to display the top module.
Thank you,
Regards,
Vrajesh |
| |
01.02.2005, 10:33
|
#10 (permalink)
| | Senior Mamber
Join Date: Apr 2004 Location: Belgium
Posts: 150
| Re: css design for 1 module? Quote: |
Originally Posted by vrajesh Which mod file you have edited?
Generally there are many modules come along with Hot property. You have to edit the mod php file which you installed to display the top module.
Thank you,
Regards,
Vrajesh | Hi Vrajesh
i have modified the custom module itself
tc |
| | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT +2. The time now is 10:03. | | | |