- Posts: 43
- Thank you received: 0
Reducing or limiting the height of a module?
-
orish
Inactive member - Topic Author
- Member
Less
More
12 years 6 months ago #19297
by orish
Hi, I'd like to remove the logo+user3 modules, or perhaps just reduce the height.
I'm now using a vertical menu that goes into the left module, but there's now a big horizontal space between the top bar and the content.
Also, I set the global vertical cell padding to 0, but there's still quite a big space between the top of a module and the first line of text. How do I reduce this space?
Finally, how do I set the maximum height of a module (even if there is more text than can fit in the module)? Either the text can be truncated, or perhaps a scroll bar can appear...
I looked in template_css.php (as suggested in another forum posting), but the blankie template files are a bit different from the other templates.
Reducing or limiting the height of a module? was created by orish
Hi, I'd like to remove the logo+user3 modules, or perhaps just reduce the height.
I'm now using a vertical menu that goes into the left module, but there's now a big horizontal space between the top bar and the content.
Also, I set the global vertical cell padding to 0, but there's still quite a big space between the top of a module and the first line of text. How do I reduce this space?
Finally, how do I set the maximum height of a module (even if there is more text than can fit in the module)? Either the text can be truncated, or perhaps a scroll bar can appear...
I looked in template_css.php (as suggested in another forum posting), but the blankie template files are a bit different from the other templates.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 months ago #19316
by ivan.milic
Replied by ivan.milic on topic Re: Reducing or limiting the height of a module?
Layout is defined here:
$layoutdesign = $this->params->get("layoutdesign", "+row_style1+top1=7=0,top2=3=0,top3=2=0&+top_menu+logo=2=0,user3=10=0&+row_style2+advert1=7=0,advert2=5=0&+row_style2+left=2=0,joom_content=5=0,right=5=0&+hot_map+user1=12=0&+row_style2+bottom1=4=0,bottom2=4=0,bottom3=4=0&+row_style3+copyright=6=0,bottom12=6=0");
this would be second grid row of your template containing logo position:
+top_menu+logo=2=0,user3=10=0
to remove logo position change it to this:
+top_menu+user3=12=0
then user3 will occupy 12/12 of template width.
$layoutdesign = $this->params->get("layoutdesign", "+row_style1+top1=7=0,top2=3=0,top3=2=0&+top_menu+logo=2=0,user3=10=0&+row_style2+advert1=7=0,advert2=5=0&+row_style2+left=2=0,joom_content=5=0,right=5=0&+hot_map+user1=12=0&+row_style2+bottom1=4=0,bottom2=4=0,bottom3=4=0&+row_style3+copyright=6=0,bottom12=6=0");
this would be second grid row of your template containing logo position:
+top_menu+logo=2=0,user3=10=0
to remove logo position change it to this:
+top_menu+user3=12=0
then user3 will occupy 12/12 of template width.
Please Log in to join the conversation.
-
orish
Inactive member - Topic Author
- Member
Less
More
- Posts: 43
- Thank you received: 0
12 years 6 months ago #19337
by orish
Replied by orish on topic Re: Reducing or limiting the height of a module?
Hi - I'm afraid you didn't understand my question.
I don't want ANYTHING to be in that space where the logo+user3 is. The whole page should move vertically UP to fill the gap.
Also, I'd like to LIMIT the height of a module. How do I do that?
Many thanks,
I don't want ANYTHING to be in that space where the logo+user3 is. The whole page should move vertically UP to fill the gap.
Also, I'd like to LIMIT the height of a module. How do I do that?
Many thanks,
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 months ago #19348
by ivan.milic
Replied by ivan.milic on topic Re: Reducing or limiting the height of a module?
send link
Please Log in to join the conversation.
-
orish
Inactive member - Topic Author
- Member
Less
More
- Posts: 43
- Thank you received: 0
12 years 6 months ago #19361
by orish
Replied by orish on topic Re: Reducing or limiting the height of a module?
My website is
www.liveworkretirethailand.com
. I managed to remove the logo+user row, but I can't remember how I did it.
I think I just made the height 0 and removed any content. Or maybe I unpublished anything that was in the logo or user3 modules.
I still want to know how to set the height for a module. I'd like to fix the height (e.g. 500 pixels) and not allow it to get any bigger than this. If there is more content than will fit in 500 pixels then I'd like to truncate the text, or display a scroll bar. I think there is an HTML/CSS option to do this.
I think I just made the height 0 and removed any content. Or maybe I unpublished anything that was in the logo or user3 modules.
I still want to know how to set the height for a module. I'd like to fix the height (e.g. 500 pixels) and not allow it to get any bigger than this. If there is more content than will fit in 500 pixels then I'd like to truncate the text, or display a scroll bar. I think there is an HTML/CSS option to do this.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 months ago #19370
by ivan.milic
Replied by ivan.milic on topic Re: Reducing or limiting the height of a module?
I don't get which module , but :
.<module postion name>{
height:XXXpx!important;
}
will work, just use right position name. Put that at bottom of template_css.css
.<module postion name>{
height:XXXpx!important;
}
will work, just use right position name. Put that at bottom of template_css.css
Please Log in to join the conversation.
Time to create page: 0.250 seconds