• Resolved mertens

    (@mertens)


    Hello all

    I am kind of new to all this, no previous experience in html, php or css, but i do my best, I’m kind of getting there.

    Right now i am designing a website at https://www.artisacrum.nl/

    I’m almost there, i used an existing theme, customized it to my (clients) needs and got the whole thing running. The only small tiny little thing i can’t seem to fix is the height of the sidebar.

    I would like it to be the same height as the content, which is different every time. The content does adjust to the sidebar when it’s not the same height as the sidebar, yet not the other way around. Now i spent quite a couple of hours googling for solutions, but i’m not getting there.

    To get to the point; I want the sidebar to adjust to the height of the content of the page. Can anyone please help me? Would be greatly appreciated!

    style.css is found here: https://www.artisacrum.nl/wp-content/themes/arti/style.css (it’s not clean, there’s still stuff from the theme i ripped it from, but imo nothing is influencing the sidebar’s height)

    and in case needed, the sidebar.php is here: https://www.artisacrum.nl/wp-content/themes/arti/sidebar.php

    If there’s anyone who can help me with this, I am very grateful!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mertens

    (@mertens)

    Anyone? Please?

    I’m getting quite desperate here… I can’t seem to figure out how to fix this. I tried to repeat an image in the background of the sidebar in several ways, but for some reason that won’t do the trick.

    Any kind of help would be great, thanks!

    Nice work if you can get it. ??

    Thread Starter mertens

    (@mertens)

    Well I kind of fixed it finally! Added this in the content div:

    height: 437px;
    overflow-y: scroll;

    Used the same height for the sidebar, and now a scrollbar is added to the content.

    It’s not what I had in mind eventually, but I guess I like this solution even better than what I wanted before.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘equal height of the sidebar & content’ is closed to new replies.