Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Sidebar widget title box too narrow

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #239231
    dona70
    Participant

    Site: http://toivalanurheilijat.fi/uusi/
    I have widgets in sidebar, for example: Yhteistyökumppanit
    Title (Yhteistyökumppanit) in the widget’s blue title box goes into two row, but I want it into one row.
    How can I make the title box wider? I all ready put sidebar width: 100%;
    Here is some css-code from my style.css:

    /* ^6.1.2 —————————————————- /
    /
    sidebar ————————————————— /
    /
    ———————————————————– */

    #sidebar {
    color: rgb(153, 153, 153);
    float: right;
    margin-top: 3px;
    padding: 0 11px 0 39px;
    width: 100%;
    max-width: 260px;
    /width: 300px;/
    word-wrap: break-word;
    }

    #sidebar .widget {
    background: rgba(239, 239, 239, .4);
    margin-bottom: 30px;
    }

    #sidebar .widget_text {
    padding: 5px 31px 27px;
    /width: 300px;/
    }

    #sidebar .widget_text h2:first-child {
    left: -31px;
    position: relative;
    top: -5px;
    }

    #239380
    Shikkediel
    Participant

    This is the tricky bit :

    max-width: 260px;
    

    Remove that – and make some minor subsequent adaptations and you should be able to make it as wide as necessary.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.