how to widen elements on the page
-
There are a number of bounding boxes surrounding the various elements on the page in twentyseventeen. These containers (wraps) bind elements together which make sense. However, how they interact with each other has been a mystery.
I have spent some time trying to make the entry-content wider. (My customer only wants a 10% margin left and right.) I have tried to make every wrap and div 100% but nothing seems to make a difference.
I also want to raise the top navigation bar to right below the site branding div. This is impossible because the toggle reserves space even though it is not visible (a problem with setting divs to hidden, I believe). Is it possible that the javascript that controls this behaviour skips this part of the code and runs into the navigation bar itself (a simple if…then testing for size of viewport)?
Another curiostity is the top navigation bar does not extend to the width of the page.
Many of the problems arose when I updated to the newer twentyseventeen.
- The topic ‘how to widen elements on the page’ is closed to new replies.