Problem with sidebar under content
-
Hi! I was having someone develop a custom WordPress theme for me. They have only got so far with it and for personal reasons are no longer able to complete the project. It’s not live so I’m unable to link to it. I have the files.
The theme has a sidebar widget area and it’s supposed to be to the right of the main content. However, it’s showing underneath instead. I have tried looking into options but truth be told, I have no idea how to code or fix it.
As far as I can see, this is the css styling for the content and sidebar:
main { max-width: 800px; margin: 0 auto; } .content-sidebar-container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; /* Adjust alignment if needed */ } #main { flex-basis: 65%; margin-right: 5%; } .sidebar { flex-basis: 30%; }And the content itself is starts like this:
<div class="content-sidebar-container"> <main id="main" role="main"> <div class="content">Can anyone help me with this? I have zero clue on how to fix this, I only know how to inspect elements on a browser! 😂
Thanks in advance.
The topic ‘Problem with sidebar under content’ is closed to new replies.