Default sidebar widget alignment problem
-
Hi,
I have a website dedicated to my hobby project on a machine running WordPress 6.8.2, PHP 8.4.12, and OceanWP 4.1.2. In a few words, I am using the free version of Polylang and recently discovered that it does not support widget translation (only legacy ones). I then found this very clever workaround that works quite well. However, if I add a text element (header hx) to the default sidebar, the vertical alignment of the first language is always wrong and inconsistent with the other languages.
In details, I found that the culprit could be this CSS code:
.sidebar-box {
/* margin-bottom:40px; */
}loaded by wp-content/themes/oceanwp/assets/css/style.min.css. So I tried to remove it via
body.myLanguage .sidebar-box {
margin-bottom: 0px;
}The situation has improved, but the vertical alignment of the default sidebar is still incorrect. Could it be a theme issue? If not, do you have any suggestions?
Thank you
The topic ‘Default sidebar widget alignment problem’ is closed to new replies.
