Padding: Modifying Page Width While Keeping Full-Width Header
-
I’m trying to make my homepage look somewhat like https://www.hammerandtusk.com/newsletter/page/1. This means adding margins on the left and right, and modifying the width of the center divider or margin between the two columns of content. My site is someweekendreading.com.
1. What tweaks do I have to make in the following CSS to keep the header full width and just apply the left and right padding changes to the body of the page?
I’ve used:
‘.contentclass {?padding-left: 20px;}?.contentclass {?padding-right: 20px;}’
It works but obviously adds padding to the entire vertical of the page.2. What is the CSS to add padding (increase the separation) in the middle between the two columns?
Thank you very much for the assistance.
- The topic ‘Padding: Modifying Page Width While Keeping Full-Width Header’ is closed to new replies.