Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hello,
I have seen that sidebar width are in %...
But I do not find where it is possible to modify the page width, or, better if it is possible to make it "liquid"
thanks
Comment | File | Size | Author |
---|---|---|---|
#7 | 1366970-7.patch | 46.93 KB | BhumikaVarshney |
#4 | full-page-width.png | 1.01 MB | hitvika_verma |
#4 | full-page-width.4.patch | 1.28 KB | hitvika_verma |
Comments
Comment #1
gotrice CreditAttribution: gotrice commentedTo Change the width of the page you have to change width for the following classes in style.css or add it to your local.css by override (see DL handbook)
#header {
width: 950px;
}
.slideshow-inner{
width:950px;
}
.slideshow {
width:950px;
}
#slideshow-bottom{
width:950px;
}
#preface-wrapper {
width:950px;
margin:5px auto 0;
}
#wrapper {
width:950px;
}
#bottom-teaser {
width:950px;
}
#bottom-wrapper {
width: 950px;
}
#footer-wrapper {
width: 950px;
}
#footer{
width: 950px;
}
remember the max width is 950px so the only thing you can do is decrease it.
To easily change it in style.css (replace all with 950px to wat ever you want it)
Comment #2
pdeclarens CreditAttribution: pdeclarens commentedHi,
Thanks for your help. I did find in the mean time how change fix width ... but I would rather have it "liquid"...
Do you have a solution?
best regards
Comment #3
pdeclarens CreditAttribution: pdeclarens commentedComment #4
hitvika_verma CreditAttribution: hitvika_verma commentedchange width of following sections
Comment #5
hitvika_verma CreditAttribution: hitvika_verma commentedComment #6
kunalkapoor CreditAttribution: kunalkapoor at OpenSense Labs commentedThe patch above doesn't apply , please provide a correct patch
Comment #7
BhumikaVarshney CreditAttribution: BhumikaVarshney as a volunteer and at OpenSense Labs commenteduploaded patch with updated css in correct file.