- Posts: 43
- Thank you received: 0
Reducing or limiting the height of a module?
-
orish
Inactive member - Topic Author
- Member
Less
More
12 years 3 hours ago - 12 years 2 hours ago #23983
by orish
Replied by orish on topic Re: Reducing or limiting the height of a module?
Hello again. I gave up trying to fix this problem before. But now I've just re-installed blankie on a fresh website - and I'm having exactly the same problems again.
1. How do I get rid of the line with logo+user3 ?
2. Which file (and path to the file) are the definitions for the layout design?
3. If I want to use my own logo, what is the filename for the logo and which folder is it in? And where are the template definitions for the logo (such as text, font, height, etc.)?
4. If I want to limit the height of a particular horizontal layout (e.g. logo+user3, or advert1+advert2) how do I do this? If the content of the modules exceed the height limit then I want the text either to be truncated (what's the setting for this?) or a vertical scroll bar to appear (how do I select this?).
Please list the files (and which folder to find them in) that need to be edited.
The new (modified) website I'm trying to design is www.thailandmentor.com
Many thanks (again)
Gary
I've found some of the answers already:
1./2. In the file templates/hot_blankie/index.php there's a line to define $layoutdesign:
// template layout
$templateWidth = $this->params->get("templateWidth", "960");
$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");
I changed +top_menu+logo=2=0 to +top_menu=2=0 and then set Top Menu to no-menu in the template layout settings in the joomla administrator template editor.
BTW - there seems to be a small bug in the template editor. Even though I changed the template width to 1032, it's still 960 in the index.php file above. If I go back to the template editor, it's still 1032 - so there must be some other file where this setting is saved... (!)
1. How do I get rid of the line with logo+user3 ?
2. Which file (and path to the file) are the definitions for the layout design?
3. If I want to use my own logo, what is the filename for the logo and which folder is it in? And where are the template definitions for the logo (such as text, font, height, etc.)?
4. If I want to limit the height of a particular horizontal layout (e.g. logo+user3, or advert1+advert2) how do I do this? If the content of the modules exceed the height limit then I want the text either to be truncated (what's the setting for this?) or a vertical scroll bar to appear (how do I select this?).
Please list the files (and which folder to find them in) that need to be edited.
The new (modified) website I'm trying to design is www.thailandmentor.com
Many thanks (again)
Gary
I've found some of the answers already:
1./2. In the file templates/hot_blankie/index.php there's a line to define $layoutdesign:
// template layout
$templateWidth = $this->params->get("templateWidth", "960");
$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");
I changed +top_menu+logo=2=0 to +top_menu=2=0 and then set Top Menu to no-menu in the template layout settings in the joomla administrator template editor.
BTW - there seems to be a small bug in the template editor. Even though I changed the template width to 1032, it's still 960 in the index.php file above. If I go back to the template editor, it's still 1032 - so there must be some other file where this setting is saved... (!)
Last edit: 12 years 2 hours ago by orish.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 11 months ago #23989
by ivan.milic
Replied by ivan.milic on topic Re: Reducing or limiting the height of a module?
Logo output is generated in :
templates\hot_blankie\library\logo.png
You can see there that logo images are :
templates\hot_blankie\images\logo.png
templates\hot_blankie\images\logo1.png
templates\hot_blankie\images\logo2.png
templates\hot_blankie\images\logo3.png
templates\hot_blankie\images\logo4.png
templates\hot_blankie\images\logo5.png
depending on style you use.
To limit height use css classes named as module position names.
templates\hot_blankie\library\logo.png
You can see there that logo images are :
templates\hot_blankie\images\logo.png
templates\hot_blankie\images\logo1.png
templates\hot_blankie\images\logo2.png
templates\hot_blankie\images\logo3.png
templates\hot_blankie\images\logo4.png
templates\hot_blankie\images\logo5.png
depending on style you use.
To limit height use css classes named as module position names.
Please Log in to join the conversation.
Time to create page: 0.130 seconds