Nav bar positioning and margin with/without Elementor
-
On a fresh local WP instance with WeDocs and Elementor tools and theme, the WeDocs Nav bar presentation is inconsistent. I’m no CSS expert but here’s what I found.
For any section or article saved with Elementor, the Nav bar loses all left margin. For any section or article saved using default WP classic editor, and for the Document titles which are not editable as articles or sections are, the Nav bar presents with a wide left margin.
I have tried several CSS settings in the Elementor child theme. I can push the Elementor-edited articles right, but I cannot figure out how to push the non-Elementor articles/sections/documents all the way to the left. Ultimately the goal is to maintain consistent control over the position and width of the Nav bar regardless of how the article is edited so that the nav bar isn’t jumping all over the screen as you switch between choices.
.wedocs-sidebar {
margin-left: 60px !important;
width: 250px !important; /* This works for adjusting the margin of Elementor-edited articles only */
.elementor .wedocs-sidebar {
margin-left: 60px !important; /* Does not work */Can anyone help point me in the right direction?
- You must be logged in to reply to this topic.