Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • naguapot Friend
    #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 Moderator
    #311422

    Hi

    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;
    }

    naguapot Friend
    #311594

    Thanks, 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 Friend
    #311604

    Hi 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. 🙂

    naguapot Friend
    #311683

    It 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?

    naguapot Friend
    #311692

    I 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;
    }

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  naguapot 14 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum