-
AuthorPosts
-
July 6, 2009 at 5:48 pm #142533
How do I set the height of the module position topsl2 where the green “Quotes of the Day” is published? I need the module in that position to be exactly the same height as the slideshow even if the amount of text in the module is not enough to fill it up. I’d also like to stop it from stretching if the text doesn’t fit in the box.
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
July 18, 2009 at 4:13 am #311422Hi
Open templates/ja_olivine/css/template.css file, at about line 1003, find following code:
div.module_hilite ul {
margin:0;
padding:0;
}and change to:
div.module_hilite ul {
height:135px;
margin:0;
padding:0;
}July 20, 2009 at 7:06 am #311594Thanks, but I didn’t get it to work. I tried both IE and Firefox. Are you sure this is the right place to change the code? The height value I entered doesn’t even show up in the sourcecode of the page. Please take a look at the site.
hawver Friendhawver
- Join date:
- February 2008
- Posts:
- 35
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 13 times in 12 posts
July 20, 2009 at 8:55 am #311604Hi naguapot,
The reason why it didn’t work is because JA Developer took the ul inside the div instead of the div itself.
Find this:div.module_hilite {
background: url(http://template15.joomlart.com/ja_olivine/templates/ja_olivine/images/box-hilite-br.gif) no-repeat bottom right;
color: #FFFFFF;
}Add this:
overflow: hidden;
height: 230px;It should look like this:
div.module_hilite {
background: url(http://template15.joomlart.com/ja_olivine/templates/ja_olivine/images/box-hilite-br.gif) no-repeat bottom right;
color: #FFFFFF;
overflow: hidden;
height: 230px;
}overflow: hidden; means that all content that doesn’t fit in the box will become invisible. If you want to have scrollbars for the content that doesn’t fit you can use
overflow: auto;
That should do it, good luck. 🙂
1 user says Thank You to hawver for this useful post
July 21, 2009 at 6:54 am #311683It did make the box the exact height I wanted. Now the only problem’s that the left rounded corner moves together with the text.
How do I fix this?
July 21, 2009 at 8:23 am #311692I figured it out. Just added height to the bottom-left-corner-thing…
div.module_hilite {
background: url(../images/box-hilite-br.gif) no-repeat bottom right;
color: #FFFFFF;
overflow: hidden;
height: 200px;
}div.module_hilite div {
padding: 0;
height: 100%;
background: url(../images/box-hilite-bl.gif) no-repeat bottom left;
} -
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by naguapot 15 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum