[wp-trac] [WordPress Trac] #39573: Margin error with Portfolio and no widgets in Twenty Sixteen
WordPress Trac
noreply at wordpress.org
Fri Jan 13 03:35:11 UTC 2017
#39573: Margin error with Portfolio and no widgets in Twenty Sixteen
---------------------------+-----------------------------
Reporter: ashercantrell | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 4.7
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
Using Portfolio projects in Twenty Sixteen on a site with no widgets in
the sidebar leads to some strange margin issues. There's a lot of white
space to the side of the content, making the text start nearly in the
center, like this:
[[Image(https://cldup.com/_TStsYRC4r.png)]]
If you inspect the area, you can see some very odd margins in the CSS:
[[Image(https://cldup.com/lzji2hWK-A.png)]]
If that's difficult to read, it says there's a 389.141 left margin and a
-1111.840 right margin, which is causing the unusual white space.
I did find a workaround: Adding any sidebar widgets, including a blank
text widget, will correct the margin issue:
[[Image(https://cldup.com/1KIYImUndw.png)]]
The margins with the widget(s) in place look like this:
[[Image(https://cldup.com/lzji2hWK-A.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39573>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list